Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: panel: add Fascontek FS035VG158 panel

This is a small 3.5" 640x480 IPS LCD panel.

Signed-off-by: John Watts <contact@jookia.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231210-fs035vg158-v5-7-d75adc75571f@jookia.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231210-fs035vg158-v5-7-d75adc75571f@jookia.org

authored by

John Watts and committed by
Neil Armstrong
26762437 8fcb387a

+56
+56
Documentation/devicetree/bindings/display/panel/fascontek,fs035vg158.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/panel/fascontek,fs035vg158.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Fascontek FS035VG158 3.5" (640x480 pixels) 24-bit IPS LCD panel 8 + 9 + maintainers: 10 + - John Watts <contact@jookia.org> 11 + 12 + allOf: 13 + - $ref: panel-common.yaml# 14 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 15 + 16 + properties: 17 + compatible: 18 + const: fascontek,fs035vg158 19 + 20 + spi-3wire: true 21 + 22 + required: 23 + - compatible 24 + - reg 25 + - port 26 + - power-supply 27 + - reset-gpios 28 + 29 + unevaluatedProperties: false 30 + 31 + examples: 32 + - | 33 + #include <dt-bindings/gpio/gpio.h> 34 + 35 + spi { 36 + #address-cells = <1>; 37 + #size-cells = <0>; 38 + panel@0 { 39 + compatible = "fascontek,fs035vg158"; 40 + reg = <0>; 41 + 42 + spi-3wire; 43 + spi-max-frequency = <3125000>; 44 + 45 + reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; 46 + 47 + backlight = <&backlight>; 48 + power-supply = <&vcc>; 49 + 50 + port { 51 + panel_input: endpoint { 52 + remote-endpoint = <&panel_output>; 53 + }; 54 + }; 55 + }; 56 + };