* [PATCH 0/1] misc: Add Tunnel creek In-Vehicle I2C loader driver @ 2010-09-08 14:41 Richard Röjfors 2010-09-29 8:38 ` Richard Röjfors 0 siblings, 1 reply; 6+ messages in thread From: Richard Röjfors @ 2010-09-08 14:41 UTC (permalink / raw) To: linux-i2c-u79uwXL29TY76Z2rM5mHXA Cc: khali-PUYAD+kWke1g9hUCZPvPmw, ben-linux-elnMNo+KYs3YtjvyW6yDsg To follow is a patch adding a driver which adds devices to the I2C bus on tunnel creek in-vehicle development boards. I hope the driver can be upstreamed via the I2C mailing list, since I can't find any specific misc mailing list. Thanks --Richard ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/1] misc: Add Tunnel creek In-Vehicle I2C loader driver 2010-09-08 14:41 [PATCH 0/1] misc: Add Tunnel creek In-Vehicle I2C loader driver Richard Röjfors @ 2010-09-29 8:38 ` Richard Röjfors [not found] ` <4CA2FB10.2020605-gfIc91nka+FZroRs9YW3xA@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Richard Röjfors @ 2010-09-29 8:38 UTC (permalink / raw) To: linux-i2c-u79uwXL29TY76Z2rM5mHXA Cc: khali-PUYAD+kWke1g9hUCZPvPmw, ben-linux-elnMNo+KYs3YtjvyW6yDsg On 09/08/2010 04:41 PM, Richard Röjfors wrote: > To follow is a patch adding a driver which adds devices to the I2C > bus on tunnel creek in-vehicle development boards. I never got any feedback on my patch. It doesn't seem like misc has it own mailinglist so I suppose this is where it should be posted(?) The reason for the driver is the lack of board config in X86 so there is simply no way to define the devices on the I2C bus. It can not be done from the user space, since GPIO pins need to be turned into interrupts numbers and passed in the platform data to the I2C devices. Any suggestions how to move forward to get such driver into the kernel? Regards Richard ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <4CA2FB10.2020605-gfIc91nka+FZroRs9YW3xA@public.gmane.org>]
* Re: [PATCH 0/1] misc: Add Tunnel creek In-Vehicle I2C loader driver [not found] ` <4CA2FB10.2020605-gfIc91nka+FZroRs9YW3xA@public.gmane.org> @ 2010-10-15 8:49 ` Jean Delvare [not found] ` <20101015104902.1047c978-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Jean Delvare @ 2010-10-15 8:49 UTC (permalink / raw) To: Richard Röjfors Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, ben-linux-elnMNo+KYs3YtjvyW6yDsg Hi Richard, On Wed, 29 Sep 2010 10:38:40 +0200, Richard Röjfors wrote: > On 09/08/2010 04:41 PM, Richard Röjfors wrote: > > To follow is a patch adding a driver which adds devices to the I2C > > bus on tunnel creek in-vehicle development boards. > > I never got any feedback on my patch. > > It doesn't seem like misc has it own mailinglist so I suppose this is > where it should be posted(?) > > The reason for the driver is the lack of board config in X86 so there is > simply no way to define the devices on the I2C bus. It can not be done > from the user space, since GPIO pins need to be turned into interrupts > numbers and passed in the platform data to the I2C devices. > > Any suggestions how to move forward to get such driver into the kernel? I don't like the idea of such "loader" drivers. If we need to have such a separate driver for every embedded x86 system, things will get pretty ugly quickly. I know we already have at least two somewhat similar drivers (i2c-amd756-s4882 and i2c-nforce2-s4985) but I really would like to get rid of them, not add more of the same type. My impression is that x86 doesn't have board config because it wasn't so far an architecture used for embedded systems. But times are changing, and now x86 starts being used for embedded systems. Instead of coming up with a new way of handling I2C device instantiation ("loader" drivers), I think we simply want to add board config support to x86 as many other architectures already have. As a matter of fact, I have been discussing this with Intel people recently: http://marc.info/?t=128683908500001&r=1&w=2 It is pretty clear that Intel have added board config support to x86 already, even though that change may not be public yet. So I can only encourage you to discuss this with Jacob Pan, Feng Tang and Alan Cox. If you need a temporary solution until then, I encourage you to simply add your code to the I2C bus driver your system is using. We already have examples of this in i2c-i801, i2c-ocores, i2c-powermac, i2c-taos-evm and i2c-xiic, so at least you wouldn't be doing something new. -- Jean Delvare ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20101015104902.1047c978-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>]
* Re: [PATCH 0/1] misc: Add Tunnel creek In-Vehicle I2C loader driver [not found] ` <20101015104902.1047c978-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org> @ 2010-10-15 12:10 ` Mark Brown [not found] ` <20101015121042.GA27369-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Mark Brown @ 2010-10-15 12:10 UTC (permalink / raw) To: Jean Delvare Cc: Richard R?jfors, linux-i2c-u79uwXL29TY76Z2rM5mHXA, ben-linux-elnMNo+KYs3YtjvyW6yDsg On Fri, Oct 15, 2010 at 10:49:02AM +0200, Jean Delvare wrote: > As a matter of fact, I have been discussing this with Intel people > recently: > http://marc.info/?t=128683908500001&r=1&w=2 > It is pretty clear that Intel have added board config support to x86 > already, even though that change may not be public yet. So I can only > encourage you to discuss this with Jacob Pan, Feng Tang and Alan Cox. That stuff is very specific to the Moorestown CPUs and a new BIOS type they have, the board_info part was posted on lkml about two weeks ago if you search through the archives. ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20101015121042.GA27369-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>]
* Re: [PATCH 0/1] misc: Add Tunnel creek In-Vehicle I2C loader driver [not found] ` <20101015121042.GA27369-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> @ 2010-10-15 12:21 ` Jean Delvare [not found] ` <20101015142130.1cf14629-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Jean Delvare @ 2010-10-15 12:21 UTC (permalink / raw) To: Mark Brown Cc: Richard Rojfors, linux-i2c-u79uwXL29TY76Z2rM5mHXA, ben-linux-elnMNo+KYs3YtjvyW6yDsg Hi Mark On Fri, 15 Oct 2010 13:10:43 +0100, Mark Brown wrote: > On Fri, Oct 15, 2010 at 10:49:02AM +0200, Jean Delvare wrote: > > > As a matter of fact, I have been discussing this with Intel people > > recently: > > http://marc.info/?t=128683908500001&r=1&w=2 > > It is pretty clear that Intel have added board config support to x86 > > already, even though that change may not be public yet. So I can only > > encourage you to discuss this with Jacob Pan, Feng Tang and Alan Cox. > > That stuff is very specific to the Moorestown CPUs and a new BIOS type > they have, the board_info part was posted on lkml about two weeks ago if > you search through the archives. My point still holds, regardless of what exactly Intel has in the works: if board config is now needed on some x86 systems, then support for it should be added in the same way other architectures did before. I can't see any reason why x86 would be different. -- Jean Delvare ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20101015142130.1cf14629-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>]
* Re: [PATCH 0/1] misc: Add Tunnel creek In-Vehicle I2C loader driver [not found] ` <20101015142130.1cf14629-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org> @ 2010-10-15 12:30 ` Mark Brown 0 siblings, 0 replies; 6+ messages in thread From: Mark Brown @ 2010-10-15 12:30 UTC (permalink / raw) To: Jean Delvare Cc: Richard Rojfors, linux-i2c-u79uwXL29TY76Z2rM5mHXA, ben-linux-elnMNo+KYs3YtjvyW6yDsg On Fri, Oct 15, 2010 at 02:21:30PM +0200, Jean Delvare wrote: > My point still holds, regardless of what exactly Intel has in the > works: if board config is now needed on some x86 systems, then support > for it should be added in the same way other architectures did before. > I can't see any reason why x86 would be different. Oh, absolutely - I'm just saying that the existing Intel work isn't useful for this as it's tied to Moorestown and SFI. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-10-15 12:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-08 14:41 [PATCH 0/1] misc: Add Tunnel creek In-Vehicle I2C loader driver Richard Röjfors
2010-09-29 8:38 ` Richard Röjfors
[not found] ` <4CA2FB10.2020605-gfIc91nka+FZroRs9YW3xA@public.gmane.org>
2010-10-15 8:49 ` Jean Delvare
[not found] ` <20101015104902.1047c978-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2010-10-15 12:10 ` Mark Brown
[not found] ` <20101015121042.GA27369-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2010-10-15 12:21 ` Jean Delvare
[not found] ` <20101015142130.1cf14629-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2010-10-15 12:30 ` Mark Brown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).