1. 12 7月, 2017 1 次提交
    • S
      imx: reorganize IMX code as other SOCs · 552a848e
      Stefano Babic 提交于
      Change is consistent with other SOCs and it is in preparation
      for adding SOMs. SOC's related files are moved from cpu/ to
      mach-imx/<SOC>.
      
      This change is also coherent with the structure in kernel.
      Signed-off-by: NStefano Babic <sbabic@denx.de>
      
      CC: Fabio Estevam <fabio.estevam@nxp.com>
      CC: Akshay Bhat <akshaybhat@timesys.com>
      CC: Ken Lin <Ken.Lin@advantech.com.tw>
      CC: Marek Vasut <marek.vasut@gmail.com>
      CC: Heiko Schocher <hs@denx.de>
      CC: "Sébastien Szymanski" <sebastien.szymanski@armadeus.com>
      CC: Christian Gmeiner <christian.gmeiner@gmail.com>
      CC: Stefan Roese <sr@denx.de>
      CC: Patrick Bruenn <p.bruenn@beckhoff.com>
      CC: Troy Kisky <troy.kisky@boundarydevices.com>
      CC: Nikita Kiryanov <nikita@compulab.co.il>
      CC: Otavio Salvador <otavio@ossystems.com.br>
      CC: "Eric Bénard" <eric@eukrea.com>
      CC: Jagan Teki <jagan@amarulasolutions.com>
      CC: Ye Li <ye.li@nxp.com>
      CC: Peng Fan <peng.fan@nxp.com>
      CC: Adrian Alonso <adrian.alonso@nxp.com>
      CC: Alison Wang <b18965@freescale.com>
      CC: Tim Harvey <tharvey@gateworks.com>
      CC: Martin Donnelly <martin.donnelly@ge.com>
      CC: Marcin Niestroj <m.niestroj@grinn-global.com>
      CC: Lukasz Majewski <lukma@denx.de>
      CC: Adam Ford <aford173@gmail.com>
      CC: "Albert ARIBAUD (3ADEV)" <albert.aribaud@3adev.fr>
      CC: Boris Brezillon <boris.brezillon@free-electrons.com>
      CC: Soeren Moch <smoch@web.de>
      CC: Richard Hu <richard.hu@technexion.com>
      CC: Wig Cheng <wig.cheng@technexion.com>
      CC: Vanessa Maegima <vanessa.maegima@nxp.com>
      CC: Max Krummenacher <max.krummenacher@toradex.com>
      CC: Stefan Agner <stefan.agner@toradex.com>
      CC: Markus Niebel <Markus.Niebel@tq-group.com>
      CC: Breno Lima <breno.lima@nxp.com>
      CC: Francesco Montefoschi <francesco.montefoschi@udoo.org>
      CC: Jaehoon Chung <jh80.chung@samsung.com>
      CC: Scott Wood <oss@buserror.net>
      CC: Joe Hershberger <joe.hershberger@ni.com>
      CC: Anatolij Gustschin <agust@denx.de>
      CC: Simon Glass <sjg@chromium.org>
      CC: "Andrew F. Davis" <afd@ti.com>
      CC: "Łukasz Majewski" <l.majewski@samsung.com>
      CC: Patrice Chotard <patrice.chotard@st.com>
      CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Hans de Goede <hdegoede@redhat.com>
      CC: Masahiro Yamada <yamada.masahiro@socionext.com>
      CC: Stephen Warren <swarren@nvidia.com>
      CC: Andre Przywara <andre.przywara@arm.com>
      CC: "Álvaro Fernández Rojas" <noltari@gmail.com>
      CC: York Sun <york.sun@nxp.com>
      CC: Xiaoliang Yang <xiaoliang.yang@nxp.com>
      CC: Chen-Yu Tsai <wens@csie.org>
      CC: George McCollister <george.mccollister@gmail.com>
      CC: Sven Ebenfeld <sven.ebenfeld@gmail.com>
      CC: Filip Brozovic <fbrozovic@gmail.com>
      CC: Petr Kulhavy <brain@jikos.cz>
      CC: Eric Nelson <eric@nelint.com>
      CC: Bai Ping <ping.bai@nxp.com>
      CC: Anson Huang <Anson.Huang@nxp.com>
      CC: Sanchayan Maity <maitysanchayan@gmail.com>
      CC: Lokesh Vutla <lokeshvutla@ti.com>
      CC: Patrick Delaunay <patrick.delaunay@st.com>
      CC: Gary Bisson <gary.bisson@boundarydevices.com>
      CC: Alexander Graf <agraf@suse.de>
      CC: u-boot@lists.denx.de
      Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
      Reviewed-by: NChristian Gmeiner <christian.gmeiner@gmail.com>
      552a848e
  2. 05 6月, 2017 1 次提交
  3. 01 6月, 2017 1 次提交
    • S
      dm: Rename dev_addr..() functions · a821c4af
      Simon Glass 提交于
      These support the flat device tree. We want to use the dev_read_..()
      prefix for functions that support both flat tree and live tree. So rename
      the existing functions to avoid confusion.
      
      In the end we will have:
      
         1. dev_read_addr...()    - works on devices, supports flat/live tree
         2. devfdt_get_addr...()  - current functions, flat tree only
         3. of_get_address() etc. - new functions, live tree only
      
      All drivers will be written to use 1. That function will in turn call
      either 2 or 3 depending on whether the flat or live tree is in use.
      
      Note this involves changing some dead code - the imx_lpi2c.c file.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      a821c4af
  4. 08 2月, 2017 1 次提交
    • S
      dm: core: Replace of_offset with accessor · e160f7d4
      Simon Glass 提交于
      At present devices use a simple integer offset to record the device tree
      node associated with the device. In preparation for supporting a live
      device tree, which uses a node pointer instead, refactor existing code to
      access this field through an inline function.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      e160f7d4
  5. 17 1月, 2017 2 次提交
    • P
      usb: ehci-mx6: handle vbus-supply · fcf9f9f9
      Peng Fan 提交于
      Drop board_ehci_power when dm usb used and switch to use
      regulator api to handle vbus.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Stefano Babic <sbabic@denx.de>
      fcf9f9f9
    • P
      usb: ehci-mx6: implement ofdata_to_platdata · cccbddc3
      Peng Fan 提交于
      Implement ofdata_to_platdata to set the type to host or device.
       - Check "dr-mode" property.
       - If there is no "dr-mode", check phy_ctrl for i.MX6
         and phy_status for i.MX7
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Stefano Babic <sbabic@denx.de>
      cccbddc3
  6. 24 9月, 2016 1 次提交
  7. 08 8月, 2016 1 次提交
    • P
      dm: ehci-mx6: support driver model · bb42fb4f
      Peng Fan 提交于
      Support driver model for ehci mx6 driver.
      Consolidate code to be shared between DM and non-DM, such as
      introducing ehci_mx6_common_init.
      For simplicity, some old fasion code are keeped for DM usage,
      such as board_ehci_power and board_usb_phy_mode. And 'dr-mode',
      usbphy and vbus handling code for DM is not added now.
      These will be added in future patches.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
      Cc: Stefan Agner <stefan@agner.ch>
      Cc: Simon Glass <sjg@chromium.org>
      bb42fb4f
  8. 20 7月, 2016 2 次提交
  9. 25 6月, 2016 2 次提交
  10. 07 5月, 2016 1 次提交
    • S
      usb: ehci-mx6: allow board_ehci_hcd_init to fail · 79d867c2
      Stefan Agner 提交于
      There could be runtime determined board specific reason why a EHCI
      initialization fails (e.g. ENODEV if a Port is not available). In
      this case, properly return the error code.
      While at it, that function (board_ehci_hcd_init) has actually two
      documentation blocks... Use the correct function name for the
      documentation block of board_usb_phy_mode.
      Signed-off-by: NStefan Agner <stefan@agner.ch>
      79d867c2
  11. 02 4月, 2016 1 次提交
  12. 25 1月, 2016 1 次提交
  13. 20 8月, 2015 4 次提交
  14. 15 11月, 2014 1 次提交
    • P
      usb:ehci-mx6 add phy mode query function · 229dbba9
      Peng Fan 提交于
      usb_phy_enable should return status bit, but not phy mode bit, thus
      add a new function usb_phy_mode to query the PHY for it's mode and
      make usb_phy_enable just return 0 but not 'phy_ctrl & USBPHY_CTRL_OTG_ID'.
      
      Include a new board weak function board_usb_phy_mode. If board code
      does not reimplement this function, it just call usb_phy_mode and return
      usb_phy_mode's return value. The reason to include such a weak function
      is: " SOC OTG core <--connect--> board HOST port, but no pin id for
      the board host port, so board can not use usb_phy_mode to return the
      phy mode, but define it's own rule."
      Signed-off-by: NPeng Fan <Peng.Fan@freescale.com>
      Signed-off-by: NYe Li <B37916@freescale.com>
      229dbba9
  15. 29 9月, 2014 1 次提交
    • Y
      usb: ehci-mx6: Rename the USB register base address · 5546ad07
      Ye.Li 提交于
      The mx6sl/mx6sx has 2 OTG and 1 host. So they have name
      "USBO2H_USB_BASE_ADDR" in imx-regs.h. The driver hard codes
      the USB base address name to "USBOH3", which causes the driver
      failed to build for mx6sl/mx6sx.
      
      This patch uniform the address name to "USB_BASE_ADDR" for all
      mx6 series.
      Signed-off-by: NYe.Li <B37916@freescale.com>
      5546ad07
  16. 21 10月, 2013 2 次提交
  17. 24 7月, 2013 1 次提交
  18. 07 3月, 2013 1 次提交
  19. 16 11月, 2012 1 次提交
  20. 16 10月, 2012 1 次提交
  21. 31 7月, 2012 1 次提交
  22. 15 5月, 2012 1 次提交
  23. 27 3月, 2012 2 次提交