diff options
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0160-overlays-Fix-resetgpio-and-ledgpio-for-hy28a-b.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.14/950-0160-overlays-Fix-resetgpio-and-ledgpio-for-hy28a-b.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0160-overlays-Fix-resetgpio-and-ledgpio-for-hy28a-b.patch b/target/linux/brcm2708/patches-4.14/950-0160-overlays-Fix-resetgpio-and-ledgpio-for-hy28a-b.patch new file mode 100644 index 0000000000..c740d7fa4a --- /dev/null +++ b/target/linux/brcm2708/patches-4.14/950-0160-overlays-Fix-resetgpio-and-ledgpio-for-hy28a-b.patch @@ -0,0 +1,42 @@ +From c912fa6af8ed1452717a4754960f328b6fc09ff0 Mon Sep 17 00:00:00 2001 +From: Phil Elwell <phil@raspberrypi.org> +Date: Tue, 16 Jan 2018 12:59:17 +0000 +Subject: [PATCH 160/454] overlays: Fix resetgpio and ledgpio for hy28a/b + +Offsets for overlay parameters are specified in bytes, not in access +units. + +See: https://github.com/raspberrypi/linux/issues/2344 + +Signed-off-by: Phil Elwell <phil@raspberrypi.org> +--- + arch/arm/boot/dts/overlays/hy28a-overlay.dts | 4 ++-- + arch/arm/boot/dts/overlays/hy28b-overlay.dts | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +--- a/arch/arm/boot/dts/overlays/hy28a-overlay.dts ++++ b/arch/arm/boot/dts/overlays/hy28a-overlay.dts +@@ -86,8 +86,8 @@ + debug = <&hy28a>,"debug:0"; + xohms = <&hy28a_ts>,"ti,x-plate-ohms;0"; + resetgpio = <&hy28a>,"reset-gpios:4", +- <&hy28a_pins>, "brcm,pins:1"; ++ <&hy28a_pins>, "brcm,pins:4"; + ledgpio = <&hy28a>,"led-gpios:4", +- <&hy28a_pins>, "brcm,pins:2"; ++ <&hy28a_pins>, "brcm,pins:8"; + }; + }; +--- a/arch/arm/boot/dts/overlays/hy28b-overlay.dts ++++ b/arch/arm/boot/dts/overlays/hy28b-overlay.dts +@@ -141,8 +141,8 @@ + debug = <&hy28b>,"debug:0"; + xohms = <&hy28b_ts>,"ti,x-plate-ohms;0"; + resetgpio = <&hy28b>,"reset-gpios:4", +- <&hy28b_pins>, "brcm,pins:1"; ++ <&hy28b_pins>, "brcm,pins:4"; + ledgpio = <&hy28b>,"led-gpios:4", +- <&hy28b_pins>, "brcm,pins:2"; ++ <&hy28b_pins>, "brcm,pins:8"; + }; + }; |