1. 24 2月, 2014 1 次提交
  2. 06 10月, 2013 3 次提交
  3. 26 9月, 2013 1 次提交
    • F
      ARM: dts: imx53-qsb: Allow usb peripheral mode to work · d39a5834
      Fabio Estevam 提交于
      Trying to use the usb otg port on mx53qsb results in the following error:
      
      $ modprobe g_ether
      using random self ethernet address
      using random host ethernet address
      usb0: HOST MAC 52:0f:8a:1e:aa:09
      usb0: MAC de:f3:70:d8:6c:62
      using random self ethernet address
      using random host ethernet address
      g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
      g_ether gadget: g_ether ready
      
      (Connect the USB cable)
      
      $ ci_hdrc ci_hdrc.0: remove, state 4
      usb usb1: USB disconnect, device number 1
      ci_hdrc ci_hdrc.0: USB bus 1 deregistered
      ci_hdrc ci_hdrc.0: timeout waiting for 00000800 in 11
      
      USB otg port goes to connector J3 (mini USB) and also to the USB combo (J2).
      
      As mx53qsb does not provide a USB ID pin, pass the dr_mode as 'peripheral' so
      that we can have usb device working.
      
      Tested via g_ether.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      d39a5834
  4. 22 8月, 2013 2 次提交
  5. 17 6月, 2013 3 次提交
  6. 09 4月, 2013 2 次提交
    • S
      pinctrl: imx: move hard-coding data into device tree · e1641531
      Shawn Guo 提交于
      Currently, all imx pinctrl drivers maintain a big array of struct
      imx_pin_reg which hard-codes data like register offset and mux mode
      setting for each pin function.  Every time a new imx SoC support is
      added, we need to add such a big mount of data.  With moving to single
      kernel build, it's only matter of time to be blamed on memory consuming.
      
      With DTC pre-processor support in place, the patch moves all these data
      into device tree by redefining the PIN_FUNC_ID in imxXX-pinfunc.h and
      changing the PIN_FUNC_ID parsing code a little bit.
      
      The pin id gets re-numbered based on mux register offset, or config
      register offset if the pin has no mux register, so that kernel can
      identify the pin id from register offsets provided by device tree.
      
      As a bonus point of the change, those arbitrary magic numbers standing
      for particular PIN_FUNC_ID in device tree sources are now replaced by
      macros to improve the readability of dts files.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NDong Aisheng <dong.aisheng@linaro.org>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      e1641531
    • S
      ARM: imx: use #include for all device trees · 36dffd8f
      Shawn Guo 提交于
      Replace /include/ (dtc) with #include (C pre-processor) for all imx DT
      files, so that gcc -E handles the entire include tree, and hence any of
      those files can #include some other file e.g. for constant definitions.
      
      This allows future use of #defines and header files in order to define
      names for various constants, such as pinctrl settings. Use of those
      features will increase the readability of the device tree files.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      36dffd8f
  7. 10 2月, 2013 1 次提交
  8. 16 11月, 2012 2 次提交
  9. 11 9月, 2012 1 次提交
  10. 24 8月, 2012 2 次提交
  11. 11 5月, 2012 4 次提交
  12. 14 12月, 2011 2 次提交
  13. 18 10月, 2011 1 次提交