Skip to contentSkip to conversation

i2c: at91: add at91sam9x5 config

PATCH In review Raphaël Poggi 2 participants 3 messages Aug 1, 2014 – Aug 4, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 399f6a9..4aa4e4e 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw

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

Quoted 1 line · Raphaël Poggi
Quoted 12 lines
---
  drivers/i2c/busses/i2c-at91.c |    6 ++++++
  1 file changed, 6 insertions(+)
drivers/i2c/busses/i2c-at91.c +0 -0
index 399f6a9..4aa4e4e 100644
@@ -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

#2 lore raw

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

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
index 399f6a9..4aa4e4e 100644
@@ -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