diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-07-18 00:54:24 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-09-03 13:08:11 +0200 |
commit | eb9bdef111b82389f9b7943bc29fb72c3a0fa5b0 (patch) | |
tree | 56fc15133f5849410b0dbe9bb23fd401325f80e3 /arch/arm/boot/dts/wm8850-w70v2.dts | |
parent | pwm: Update DT bindings to reference pwm.txt for cells documentation (diff) | |
download | linux-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.dts | 3 |
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>; |