1. 08 9月, 2011 1 次提交
  2. 01 8月, 2011 3 次提交
  3. 16 7月, 2011 1 次提交
    • P
      mcp23s08: add i2c support · 752ad5e8
      Peter Korsgaard 提交于
      Add i2c bindings for the mcp230xx devices. This is quite a lot simpler
      than the spi one as there's no funky sub addressing done (one struct
      i2c_client per struct gpio_chip).
      
      The mcp23s08_platform_data structure is reused for i2c, even though
      only a single mcp23s08_chip_info structure is needed.
      
      To use, simply fill out a platform_data structure and pass it in
      i2c_board_info, E.G.:
      
      static const struct mcp23s08_platform_data mcp23017_data = {
      	.chip[0] = {
      		.pullups = 0x00ff,
      	},
      	.base = 240,
      };
      
      static struct i2c_board_info __initdata i2c_devs[] = {
      	{ I2C_BOARD_INFO("mcp23017", 0x20),
      	  .platform_data = &smartview_mcp23017_data, },
      	...
      };
      Signed-off-by: NPeter Korsgaard <jacmet@sunsite.dk>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      752ad5e8
  4. 07 7月, 2011 2 次提交
  5. 09 6月, 2011 1 次提交
  6. 08 6月, 2011 1 次提交
  7. 07 6月, 2011 7 次提交
  8. 06 6月, 2011 1 次提交
  9. 04 6月, 2011 1 次提交
  10. 30 5月, 2011 2 次提交
  11. 28 5月, 2011 1 次提交
  12. 27 5月, 2011 6 次提交
  13. 20 5月, 2011 3 次提交
  14. 29 3月, 2011 1 次提交
  15. 28 3月, 2011 1 次提交
  16. 23 3月, 2011 1 次提交
  17. 18 3月, 2011 1 次提交
  18. 12 3月, 2011 1 次提交
  19. 14 1月, 2011 4 次提交
  20. 20 12月, 2010 1 次提交