diff options
author | 2015-09-21 10:50:52 -0500 | |
---|---|---|
committer | 2015-10-22 09:21:22 -0500 | |
commit | 7755313e69aac99800c617ea835d86cd06f7f54c (patch) | |
tree | 684f436cfc6caa0648be62297854028c73404390 /Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt | |
parent | dt-bindings: consolidate display related bindings (diff) | |
download | linux-dev-7755313e69aac99800c617ea835d86cd06f7f54c.tar.xz linux-dev-7755313e69aac99800c617ea835d86cd06f7f54c.zip |
dt-bindings: move backlight bindings under leds
Backlights are generally a subtype of LEDs at least from a software
point of view if not always electrically. Move the bindings from the
video directory to underneath the leds dir.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt')
-rw-r--r-- | Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt b/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt deleted file mode 100644 index 764db86d441a..000000000000 --- a/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt +++ /dev/null @@ -1,35 +0,0 @@ -pwm-backlight bindings - -Required properties: - - compatible: "pwm-backlight" - - pwms: OF device-tree PWM specification (see PWM binding[0]) - - brightness-levels: Array of distinct brightness levels. Typically these - are in the range from 0 to 255, but any range starting at 0 will do. - The actual brightness level (PWM duty cycle) will be interpolated - from these values. 0 means a 0% duty cycle (darkest/off), while the - last value in the array represents a 100% duty cycle (brightest). - - default-brightness-level: the default brightness level (index into the - array defined by the "brightness-levels" property) - - power-supply: regulator for supply voltage - -Optional properties: - - pwm-names: a list of names for the PWM devices specified in the - "pwms" property (see PWM binding[0]) - - enable-gpios: contains a single GPIO specifier for the GPIO which enables - and disables the backlight (see GPIO binding[1]) - -[0]: Documentation/devicetree/bindings/pwm/pwm.txt -[1]: Documentation/devicetree/bindings/gpio/gpio.txt - -Example: - - backlight { - compatible = "pwm-backlight"; - pwms = <&pwm 0 5000000>; - - brightness-levels = <0 4 8 16 32 64 128 255>; - default-brightness-level = <6>; - - power-supply = <&vdd_bl_reg>; - enable-gpios = <&gpio 58 0>; - }; |