[PATCH] i2c: at91: add at91sam9x5 config

Bo Shen voice.shen at atmel.com
Mon Aug 4 00:34:40 PDT 2014


Hi Raphaël Poggi,
   Actually, this is a build fix.

On 08/01/2014 09:26 PM, Raphaël Poggi wrote:
> Signed-off-by: Raphaël Poggi <poggi.raph at gmail.com>

Acked-by: Bo Shen <voice.shen at atmel.com>

> ---
>   drivers/i2c/busses/i2c-at91.c |    6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c
> index 399f6a9..4aa4e4e 100644
> --- a/drivers/i2c/busses/i2c-at91.c
> +++ b/drivers/i2c/busses/i2c-at91.c
> @@ -346,6 +346,12 @@ static struct at91_twi_pdata at91sam9g10_config = {
>   	.has_unre_flag = false,
>   };
>
> +static struct at91_twi_pdata at91sam9x5_config = {
> +	.clk_max_div = 7,
> +	.clk_offset = 4,
> +	.has_unre_flag = false,
> +};
> +
>   static struct platform_device_id at91_twi_devtypes[] = {
>   	{
>   		.name = "i2c-at91rm9200",
>

Best Regards,
Bo Shen



More information about the barebox mailing list