diff options
author | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2015-10-26 10:45:08 -0700 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-30 18:47:51 +0000 |
commit | 9d6c243502b7f0a9696bc6fe5b473e40d8478d28 (patch) | |
tree | 1f720d8ef52e0162b79cbb3627a4e959fbb0aa9b /Documentation | |
parent | fc18111b8973e2c7cc0c2ba6183795e5266ddff7 (diff) | |
download | linux-9d6c243502b7f0a9696bc6fe5b473e40d8478d28.tar.bz2 |
backlight: pm8941-wled: Add default-brightness property
Default the brightness to 2048 and add possibility to override this in
device tree.
Suggested-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt b/Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt index 424f8444a6cd..e5b294dafc58 100644 --- a/Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt +++ b/Documentation/devicetree/bindings/video/backlight/pm8941-wled.txt @@ -5,6 +5,8 @@ Required properties: - reg: slave address Optional properties: +- default-brightness: brightness value on boot, value from: 0-4095 + default: 2048 - label: The name of the backlight device - qcom,cs-out: bool; enable current sink output - qcom,cabc: bool; enable content adaptive backlight control |