diff options
author | Ajay Nandakumar <anandakumarm@nvidia.com> | 2013-10-29 19:51:21 +0530 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2013-10-29 23:29:38 -0700 |
commit | 30014ab843618322bb487e1e9e52edec3dfac4b6 (patch) | |
tree | 564d73da73bf795b8659e95857999f1d4a51dc00 /Documentation/devicetree/bindings/video/backlight | |
parent | d1349f76214e9b5087dd26e4b91cd650d2a17bb7 (diff) |
ARM: DT: Add DT entry for PWMs and Backlight
Add DT entry for PWM controller and Backlight for NVIDIA's
Tegra 114,124 SoCs.It has 4 PWM controllers.
Bug 1256106
Change-Id: Ia927d3231db1a07490b5027c1f23d8e736173f30
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/299035
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'Documentation/devicetree/bindings/video/backlight')
-rw-r--r-- | Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt b/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt index 1e4fc727f3b1..ae7b689d727c 100644 --- a/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt +++ b/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt @@ -11,13 +11,23 @@ Required properties: - default-brightness-level: the default brightness level (index into the array defined by the "brightness-levels" property) + The following fields are mutually exclusive with "brightness-levels" + and "default-brightness-level".It is used in case where levels are + not available on the backlight device and the device can interpolate + values.In this case the minium value that is considered is 0. + + - max-brightness: the maximum brighness value that is allowed by the + backlight device. + - default-brightness: the default brighness value that is allowed by the + backlight device. + Optional properties: - pwm-names: a list of names for the PWM devices specified in the "pwms" property (see PWM binding[0]) [0]: Documentation/devicetree/bindings/pwm/pwm.txt -Example: +Examples: backlight { compatible = "pwm-backlight"; @@ -26,3 +36,10 @@ Example: brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <6>; }; + + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm 1 1000000>; + max-brightness = <255>; + default-brightness = <224>; + }; |