-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/panel: simple: Add support for Winstar WF35LTIACD
This adds support for the Winstar Display Co. WF35LTIACD 3.5" QVGA TFT LCD panel, which can be supported by the simple panel driver. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
- Loading branch information
Richard Genoud
authored and
Thierry Reding
committed
Apr 6, 2017
1 parent
667eb70
commit e4bac40
Showing
2 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
Winstar Display Corporation 3.5" QVGA (320x240) TFT LCD panel | ||
|
||
Required properties: | ||
- compatible: should be "winstar,wf35ltiacd" | ||
- power-supply: regulator to provide the VCC supply voltage (3.3 volts) | ||
|
||
This binding is compatible with the simple-panel binding, which is specified | ||
in simple-panel.txt in this directory. | ||
|
||
Example: | ||
backlight: backlight { | ||
compatible = "pwm-backlight"; | ||
pwms = <&hlcdc_pwm 0 50000 PWM_POLARITY_INVERTED>; | ||
brightness-levels = <0 31 63 95 127 159 191 223 255>; | ||
default-brightness-level = <191>; | ||
power-supply = <&bl_reg>; | ||
}; | ||
|
||
bl_reg: backlight_regulator { | ||
compatible = "regulator-fixed"; | ||
regulator-name = "backlight-power-supply"; | ||
regulator-min-microvolt = <5000000>; | ||
regulator-max-microvolt = <5000000>; | ||
}; | ||
|
||
panel: panel { | ||
compatible = "winstar,wf35ltiacd", "simple-panel"; | ||
backlight = <&backlight>; | ||
power-supply = <&panel_reg>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
port { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
panel_input: endpoint { | ||
remote-endpoint = <&hlcdc_panel_output>; | ||
}; | ||
}; | ||
}; | ||
|
||
panel_reg: panel_regulator { | ||
compatible = "regulator-fixed"; | ||
regulator-name = "panel-power-supply"; | ||
regulator-min-microvolt = <3300000>; | ||
regulator-max-microvolt = <3300000>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters