mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM i.MX: Add I2C EEPROM
@ 2015-02-19 20:38 Michael Grzeschik
  2015-02-19 21:22 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Grzeschik @ 2015-02-19 20:38 UTC (permalink / raw)
  To: barebox

From: Jan Luebbe <jlu@pengutronix.de>

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@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),
+	},
 };
 
 static int vincell_devices_init(void)
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM i.MX: Add I2C EEPROM
  2015-02-19 20:38 [PATCH] ARM i.MX: Add I2C EEPROM Michael Grzeschik
@ 2015-02-19 21:22 ` Sascha Hauer
  2015-02-20 10:28   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2015-02-19 21:22 UTC (permalink / raw)
  To: Michael Grzeschik; +Cc: barebox

On Thu, Feb 19, 2015 at 09:38:27PM +0100, Michael Grzeschik wrote:
> From: Jan Luebbe <jlu@pengutronix.de>
> 
> Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
> Signed-off-by: Michael Grzeschik <m.grzeschik@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? ;)

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM i.MX: Add I2C EEPROM
  2015-02-19 21:22 ` Sascha Hauer
@ 2015-02-20 10:28   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2015-02-20 10:28 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox


> On Feb 20, 2015, at 5:22 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> 
> On Thu, Feb 19, 2015 at 09:38:27PM +0100, Michael Grzeschik wrote:
>> From: Jan Luebbe <jlu@pengutronix.de>
>> 
>> Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
>> Signed-off-by: Michael Grzeschik <m.grzeschik@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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-20 10:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-19 20:38 [PATCH] ARM i.MX: Add I2C EEPROM Michael Grzeschik
2015-02-19 21:22 ` Sascha Hauer
2015-02-20 10:28   ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox