All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] i2c: rk3x: add support for rk3228
@ 2016-03-14  3:09 ` Yakir Yang
  0 siblings, 0 replies; 20+ messages in thread
From: Yakir Yang @ 2016-03-14  3:09 UTC (permalink / raw)
  To: Wolfram Sang, Heiko Stuebner, Rob Herring
  Cc: Kumar Gala, Pawel Moll, Mark Rutland, Ian Campbell, devicetree,
	linux-i2c, linux-kernel, linux-arm-kernel, linux-rockchip,
	Yakir Yang

Enable the I2C core for this SoC.

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
---
 Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 4 ++--
 drivers/i2c/busses/i2c-rk3x.c                      | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
index f0d71bc..0b4a85f 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
@@ -6,8 +6,8 @@ RK3xxx SoCs.
 Required properties :
 
  - reg : Offset and length of the register set for the device
- - compatible : should be "rockchip,rk3066-i2c", "rockchip,rk3188-i2c" or
-		"rockchip,rk3288-i2c".
+ - compatible : should be "rockchip,rk3066-i2c", "rockchip,rk3188-i2c",
+		"rockchip,rk3228-i2c" or "rockchip,rk3288-i2c".
  - interrupts : interrupt number
  - clocks : parent clock
 
diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c
index 9096d17..3dcc5f3 100644
--- a/drivers/i2c/busses/i2c-rk3x.c
+++ b/drivers/i2c/busses/i2c-rk3x.c
@@ -855,6 +855,7 @@ static struct rk3x_i2c_soc_data soc_data[3] = {
 static const struct of_device_id rk3x_i2c_match[] = {
 	{ .compatible = "rockchip,rk3066-i2c", .data = (void *)&soc_data[0] },
 	{ .compatible = "rockchip,rk3188-i2c", .data = (void *)&soc_data[1] },
+	{ .compatible = "rockchip,rk3228-i2c", .data = (void *)&soc_data[2] },
 	{ .compatible = "rockchip,rk3288-i2c", .data = (void *)&soc_data[2] },
 	{},
 };
-- 
1.9.1

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

end of thread, other threads:[~2016-04-13 20:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-14  3:09 [PATCH 1/2] i2c: rk3x: add support for rk3228 Yakir Yang
2016-03-14  3:09 ` Yakir Yang
2016-03-14  3:11 ` [PATCH 2/2] ARM: dts: rockchip: add i2c nodes RK3228 SoCs Yakir Yang
2016-03-14  3:11   ` Yakir Yang
2016-04-12 21:39   ` Wolfram Sang
2016-04-12 21:39     ` Wolfram Sang
2016-04-13  1:23     ` Yakir Yang
2016-04-13  1:23       ` Yakir Yang
2016-04-13  2:37       ` Wolfram Sang
2016-04-13  2:37         ` Wolfram Sang
2016-04-13  3:12         ` Yakir Yang
2016-04-13  3:12           ` Yakir Yang
2016-04-13 20:57   ` Heiko Stübner
2016-04-13 20:57     ` Heiko Stübner
2016-03-14 22:23 ` [PATCH 1/2] i2c: rk3x: add support for rk3228 Heiko Stübner
2016-03-14 22:23   ` Heiko Stübner
2016-03-18 20:16 ` Rob Herring
2016-03-18 20:16   ` Rob Herring
2016-04-12 21:38 ` Wolfram Sang
2016-04-12 21:38   ` Wolfram Sang

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.