All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: at91: add at91sam9x5 config
@ 2014-08-01 13:26 Raphaël Poggi
  2014-08-04  7:34 ` Bo Shen
  0 siblings, 1 reply; 4+ messages in thread
From: Raphaël Poggi @ 2014-08-01 13:26 UTC (permalink / raw)
  To: barebox; +Cc: Raphaël Poggi

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.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",
-- 
1.7.9.5


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

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

* Re: [PATCH] i2c: at91: add at91sam9x5 config
  2014-08-01 13:26 [PATCH] i2c: at91: add at91sam9x5 config Raphaël Poggi
@ 2014-08-04  7:34 ` Bo Shen
  2014-08-04  7:40   ` Bo Shen
  0 siblings, 1 reply; 4+ messages in thread
From: Bo Shen @ 2014-08-04  7:34 UTC (permalink / raw)
  To: Raphaël Poggi, barebox

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@gmail.com>

Acked-by: Bo Shen <voice.shen@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

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

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

* Re: [PATCH] i2c: at91: add at91sam9x5 config
  2014-08-04  7:34 ` Bo Shen
@ 2014-08-04  7:40   ` Bo Shen
  0 siblings, 0 replies; 4+ messages in thread
From: Bo Shen @ 2014-08-04  7:40 UTC (permalink / raw)
  To: Raphaël Poggi, barebox

Hi Raphaël Poggi,

On 08/04/2014 03:34 PM, Bo Shen wrote:
> 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@gmail.com>
>
> Acked-by: Bo Shen <voice.shen@atmel.com>

Sorry, can you squash this patch into "[PATCH 1/2] i2c: at91: add 
support of device tree"

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

Best Regards,
Bo Shen

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

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

* [PATCH] i2c: at91: add at91sam9x5 config
  2014-09-24 12:57 [PATCH] i2c: at91: fix coding style issue Raphaël Poggi
@ 2014-09-24 12:57 ` Raphaël Poggi
  0 siblings, 0 replies; 4+ messages in thread
From: Raphaël Poggi @ 2014-09-24 12:57 UTC (permalink / raw)
  To: barebox; +Cc: Raphaël Poggi

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
---
 drivers/i2c/busses/i2c-at91.c | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c
index 2ce3fa3..9490822 100644
--- a/drivers/i2c/busses/i2c-at91.c
+++ b/drivers/i2c/busses/i2c-at91.c
@@ -346,23 +346,32 @@ 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",
+		.name = "at91rm9200-i2c",
 		.driver_data = (unsigned long) &at91rm9200_config,
 	}, {
-		.name = "i2c-at91sam9261",
+		.name = "at91sam9261-i2c",
 		.driver_data = (unsigned long) &at91sam9261_config,
 	}, {
-		.name = "i2c-at91sam9260",
+		.name = "at91sam9260-i2c",
 		.driver_data = (unsigned long) &at91sam9260_config,
 	}, {
-		.name = "i2c-at91sam9g20",
+		.name = "at91sam9g20-i2c",
 		.driver_data = (unsigned long) &at91sam9g20_config,
 	}, {
-		.name = "i2c-at91sam9g10",
+		.name = "at91sam9g10-i2c",
 		.driver_data = (unsigned long) &at91sam9g10_config,
 	}, {
+		.name = "at91sam9x5-i2c",
+		.driver_data = (unsigned long) &at91sam9x5_config,
+	}, {
 		/* sentinel */
 	}
 };
-- 
2.1.0


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

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

end of thread, other threads:[~2014-09-24 12:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-01 13:26 [PATCH] i2c: at91: add at91sam9x5 config Raphaël Poggi
2014-08-04  7:34 ` Bo Shen
2014-08-04  7:40   ` Bo Shen
  -- strict thread matches above, loose matches on Subject: below --
2014-09-24 12:57 [PATCH] i2c: at91: fix coding style issue Raphaël Poggi
2014-09-24 12:57 ` [PATCH] i2c: at91: add at91sam9x5 config Raphaël Poggi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.