brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 1d67492 Raw
68 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/anbernic,rg35xx-plus-panel.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Anbernic RG35XX series (WL-355608-A8) 3.5" 640x480 24-bit IPS LCD panel8 9maintainers:10  - Ryan Walklin <ryan@testtoast.com>11 12allOf:13  - $ref: panel-common.yaml#14  - $ref: /schemas/spi/spi-peripheral-props.yaml#15 16properties:17  compatible:18    oneOf:19      - const: anbernic,rg35xx-plus-panel20      - items:21          - enum:22              - anbernic,rg35xx-2024-panel23              - anbernic,rg35xx-h-panel24              - anbernic,rg35xx-sp-panel25          - const: anbernic,rg35xx-plus-panel26 27  reg:28    maxItems: 129 30  spi-3wire: true31 32required:33  - compatible34  - reg35  - port36  - power-supply37  - reset-gpios38 39unevaluatedProperties: false40 41examples:42  - |43    #include <dt-bindings/gpio/gpio.h>44 45    spi {46        #address-cells = <1>;47        #size-cells = <0>;48 49        panel@0 {50            compatible = "anbernic,rg35xx-plus-panel";51            reg = <0>;52 53            spi-3wire;54            spi-max-frequency = <3125000>;55 56            reset-gpios = <&pio 8 14 GPIO_ACTIVE_LOW>; // PI1457 58            backlight = <&backlight>;59            power-supply = <&reg_lcd>;60 61            port {62                endpoint {63                    remote-endpoint = <&tcon_lcd0_out_lcd>;64                };65            };66        };67    };68