mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
eb9bdef111
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>
49 lines
923 B
Plaintext
49 lines
923 B
Plaintext
/*
|
|
* wm8850-w70v2.dts
|
|
* - Device tree file for Wondermedia WM8850 Tablet
|
|
* - 'W70-V2' mainboard
|
|
* - HongLianYing 'HLY070ML268-21A' 7" LCD panel
|
|
*
|
|
* Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
|
|
*
|
|
* Licensed under GPLv2 or later
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "wm8850.dtsi"
|
|
#include <dt-bindings/pwm/pwm.h>
|
|
|
|
/ {
|
|
model = "Wondermedia WM8850-W70v2 Tablet";
|
|
|
|
backlight {
|
|
compatible = "pwm-backlight";
|
|
pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
|
|
|
|
brightness-levels = <0 40 60 80 100 130 190 255>;
|
|
default-brightness-level = <5>;
|
|
};
|
|
};
|
|
|
|
&fb {
|
|
bits-per-pixel = <16>;
|
|
display-timings {
|
|
native-mode = <&timing0>;
|
|
timing0: 800x480 {
|
|
clock-frequency = <0>; /* unused but required */
|
|
hactive = <800>;
|
|
vactive = <480>;
|
|
hfront-porch = <40>;
|
|
hback-porch = <88>;
|
|
hsync-len = <0>;
|
|
vback-porch = <32>;
|
|
vfront-porch = <11>;
|
|
vsync-len = <1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
};
|