summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2017-03-18 05:23:15 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-03-20 09:31:42 +0100
commit9693219aa61dc7a75ac015e5c011e889cb821eec (patch)
treeeab16c9946092ef797974df9fbe712d8933f2ff6 /arch
parent0cdefd5b5485ee6eb3512a75739d09a4090176ed (diff)
downloadlinux-0-day-9693219aa61dc7a75ac015e5c011e889cb821eec.tar.gz
linux-0-day-9693219aa61dc7a75ac015e5c011e889cb821eec.tar.xz
ARM: sun8i: a23/a33: drop bl_en_pin GPIO pinmux in reference design DTSI
The bl_en_pin GPIO pinmux is configured as "gpio_in", which makes it conflicts with the real GPIO usage (out), and makes the backlight not usable. Drop the GPIO pinmux for it, thus this GPIO can be correctly used. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi b/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi
index 7097c18ff487d..d6bd15898db6d 100644
--- a/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi
+++ b/arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi
@@ -50,8 +50,6 @@
backlight: backlight {
compatible = "pwm-backlight";
- pinctrl-names = "default";
- pinctrl-0 = <&bl_en_pin>;
pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
default-brightness-level = <8>;
@@ -93,11 +91,6 @@
};
&pio {
- bl_en_pin: bl_en_pin@0 {
- pins = "PH6";
- function = "gpio_in";
- };
-
mmc0_cd_pin: mmc0_cd_pin@0 {
pins = "PB4";
function = "gpio_in";