[PATCH] ARM i.MX: Add I2C EEPROM

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Feb 20 02:28:57 PST 2015


> On Feb 20, 2015, at 5:22 AM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> 
> On Thu, Feb 19, 2015 at 09:38:27PM +0100, Michael Grzeschik wrote:
>> From: Jan Luebbe <jlu at pengutronix.de>
>> 
>> Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
>> Signed-off-by: Michael Grzeschik <m.grzeschik at pengutronix.de>
>> ---
>> arch/arm/boards/guf-vincell/board.c | 3 +++
>> 1 file changed, 3 insertions(+)
>> 
>> diff --git a/arch/arm/boards/guf-vincell/board.c b/arch/arm/boards/guf-vincell/board.c
>> index bafde2c..515f178 100644
>> --- a/arch/arm/boards/guf-vincell/board.c
>> +++ b/arch/arm/boards/guf-vincell/board.c
>> @@ -263,6 +263,9 @@ static struct i2c_board_info i2c_devices[] = {
>> 	{
>> 		I2C_BOARD_INFO("da9053", 0x48),
>> 	},
>> +	{
>> +		I2C_BOARD_INFO("24c32", 0x50),
>> +	},
> 
> Are you sure this REALLY works properly without converting the board to
> device tree support? ;)

read will work but write will need pdata info

Best Regards,
J.
> 
> Sascha
> 
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox




More information about the barebox mailing list