Skip to content
Snippets Groups Projects
  1. Jul 06, 2007
  2. Jul 02, 2007
  3. Jun 19, 2007
  4. Jun 12, 2007
  5. Jun 11, 2007
  6. Jun 09, 2007
  7. Jun 03, 2007
  8. Jun 01, 2007
  9. May 31, 2007
  10. May 24, 2007
  11. May 21, 2007
  12. May 17, 2007
  13. May 16, 2007
  14. May 15, 2007
  15. May 14, 2007
  16. May 12, 2007
  17. May 11, 2007
  18. May 09, 2007
  19. May 08, 2007
  20. May 07, 2007
  21. May 05, 2007
  22. May 02, 2007
  23. May 01, 2007
    • Till Harbaum's avatar
      i2c: New i2c-tiny-usb bus driver · e8c76eed
      Till Harbaum authored
      Add a driver for the i2c-tiny-usb interface. This is a simple
      do-it-yourself USB to I2C interface targeted at experimental and
      home use. See the i2c-tiny-usb homepage for hardware details:
      http://www.harbaum.org/till/i2c_tiny_usb
      
      
      
      Signed-off-by: default avatarTill Harbaum <till@harbaum.org>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      e8c76eed
    • Haavard Skinnemoen's avatar
      i2c: Bitbanging I2C bus driver using the GPIO API · 1c23af90
      Haavard Skinnemoen authored
      
      This is a very simple bitbanging I2C bus driver utilizing the new
      arch-neutral GPIO API. Useful for chips that don't have a built-in
      I2C controller, additional I2C busses, or testing purposes.
      
      To use, include something similar to the following in the
      board-specific setup code:
      
        #include <linux/i2c-gpio.h>
      
        static struct i2c_gpio_platform_data i2c_gpio_data = {
      	.sda_pin	= GPIO_PIN_FOO,
      	.scl_pin	= GPIO_PIN_BAR,
        };
        static struct platform_device i2c_gpio_device = {
      	.name		= "i2c-gpio",
      	.id		= 0,
      	.dev		= {
      		.platform_data	= &i2c_gpio_data,
      	},
        };
      
      Register this platform_device, set up the I2C pins as GPIO if
      required and you're ready to go. This will use default values for
      udelay and timeout, and will work with GPIO hardware that does not
      support open drain mode, but allows sensing of the SDA and SCL lines
      even when they are being driven.
      
      Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      1c23af90
Loading