Skip to contentSkip to conversation

mxc_i2c: add new i2c subsystem support

U-Boot Philippe Reynes 2 participants 2 messages Sep 7, 2013 – Sep 9, 2013

lore
Share & tools
lore
#0 lore raw

Hi Heiko,

The mxc_i2c driver use the legacy framework. I plan to move this driver to new i2c subsystem (CONFIG_SYS_I2C). Is someone already working on this task ?

If no, I propose to only add new i2c subsystem (and not remove old i2c framework). We could remove the mxc i2c legacy support when all the board using this driver will be updated. What do you think about it ?

Regards,
Philippe

#1 lore raw

Hello Philippe,

Am 07.09.2013 09:41, schrieb Philippe Reynes:

Quoted 4 lines

Hi Heiko,

The mxc_i2c driver use the legacy framework. I plan to move this driver to new i2c subsystem (CONFIG_SYS_I2C).

Great!

Quoted 1 line

Is someone already working on this task ?

I think not ...

Quoted 4 lines

If no, I propose to only add new i2c subsystem (and not remove old i2c framework). We could remove the mxc i2c legacy support when all the board using this driver will be updated. What do you think about it ?

Hmm.. no ... I prefer a patch which port all boards which use this driver to the new framework. It should compiles clean. Just add the board maintainers to cc, so they can test it for you ...

bye,
Heiko

Signature · 2 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany