Re: [i2c] [PATCH 3/3] Add device tree compatible aliases to i2c drivers

2008-01-24 Thread Jon Smirl
On 1/24/08, Scott Wood <[EMAIL PROTECTED]> wrote: > Olof Johansson wrote: > > For example, for an eeprom I might have: "MCHP,24lc128est", > > "MCHP,24xx128", "24c128". The at24 driver (not in mainline yet :) would > > likely match with "24c128", and it would normally not make sense to have > > to l

Re: [i2c] [PATCH 3/3] Add device tree compatible aliases to i2c drivers

2008-01-24 Thread Jon Smirl
On 1/24/08, Olof Johansson <[EMAIL PROTECTED]> wrote: > On Tue, Jan 22, 2008 at 09:09:16PM -0500, Jon Smirl wrote: > > PowerPC device trees use a different naming convention than the Linux > > kernel. Provide alias names for i2c drivers in order to allow them to > > be loaded by device tree name.

Re: [i2c] [PATCH 3/3] Add device tree compatible aliases to i2c drivers

2008-01-24 Thread Scott Wood
Olof Johansson wrote: > For example, for an eeprom I might have: "MCHP,24lc128est", > "MCHP,24xx128", "24c128". The at24 driver (not in mainline yet :) would > likely match with "24c128", and it would normally not make sense to have > to list all specific vendors and models of the device type in qu

Re: [i2c] [PATCH 3/3] Add device tree compatible aliases to i2c drivers

2008-01-24 Thread Olof Johansson
On Tue, Jan 22, 2008 at 09:09:16PM -0500, Jon Smirl wrote: > PowerPC device trees use a different naming convention than the Linux > kernel. Provide alias names for i2c drivers in order to allow them to > be loaded by device tree name. The OF_ID macro ensures that the aliases > are only present in