i2c: at91: add at91sam9x5 config
Subsystems (2)
PATCH 1/1 i2c: at91: add at91sam9x5 config
--- drivers/i2c/busses/i2c-at91.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/i2c/busses/i2c-at91.c +6 -0
@@ -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" ,
Signature · 7 lines
1.7.9.5 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Hi Raphaël Poggi,
Actually, this is a build fix.
Quoted 1 line · Raphaël Poggi
Signed-off-by Raphaël Poggi <[email protected]>
Quoted 12 lines
--- drivers/i2c/busses/i2c-at91.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/i2c/busses/i2c-at91.c +0
-0@@ -346,6 +346,12 @@ static struct at91_twi_pdata at91sam9g10_config = { .has_unre_flag = false, };
drivers/i2c/busses/i2c-at91.c static struct at91_twi_pdata at91sam9g10_config = { · line 357
Quoted 10 lines
drivers/i2c/busses/i2c-at91.c +6
-0+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
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Hi Raphaël Poggi,
Quoted 7 lines · Bo Shen
Hi Raphaël Poggi,
Actually, this is a build fix.Quoted 1 line · Raphaël Poggi
Signed-off-by Raphaël Poggi <[email protected]>Acked-by Bo Shen <[email protected]>
Sorry, can you squash this patch into "[PATCH 1/2] i2c: at91: add support of device tree"
Quoted 13 lines
Quoted 13 lines
--- drivers/i2c/busses/i2c-at91.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/i2c/busses/i2c-at91.c +0
-0@@ -346,6 +346,12 @@ static struct at91_twi_pdata at91sam9g10_config = { .has_unre_flag = false, };
Quoted 13 lines
drivers/i2c/busses/i2c-at91.c static struct at91_twi_pdata at91sam9g10_config = { · line 357
Quoted 10 lines
drivers/i2c/busses/i2c-at91.c +6
-0+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
Best Regards,
Bo Shen
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox