1. 12 8月, 2011 3 次提交
  2. 21 12月, 2010 1 次提交
  3. 03 12月, 2010 1 次提交
    • A
      iMX51: introduce IMX_GPIO_NR · 96886c43
      Arnaud Patard (Rtp) 提交于
      Currently, to define a GPIO number, we're using something like :
      
      #define EFIKAMX_PCBID0         (2*32 + 16)
      
      to define GPIO 3 16.
      
      This is not really readable and it's error prone imho (note the 3 vs 2).
      So, I'm introducing a new macro to define this in a better way. Now, the
      code sample become :
      
      #define EFIKAMX_PCBID0         IMX_GPIO_NR(3, 16)
      
      v2:
      - move to gpio.h
      - add parens & spaces
      - switch to IMX_GPIO_NR instead of MX51_GPIO_NR
      Signed-off-by: NArnaud Patard <arnaud.patard@rtp-net.org>
      Cc: Amit Kucheria <amit.kucheria@linaro.org>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Eric Bénard <eric@eukrea.com>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      96886c43
  4. 11 8月, 2010 1 次提交
  5. 28 7月, 2010 1 次提交
  6. 26 7月, 2010 1 次提交
  7. 07 5月, 2009 1 次提交
  8. 18 12月, 2008 1 次提交
  9. 07 8月, 2008 2 次提交
  10. 05 7月, 2008 1 次提交
  11. 02 4月, 2006 2 次提交