Skip to contentSkip to conversation

I2C: rcar: add R-Car Gen2 and r8a7791 support for DT

PATCH In review Kuninori Morimoto 1 participant 2 messages Apr 11, 2014 1 message not in the archive

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

PATCH 1/1 I2C: rcar: add R-Car Gen2 and r8a7791 support for DT

From: Kuninori Morimoto <[email protected]>

---
 drivers/i2c/busses/i2c-rcar.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/i2c/busses/i2c-rcar.c +2 -0
index 0282d4d..e7c798e 100644
@@ -635,9 +635,11 @@ static const struct i2c_algorithm rcar_i2c_algo = {
 
 static const struct of_device_id rcar_i2c_dt_ids[] = {
 	{ .compatible = "renesas,i2c-rcar", .data = (void *)I2C_RCAR_GEN1 },
+	{ .compatible = "renesas,i2c-rcar-gen2", .data = (void *)I2C_RCAR_GEN2 },
 	{ .compatible = "renesas,i2c-r8a7778", .data = (void *)I2C_RCAR_GEN1 },
 	{ .compatible = "renesas,i2c-r8a7779", .data = (void *)I2C_RCAR_GEN1 },
 	{ .compatible = "renesas,i2c-r8a7790", .data = (void *)I2C_RCAR_GEN2 },
+	{ .compatible = "renesas,i2c-r8a7791", .data = (void *)I2C_RCAR_GEN2 },
 	{},
 };
 MODULE_DEVICE_TABLE(of, rcar_i2c_dt_ids);
Signature · 1 line
1.7.9.5

A message that is not in the archive (sent off-list or not yet received): 87mwfsoe5c.wl%[email protected]

#2 lore raw

Hi Wolfram

Please ignore this
I noticed that it is already included on linux-next

Quoted 26 lines

From: Kuninori Morimoto <[email protected]>

---
 drivers/i2c/busses/i2c-rcar.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/i2c/busses/i2c-rcar.c +2 -0
index 0282d4d..e7c798e 100644
@@ -635,9 +635,11 @@ static const struct i2c_algorithm rcar_i2c_algo = {
 
 static const struct of_device_id rcar_i2c_dt_ids[] = {
 	{ .compatible = "renesas,i2c-rcar", .data = (void *)I2C_RCAR_GEN1 },
+	{ .compatible = "renesas,i2c-rcar-gen2", .data = (void *)I2C_RCAR_GEN2 },
 	{ .compatible = "renesas,i2c-r8a7778", .data = (void *)I2C_RCAR_GEN1 },
 	{ .compatible = "renesas,i2c-r8a7779", .data = (void *)I2C_RCAR_GEN1 },
 	{ .compatible = "renesas,i2c-r8a7790", .data = (void *)I2C_RCAR_GEN2 },
+	{ .compatible = "renesas,i2c-r8a7791", .data = (void *)I2C_RCAR_GEN2 },
 	{},
 };
 MODULE_DEVICE_TABLE(of, rcar_i2c_dt_ids);
Signature · 1 line
1.7.9.5