* [U-Boot-Users] Correct place for new drivers?
@ 2007-06-11 13:47 Mike Panetta
2007-06-11 13:59 ` Stefan Roese
0 siblings, 1 reply; 2+ messages in thread
From: Mike Panetta @ 2007-06-11 13:47 UTC (permalink / raw)
To: u-boot
I want to add some I2C device drivers to my tree and I was wondering
where the correct place to put them would be so any patches I make in
future would be accepted.
I was thinking drivers/i2c (which does not exist) is that ok? I have
the Philips 2005-1 I2C demo board and I wanted to add support for some
of the devices on there which could possibly be on future devices to
control LED's or power or whatever. I am thinking about eventually
building a board around the AVR32 processor and I may use one or 2 of
these devices, so they would not be added to the tree for no reason (and
surly someone else out there uses I2C devices other then RTC's on their
boards).
I would also like to eventually add support for the Atmel board
controller on the NGW100 as soon as I figure out how it works. :)
So basically where is the best place to put a load of I2C drivers?
Thanks,
Mike Panetta
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Correct place for new drivers?
2007-06-11 13:47 [U-Boot-Users] Correct place for new drivers? Mike Panetta
@ 2007-06-11 13:59 ` Stefan Roese
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2007-06-11 13:59 UTC (permalink / raw)
To: u-boot
Hi Mike,
On Monday 11 June 2007, Mike Panetta wrote:
> I want to add some I2C device drivers to my tree and I was wondering
> where the correct place to put them would be so any patches I make in
> future would be accepted.
>
> I was thinking drivers/i2c (which does not exist) is that ok? I have
> the Philips 2005-1 I2C demo board and I wanted to add support for some
> of the devices on there which could possibly be on future devices to
> control LED's or power or whatever. I am thinking about eventually
> building a board around the AVR32 processor and I may use one or 2 of
> these devices, so they would not be added to the tree for no reason (and
> surly someone else out there uses I2C devices other then RTC's on their
> boards).
>
> I would also like to eventually add support for the Atmel board
> controller on the NGW100 as soon as I figure out how it works. :)
>
> So basically where is the best place to put a load of I2C drivers?
I would suggest to borrow again from the Linux kernel here and put the bus
drivers (like ppc4xx-i2c or mpc8xx-i2c) into:
drivers/i2c/busses/*
and put the device drivers (like your Philips I2C I/O expander device) into:
drivers/i2c/chips/*
Any other suggestions?
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-11 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-11 13:47 [U-Boot-Users] Correct place for new drivers? Mike Panetta
2007-06-11 13:59 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox