diff options
| author | Asaf Penso <apenso@codeaurora.org> | 2012-10-25 15:03:21 +0200 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:13:02 -0700 |
| commit | fab9e05c7afa26eb8a269de7d2affac7bdcf1095 (patch) | |
| tree | a2cc5c8fd24f25eb35f3d19f2785649aa8db0781 /Documentation/devicetree | |
| parent | c2194b671077a47cbe5380e0bd44139139c5a5ac (diff) | |
msm: mdss: add eDP backlight
Add configuration for setting different brightness levels in edp driver.
This is done according to lpg channel and period values from devicetree.
Change-Id: I4e9074d777102193d7678f7aac565be3a5a551df
Signed-off-by: Asaf Penso <apenso@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree')
| -rw-r--r-- | Documentation/devicetree/bindings/fb/mdss-edp.txt | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/fb/mdss-edp.txt b/Documentation/devicetree/bindings/fb/mdss-edp.txt index 4fedc720b291..3c4e1d3ad2d3 100644 --- a/Documentation/devicetree/bindings/fb/mdss-edp.txt +++ b/Documentation/devicetree/bindings/fb/mdss-edp.txt @@ -4,15 +4,20 @@ MDSS EDP is a edp driver which supports panels that are compatable with VESA EDP display interface specification. Required properties -- compatible : Must be "qcom,mdss-edp". -- reg : Offset and length of the register set for the device. -- reg-names : Names to refer to register sets related to this device -- vdda-supply : Phandle for vdd regulator device node. -- gpio-panel-en : GPIO for supplying power to panel and to backlight driver. -- status : A string that has to be set to "okay/ok" to enable - the driver. By default this property will be set to - "disable". Will be set to "ok/okay" status for specific - platforms. +- compatible : Must be "qcom,mdss-edp". +- reg : Offset and length of the register set for the + device. +- reg-names : Names to refer to register sets related to this + device +- vdda-supply : Phandle for vdd regulator device node. +- gpio-panel-en : GPIO for supplying power to panel and backlight + driver. +- qcom,panel-lpg-channel : LPG channel for backlight. +- qcom,panel-pwm-period : PWM period in microseconds. +- status : A string that has to be set to "okay/ok" to enable + the driver. By default this property will be set to + "disable". Will be set to "ok/okay" status for + specific platforms. Example: mdss_edp: qcom,mdss_edp@fd923400 { @@ -22,6 +27,8 @@ Example: reg-names = "edp_base", "mmss_cc_base"; vdda-supply = <&pm8941_l12>; gpio-panel-en = <&msmgpio 58 0>; + qcom,panel-lpg-channel = <7>; /* LPG Channel 8 */ + qcom,panel-pwm-period = <53>; status = "disable"; }; |
