summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sunxi-q8-common.dtsi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-10-11 11:55:07 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-10-12 15:51:32 +0200
commit6bf28cb995a525f090e2fb6370fb8717dbf57598 (patch)
treeca7a0b84c8ebf64fe2774f4f593d2368589a5127 /arch/arm/boot/dts/sunxi-q8-common.dtsi
parentARM: dts: sun5i: Add PWM channel 0 pinmux setting for A13/A10s (diff)
downloadlinux-6bf28cb995a525f090e2fb6370fb8717dbf57598.tar.xz
linux-6bf28cb995a525f090e2fb6370fb8717dbf57598.zip
ARM: dts: sunxi: Enable PWM controller on Q8 format tablets
Q8 format tablets use channel 0 of the PWM controller for backlight dimming. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sunxi-q8-common.dtsi')
-rw-r--r--arch/arm/boot/dts/sunxi-q8-common.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sunxi-q8-common.dtsi b/arch/arm/boot/dts/sunxi-q8-common.dtsi
index 17b26ffd03aa..b8241462fcea 100644
--- a/arch/arm/boot/dts/sunxi-q8-common.dtsi
+++ b/arch/arm/boot/dts/sunxi-q8-common.dtsi
@@ -75,3 +75,9 @@
voltage = <400000>;
};
};
+
+&pwm {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm0_pins>;
+ status = "okay";
+};