Anbernic RG35XX series (WL-355608-A8) 3.5" 640x480 24-bit IPS LCD panel
Schema identifier ($id): "http://devicetree.org/schemas/display/panel/anbernic,rg35xx-plus-panel.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ryan Walklin <ryan@testtoast.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):panel-common.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"anbernic,rg35xx-plus-panel"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"anbernic,rg35xx-2024-panel","anbernic,rg35xx-h-panel","anbernic,rg35xx-sp-panel"Item 2
Exact value (
const):"anbernic,rg35xx-plus-panel"
reg — required here #
Maximum number of items (maxItems): 1
spi-3wire — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "port", "power-supply", "reset-gpios"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
compatible = "anbernic,rg35xx-plus-panel";
reg = <0>;
spi-3wire;
spi-max-frequency = <3125000>;
reset-gpios = <&pio 8 14 GPIO_ACTIVE_LOW>; // PI14
backlight = <&backlight>;
power-supply = <®_lcd>;
port {
endpoint {
remote-endpoint = <&tcon_lcd0_out_lcd>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)