ARM: dts: sunxi: Enable PWM controller on Q8 format tablets
authorChen-Yu Tsai <wens@csie.org>
Sun, 11 Oct 2015 09:55:07 +0000 (11:55 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 12 Oct 2015 13:51:32 +0000 (15:51 +0200)
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>
arch/arm/boot/dts/sunxi-q8-common.dtsi

index 17b26ff..b824146 100644 (file)
@@ -75,3 +75,9 @@
                voltage = <400000>;
        };
 };
+
+&pwm {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pwm0_pins>;
+       status = "okay";
+};