Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/kingdisplay,kd035g6-54nt.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: King Display KD035G6-54NT 3.5" (320x240 pixels) 24-bit TFT LCD panel
0008 
0009 maintainers:
0010   - Paul Cercueil <paul@crapouillou.net>
0011 
0012 allOf:
0013   - $ref: panel-common.yaml#
0014   - $ref: /schemas/spi/spi-peripheral-props.yaml#
0015 
0016 properties:
0017   compatible:
0018     const: kingdisplay,kd035g6-54nt
0019 
0020   backlight: true
0021   port: true
0022   power-supply: true
0023   reg: true
0024   reset-gpios: true
0025 
0026 required:
0027   - compatible
0028   - power-supply
0029   - reset-gpios
0030 
0031 unevaluatedProperties: false
0032 
0033 examples:
0034   - |
0035     #include <dt-bindings/gpio/gpio.h>
0036 
0037     spi {
0038         #address-cells = <1>;
0039         #size-cells = <0>;
0040 
0041         panel@0 {
0042             compatible = "kingdisplay,kd035g6-54nt";
0043             reg = <0>;
0044 
0045             spi-max-frequency = <3125000>;
0046             spi-3wire;
0047 
0048             reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
0049 
0050             backlight = <&backlight>;
0051             power-supply = <&ldo6>;
0052 
0053             port {
0054                 panel_input: endpoint {
0055                     remote-endpoint = <&panel_output>;
0056                 };
0057             };
0058         };
0059     };
0060 
0061 ...