1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/kingdisplay,kd035g6-54nt.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: King Display KD035G6-54NT 3.5" (320x240 pixels) 24-bit TFT LCD panel 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Paul Cercueil <paul@crapouillou.net> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel VadotallOf: 13c66ec88fSEmmanuel Vadot - $ref: panel-common.yaml# 14e67e8565SEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadotproperties: 17c66ec88fSEmmanuel Vadot compatible: 18c66ec88fSEmmanuel Vadot const: kingdisplay,kd035g6-54nt 19c66ec88fSEmmanuel Vadot 20*7d0873ebSEmmanuel Vadot reg: 21*7d0873ebSEmmanuel Vadot maxItems: 1 22*7d0873ebSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot backlight: true 24c66ec88fSEmmanuel Vadot port: true 25c66ec88fSEmmanuel Vadot power-supply: true 26c66ec88fSEmmanuel Vadot reset-gpios: true 27c66ec88fSEmmanuel Vadot 287ef62cebSEmmanuel Vadot spi-3wire: true 297ef62cebSEmmanuel Vadot 30c66ec88fSEmmanuel Vadotrequired: 31c66ec88fSEmmanuel Vadot - compatible 32c66ec88fSEmmanuel Vadot - power-supply 33c66ec88fSEmmanuel Vadot - reset-gpios 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel VadotunevaluatedProperties: false 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadotexamples: 38c66ec88fSEmmanuel Vadot - | 39c66ec88fSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 40c66ec88fSEmmanuel Vadot 41c66ec88fSEmmanuel Vadot spi { 42c66ec88fSEmmanuel Vadot #address-cells = <1>; 43c66ec88fSEmmanuel Vadot #size-cells = <0>; 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel Vadot panel@0 { 46c66ec88fSEmmanuel Vadot compatible = "kingdisplay,kd035g6-54nt"; 47c66ec88fSEmmanuel Vadot reg = <0>; 48c66ec88fSEmmanuel Vadot 49c66ec88fSEmmanuel Vadot spi-max-frequency = <3125000>; 50c66ec88fSEmmanuel Vadot spi-3wire; 51c66ec88fSEmmanuel Vadot 52c66ec88fSEmmanuel Vadot reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; 53c66ec88fSEmmanuel Vadot 54c66ec88fSEmmanuel Vadot backlight = <&backlight>; 55c66ec88fSEmmanuel Vadot power-supply = <&ldo6>; 56c66ec88fSEmmanuel Vadot 57c66ec88fSEmmanuel Vadot port { 58c66ec88fSEmmanuel Vadot panel_input: endpoint { 59c66ec88fSEmmanuel Vadot remote-endpoint = <&panel_output>; 60c66ec88fSEmmanuel Vadot }; 61c66ec88fSEmmanuel Vadot }; 62c66ec88fSEmmanuel Vadot }; 63c66ec88fSEmmanuel Vadot }; 64c66ec88fSEmmanuel Vadot 65c66ec88fSEmmanuel Vadot... 66