[PATCH 1/1] at91sam9x5ek: add at24c512 support

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 12 02:43:07 EST 2012


On Sat, Nov 03, 2012 at 10:02:02PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
> Hi,
> 
> 	this depends on the at24 support patch serie + at91sam9x5ek add i2c
> 	with qt1070 support
> 
> The following changes since commit 9277684dbac6ae0b66f23bcb730a9737d22a335c:
> 
>   eeprom: add at24 support (2012-11-03 13:41:58 +0800)
> 
> are available in the git repository at:
> 
>   git://git.jcrosoft.org/barebox.git delivery/at91_i2c
> 
> for you to fetch changes up to 706c6d5c382803959e89218bb0ffb0890cf885cd:
> 
>   at91sam9x5ek: add at24c512 support (2012-11-03 13:44:16 +0800)

Applied, thanks

Sascha

> 
> Jean-Christophe PLAGNIOL-VILLARD (1):
>       at91sam9x5ek: add at24c512 support
> 
>  arch/arm/boards/at91sam9x5ek/init.c     |    2 ++
>  arch/arm/configs/at91sam9x5ek_defconfig |    1 +
>  2 files changed, 3 insertions(+)
> 
> Best Regards,
> J.
> 
> diff --git a/arch/arm/boards/at91sam9x5ek/init.c b/arch/arm/boards/at91sam9x5ek/init.c
> index dbb9bb5..dc8853e 100644
> --- a/arch/arm/boards/at91sam9x5ek/init.c
> +++ b/arch/arm/boards/at91sam9x5ek/init.c
> @@ -122,6 +122,8 @@ static struct i2c_board_info i2c_devices[] = {
>  	{
>  		.platform_data = &qt1070_pdata,
>  		I2C_BOARD_INFO("qt1070", 0x1b),
> +	}, {
> +		I2C_BOARD_INFO("24c512", 0x51)
>  	},
>  };
>  
> diff --git a/arch/arm/configs/at91sam9x5ek_defconfig b/arch/arm/configs/at91sam9x5ek_defconfig
> index 3e66c44..cbbd780 100644
> --- a/arch/arm/configs/at91sam9x5ek_defconfig
> +++ b/arch/arm/configs/at91sam9x5ek_defconfig
> @@ -67,6 +67,7 @@ CONFIG_DISK_WRITE=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
>  CONFIG_LED_TRIGGERS=y
> +CONFIG_EEPROM_AT24=y
>  CONFIG_KEYBOARD_QT1070=y
>  CONFIG_W1=y
>  CONFIG_W1_MASTER_GPIO=y
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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 |



More information about the barebox mailing list