King Display KD035G6-54NT 3.5" (320x240 pixels) 24-bit TFT LCD panel
Schema identifier ($id): "http://devicetree.org/schemas/display/panel/kingdisplay,kd035g6-54nt.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"
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 #
Exact value (const): "kingdisplay,kd035g6-54nt"
reg — not listed as required here #
Maximum number of items (maxItems): 1
backlight — not listed as required here #
true — No constraints added by this property rule.
port — not listed as required here #
true — No constraints added by this property rule.
power-supply — required here #
true — No constraints added by this property rule.
reset-gpios — required here #
true — No constraints added by this property rule.
spi-3wire — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "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 = "kingdisplay,kd035g6-54nt";
reg = <0>;
spi-max-frequency = <3125000>;
spi-3wire;
reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
backlight = <&backlight>;
power-supply = <&ldo6>;
port {
panel_input: endpoint {
remote-endpoint = <&panel_output>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0