[PATCH][POWERPC] Update fsl_soc to use cell-index property of I2C nodes

2008-06-02 Thread Timur Tabi
Currently, fsl_i2c_of_init() uses the order of the I2C adapter nodes in the device tree to enumerate the I2C adapters. Instead, let's check for the cell-index property and use it if it exists. This is handy for device drivers that need to identify the I2C adapters by specific numbers. The

Re: [PATCH][POWERPC] Update fsl_soc to use cell-index property of I2C nodes

2008-06-02 Thread Kumar Gala
On Jun 2, 2008, at 3:09 PM, Timur Tabi wrote: Currently, fsl_i2c_of_init() uses the order of the I2C adapter nodes in the device tree to enumerate the I2C adapters. Instead, let's check for the cell-index property and use it if it exists. This is handy for device drivers that need to