Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jochen Friedrich
Date: Friday, February 22, 2008 - 4:16 am

Hi Jean,


I know you don't like the patch from Jon Smirl and you also explained your reasons.
Fortunately, I2c no longer uses numeric device IDs but names. So what are the alternatives?

1. modify the I2c subsystem to accept OF names additionally to I2c names (proposed by Jon smirl).
2. record the I2c name in the dts tree, either as seperate tag (like linux,i2c-name="<i2c-name>")
   or as additional compatible entry (like compatible="...", "linux,<i2c-name>").
3. use a glue layer with a translation map.

What is the preferred way to do this?

Thanks,
Jochen
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Free ..., Jochen Friedrich, (Fri Feb 22, 4:16 am)
Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Free ..., Jochen Friedrich, (Tue Mar 25, 11:46 am)