[U-Boot] [PATCH v3 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

Lukasz Majewski l.majewski at samsung.com
Tue Sep 4 10:23:39 CEST 2012


Hi Heiko,

> Common definition of I2C_{0|1} I2C buses is provided at <i2c.h>.

> +/* Multi I2C busses handling */
> +#ifdef CONFIG_SOFT_I2C_MULTI_BUS
> +enum {
> +	I2C_0,
> +	I2C_1,
> +};
> +

I've got a second thought about this numbering.
In the case of Trats:

I2C_0 in reality is I2C_5 (this from schematic/chip numbergin) and I2C_1
is I2C_9.

This numbering (I2C_5 and I2C_9) was proposed for v2 of this patch.

I will prepare v4 of this patch with a palatable I2C numbering solution.


-- 
Best regards,

Lukasz Majewski

Samsung Poland R&D Center | Linux Platform Group


More information about the U-Boot mailing list