xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/rockchip/rockchip-backlight.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Rockchip DRM backlight device
2================================
3
4Rockchip display controller(see VOP bindings[0]) support CABC function,
5and the CABC function required using VOP self pwm to control backlight,
6This backlight device manager the backlight PWM, auto select correct
7PWM for backlight.
8
9Required properties:
10- compatible: Should be "rockchip,drm-backlight"
11
12Other properties are same to commom PWM backlight bindings[1].
13
14[0]: Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt
15[1]: Documentation/devicetree/bindings/leds/backlight/pwm-backlight.txt
16
17example:
18
19backlight {
20	compatible = "rockchip,drm-backlight";
21	pwms = <&pwm 0 5000000>;
22
23	brightness-levels = <0 4 8 16 32 64 128 255>;
24	default-brightness-level = <6>;
25
26	power-supply = <&vdd_bl_reg>;
27	enable-gpios = <&gpio 58 0>;
28};
29
30