aboutsummaryrefslogtreecommitdiffstats
path: root/patches/0958-arm64-dts-renesas-draak-enable-I2C-controller-1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0958-arm64-dts-renesas-draak-enable-I2C-controller-1.patch')
-rw-r--r--patches/0958-arm64-dts-renesas-draak-enable-I2C-controller-1.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/patches/0958-arm64-dts-renesas-draak-enable-I2C-controller-1.patch b/patches/0958-arm64-dts-renesas-draak-enable-I2C-controller-1.patch
new file mode 100644
index 00000000000000..12530cdd445bba
--- /dev/null
+++ b/patches/0958-arm64-dts-renesas-draak-enable-I2C-controller-1.patch
@@ -0,0 +1,50 @@
+From 2b6e03e83435f958e8dc78b2bba4c066e4a8f266 Mon Sep 17 00:00:00 2001
+From: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
+Date: Mon, 29 Jan 2018 16:45:46 +0100
+Subject: [PATCH 0958/1795] arm64: dts: renesas: draak: enable I2C controller 1
+
+No devices to add, I2C1 has an external connector only.
+
+Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
+Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
+Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
+Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
+(cherry picked from commit 41337aa1556a38a0b6861447ba7861c3a34bc204)
+Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
+Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
+---
+ arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
+index 6ff9d3eb7540..af07da240be0 100644
+--- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
++++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
+@@ -51,6 +51,11 @@
+ function = "i2c0";
+ };
+
++ i2c1_pins: i2c1 {
++ groups = "i2c1";
++ function = "i2c1";
++ };
++
+ pwm0_pins: pwm0 {
+ groups = "pwm0_c";
+ function = "pwm0";
+@@ -84,6 +89,12 @@
+ };
+ };
+
++&i2c1 {
++ pinctrl-0 = <&i2c1_pins>;
++ pinctrl-names = "default";
++ status = "okay";
++};
++
+ &ehci0 {
+ status = "okay";
+ };
+--
+2.19.0
+