Ilitek ILI9486 display panels

Schema identifier ($id): "http://devicetree.org/schemas/display/ilitek,ili9486.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kamlesh Gurudasani <kamlesh.gurudasani@gmail.com>"

This binding is for display panels using an Ilitek ILI9486 controller in SPI mode.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel/panel-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "waveshare,rpi-lcd-35", "ozzmaker,piscreen"

Item 2

Exact value (const): "ilitek,ili9486"

spi-max-frequency — not listed as required here #

Maximum value (maximum): 32000000

dc-gpios — required here #

Maximum number of items (maxItems): 1

Display data/command selection (D/CX)

backlight — not listed as required here #

true — No constraints added by this property rule.

reg — required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "dc-gpios", "reset-gpios"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
        #address-cells = <1>;
        #size-cells = <0>;

        display@0{
                compatible = "waveshare,rpi-lcd-35", "ilitek,ili9486";
                reg = <0>;
                spi-max-frequency = <32000000>;
                dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
                rotation = <180>;
                backlight = <&backlight>;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 23: Waveshare 3.5" 320x480 Color TFT LCD

Line 25: Ozzmaker 3.5" 320x480 Color TFT LCD

Edit this page