From ba02ff9cfb96ee5b275c8d1182a0aa087e5ffb51 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Mon, 27 Feb 2017 23:26:03 +0300 Subject: [PATCH] Small cleanup for h3 overlays --- patch/kernel/sun8i-dev/add-h3-overlays.patch | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/patch/kernel/sun8i-dev/add-h3-overlays.patch b/patch/kernel/sun8i-dev/add-h3-overlays.patch index 51849296a..42ca30c38 100644 --- a/patch/kernel/sun8i-dev/add-h3-overlays.patch +++ b/patch/kernel/sun8i-dev/add-h3-overlays.patch @@ -308,7 +308,7 @@ new file mode 100644 index 00000000..afd60dde --- /dev/null +++ b/arch/arm/boot/dts/overlay/sun8i-h3-w1.dts -@@ -0,0 +1,34 @@ +@@ -0,0 +1,30 @@ +/dts-v1/ /plugin/; + +/ { @@ -321,7 +321,7 @@ index 00000000..afd60dde + compatible = "w1-gpio"; + pinctrl-names = "default"; + pinctrl-0 = <&w1_pins>; -+ gpios = <&pio 3 14 0>; // PD14 ++ gpios = <&pio 3 14 0>; /* PD14 */ + status = "okay"; + }; + }; @@ -332,14 +332,10 @@ index 00000000..afd60dde + __overlay__ { + w1_pins: w1_pins { + allwinner,pins = "PD14"; -+ allwinner,function = "gpio_in"; // in (initially) -+ allwinner,pull = <0>; // off ++ allwinner,function = "gpio_in"; ++ allwinner,drive = <0>; ++ allwinner,pull = <0>; + }; + }; + }; -+ -+ __overrides__ { -+ gpiopin = <&w1>,"gpios:4", -+ <&w1_pins>,"allwinner,pins:0"; -+ }; +};