1. 09 4月, 2013 3 次提交
    • G
      ARM: imx51: Add pinctrl for ecspi2 · a15ac4a6
      Gwenhael Goavec-Merou 提交于
      Add ecspi2 group of pins for imx51.
      Signed-off-by: NGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      a15ac4a6
    • 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
  2. 10 2月, 2013 2 次提交
  3. 22 11月, 2012 2 次提交
  4. 16 11月, 2012 3 次提交
  5. 15 10月, 2012 1 次提交
    • S
      i2c: imx: remove cpu_is_xxx by using platform_device_id · 5bdfba29
      Shawn Guo 提交于
      This is some amount of work left/forgot from device tree conversion.
      Instead of checking cpu_is_xxx to determine the controller type, the
      driver should use platform_device_id, which should match the device
      tree compatible string.
      
      The patch changes the driver to use platform_device_id rather than
      cpu_is_xxx to determine the controller type/version.  It also updates
      the platform code and device tree source accordingly.
      
      As the result, mach/hardware.h inclusion gets removed from the driver.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Wolfram Sang <w.sang@pengutronix.de>
      Cc: linux-i2c@vger.kernel.org
      5bdfba29
  6. 11 9月, 2012 1 次提交
  7. 24 8月, 2012 3 次提交
  8. 07 8月, 2012 1 次提交
  9. 18 7月, 2012 1 次提交
  10. 07 7月, 2012 2 次提交
  11. 11 5月, 2012 2 次提交
  12. 14 12月, 2011 2 次提交
  13. 18 10月, 2011 1 次提交