aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.10/950-0608-dtoverlays-Add-pinctrl-names-to-i2c0-overlay.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-5.10/950-0608-dtoverlays-Add-pinctrl-names-to-i2c0-overlay.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.10/950-0608-dtoverlays-Add-pinctrl-names-to-i2c0-overlay.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.10/950-0608-dtoverlays-Add-pinctrl-names-to-i2c0-overlay.patch b/target/linux/bcm27xx/patches-5.10/950-0608-dtoverlays-Add-pinctrl-names-to-i2c0-overlay.patch
new file mode 100644
index 0000000000..408fe54f1f
--- /dev/null
+++ b/target/linux/bcm27xx/patches-5.10/950-0608-dtoverlays-Add-pinctrl-names-to-i2c0-overlay.patch
@@ -0,0 +1,25 @@
+From 26715b72c201ab22e44698505969078520bddce0 Mon Sep 17 00:00:00 2001
+From: Dave Stevenson <dave.stevenson@raspberrypi.com>
+Date: Wed, 12 May 2021 16:44:11 +0100
+Subject: [PATCH] dtoverlays: Add pinctrl-names to i2c0 overlay.
+
+Using dtoverlay=i2c0 failed to set up the pinctrl nodes as
+pinctrl-name = "default"; was missing from the i2c0if node.
+
+https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=311686&p=1864112
+
+Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
+---
+ arch/arm/boot/dts/overlays/i2c0-overlay.dts | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/arch/arm/boot/dts/overlays/i2c0-overlay.dts
++++ b/arch/arm/boot/dts/overlays/i2c0-overlay.dts
+@@ -8,6 +8,7 @@
+ target = <&i2c0if>;
+ __overlay__ {
+ status = "okay";
++ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pins>;
+ };
+ };