Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-10 Thread Jean Delvare
On Fri, 9 Mar 2007 11:30:12 -0800, David Brownell wrote: > > --- a/include/linux/i2c-id.h > > +++ b/include/linux/i2c-id.h > > @@ -194,6 +194,7 @@ > > #define I2C_HW_B_EM28XX0x01001f /* em28xx video capture cards > > */ > > #define I2C_HW_B_CX2341X 0x010020 /* Conexant CX2341X

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-10 Thread Jean Delvare
On Fri, 9 Mar 2007 11:30:12 -0800, David Brownell wrote: --- a/include/linux/i2c-id.h +++ b/include/linux/i2c-id.h @@ -194,6 +194,7 @@ #define I2C_HW_B_EM28XX0x01001f /* em28xx video capture cards */ #define I2C_HW_B_CX2341X 0x010020 /* Conexant CX2341X MPEG encoder

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread David Brownell
On Friday 09 March 2007 12:43 pm, Håvard Skinnemoen wrote: > On Fri, March 9, 2007 20:30, David Brownell wrote: > > On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: > >> This is a very simple bitbanging i2c bus driver utilizing the new > >> arch-neutral GPIO API. Useful for chips that

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread David Brownell
On Friday 09 March 2007 12:08 pm, Russell King wrote: > On Fri, Mar 09, 2007 at 11:30:12AM -0800, David Brownell wrote: > > On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: > > > This is a very simple bitbanging i2c bus driver utilizing the new > > > arch-neutral GPIO API. Useful for

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread Håvard Skinnemoen
On Fri, March 9, 2007 20:30, David Brownell wrote: > On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: >> 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

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread Russell King
On Fri, Mar 09, 2007 at 11:30:12AM -0800, David Brownell wrote: > On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: > > 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

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread David Brownell
On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: > 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. That's the right idea! But remember

[PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread Haavard Skinnemoen
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

[PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread Haavard Skinnemoen
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

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread David Brownell
On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: 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. That's the right idea! But remember that

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread Russell King
On Fri, Mar 09, 2007 at 11:30:12AM -0800, David Brownell wrote: On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: 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

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread Håvard Skinnemoen
On Fri, March 9, 2007 20:30, David Brownell wrote: On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: 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

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread David Brownell
On Friday 09 March 2007 12:08 pm, Russell King wrote: On Fri, Mar 09, 2007 at 11:30:12AM -0800, David Brownell wrote: On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: This is a very simple bitbanging i2c bus driver utilizing the new arch-neutral GPIO API. Useful for chips that

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread David Brownell
On Friday 09 March 2007 12:43 pm, Håvard Skinnemoen wrote: On Fri, March 9, 2007 20:30, David Brownell wrote: On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: This is a very simple bitbanging i2c bus driver utilizing the new arch-neutral GPIO API. Useful for chips that don't have