treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / panel / winstar,wf35ltiacd.txt
blob2a7e6e3ba64c3e68db0201bd2968f7fae94246ec
1 Winstar Display Corporation 3.5" QVGA (320x240) TFT LCD panel
3 Required properties:
4 - compatible: should be "winstar,wf35ltiacd"
5 - power-supply: regulator to provide the VCC supply voltage (3.3 volts)
7 This binding is compatible with the simple-panel binding, which is specified
8 in simple-panel.txt in this directory.
10 Example:
11         backlight: backlight {
12                 compatible = "pwm-backlight";
13                 pwms = <&hlcdc_pwm 0 50000 PWM_POLARITY_INVERTED>;
14                 brightness-levels = <0 31 63 95 127 159 191 223 255>;
15                 default-brightness-level = <191>;
16                 power-supply = <&bl_reg>;
17         };
19         bl_reg: backlight_regulator {
20                 compatible = "regulator-fixed";
21                 regulator-name = "backlight-power-supply";
22                 regulator-min-microvolt = <5000000>;
23                 regulator-max-microvolt = <5000000>;
24         };
26         panel: panel {
27                 compatible = "winstar,wf35ltiacd", "simple-panel";
28                 backlight = <&backlight>;
29                 power-supply = <&panel_reg>;
30                 #address-cells = <1>;
31                 #size-cells = <0>;
33                 port {
34                         #address-cells = <1>;
35                         #size-cells = <0>;
37                         panel_input: endpoint {
38                                 remote-endpoint = <&hlcdc_panel_output>;
39                         };
40                 };
41         };
43         panel_reg: panel_regulator {
44                 compatible = "regulator-fixed";
45                 regulator-name = "panel-power-supply";
46                 regulator-min-microvolt = <3300000>;
47                 regulator-max-microvolt = <3300000>;
48         };