126762437SJohn Watts# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 226762437SJohn Watts%YAML 1.2 326762437SJohn Watts--- 426762437SJohn Watts$id: http://devicetree.org/schemas/display/panel/fascontek,fs035vg158.yaml# 526762437SJohn Watts$schema: http://devicetree.org/meta-schemas/core.yaml# 626762437SJohn Watts 726762437SJohn Wattstitle: Fascontek FS035VG158 3.5" (640x480 pixels) 24-bit IPS LCD panel 826762437SJohn Watts 926762437SJohn Wattsmaintainers: 1026762437SJohn Watts - John Watts <contact@jookia.org> 1126762437SJohn Watts 1226762437SJohn WattsallOf: 1326762437SJohn Watts - $ref: panel-common.yaml# 1426762437SJohn Watts - $ref: /schemas/spi/spi-peripheral-props.yaml# 1526762437SJohn Watts 1626762437SJohn Wattsproperties: 1726762437SJohn Watts compatible: 1826762437SJohn Watts const: fascontek,fs035vg158 1926762437SJohn Watts 20*6b2358ffSKrzysztof Kozlowski reg: 21*6b2358ffSKrzysztof Kozlowski maxItems: 1 22*6b2358ffSKrzysztof Kozlowski 2326762437SJohn Watts spi-3wire: true 2426762437SJohn Watts 2526762437SJohn Wattsrequired: 2626762437SJohn Watts - compatible 2726762437SJohn Watts - reg 2826762437SJohn Watts - port 2926762437SJohn Watts - power-supply 3026762437SJohn Watts - reset-gpios 3126762437SJohn Watts 3226762437SJohn WattsunevaluatedProperties: false 3326762437SJohn Watts 3426762437SJohn Wattsexamples: 3526762437SJohn Watts - | 3626762437SJohn Watts #include <dt-bindings/gpio/gpio.h> 3726762437SJohn Watts 3826762437SJohn Watts spi { 3926762437SJohn Watts #address-cells = <1>; 4026762437SJohn Watts #size-cells = <0>; 4126762437SJohn Watts panel@0 { 4226762437SJohn Watts compatible = "fascontek,fs035vg158"; 4326762437SJohn Watts reg = <0>; 4426762437SJohn Watts 4526762437SJohn Watts spi-3wire; 4626762437SJohn Watts spi-max-frequency = <3125000>; 4726762437SJohn Watts 4826762437SJohn Watts reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; 4926762437SJohn Watts 5026762437SJohn Watts backlight = <&backlight>; 5126762437SJohn Watts power-supply = <&vcc>; 5226762437SJohn Watts 5326762437SJohn Watts port { 5426762437SJohn Watts panel_input: endpoint { 5526762437SJohn Watts remote-endpoint = <&panel_output>; 5626762437SJohn Watts }; 5726762437SJohn Watts }; 5826762437SJohn Watts }; 5926762437SJohn Watts }; 60