summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/wm8850-w70v2.dts
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-18 00:54:24 +0200
committerThierry Reding <thierry.reding@gmail.com>2013-09-03 13:08:11 +0200
commiteb9bdef111b82389f9b7943bc29fb72c3a0fa5b0 (patch)
tree56fc15133f5849410b0dbe9bb23fd401325f80e3 /arch/arm/boot/dts/wm8850-w70v2.dts
parentpwm: Update DT bindings to reference pwm.txt for cells documentation (diff)
downloadlinux-eb9bdef111b82389f9b7943bc29fb72c3a0fa5b0.tar.xz
linux-eb9bdef111b82389f9b7943bc29fb72c3a0fa5b0.zip
ARM: dts: Use the PWM polarity flags
Replace the numerical polarity flags with the PWM_POLARITY_INVERTED symbolic constant. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/wm8850-w70v2.dts')
-rw-r--r--arch/arm/boot/dts/wm8850-w70v2.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/wm8850-w70v2.dts b/arch/arm/boot/dts/wm8850-w70v2.dts
index 90e913fb64be..7a563d2523b0 100644
--- a/arch/arm/boot/dts/wm8850-w70v2.dts
+++ b/arch/arm/boot/dts/wm8850-w70v2.dts
@@ -11,13 +11,14 @@
/dts-v1/;
/include/ "wm8850.dtsi"
+#include <dt-bindings/pwm/pwm.h>
/ {
model = "Wondermedia WM8850-W70v2 Tablet";
backlight {
compatible = "pwm-backlight";
- pwms = <&pwm 0 50000 1>; /* duty inverted */
+ pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
brightness-levels = <0 40 60 80 100 130 190 255>;
default-brightness-level = <5>;