Himax HX8357D display panel

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

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

Display panels using a Himax HX8357D controller in SPI mode, such as the Adafruit 3.5" TFT for Raspberry Pi.

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "adafruit,yx350hv15", "himax,hx8357b"

Item 2

Exact value (const): "himax,hx8357"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "himax,hx8369a"

Item 2

Exact value (const): "himax,hx8369"

reg — required here #

Maximum number of items (maxItems): 1

dc-gpios — not listed as required here #

Maximum number of items (maxItems): 1

D/C pin

rotation — not listed as required here #

Allowed values (enum): 0, 90, 180, 270

backlight — not listed as required here #

phandle of the backlight device attached to the panel

im-gpios — not listed as required here #

Maximum number of items (maxItems): 3

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

spi-cpha — not listed as required here #

true — No constraints added by this property rule.

spi-cpol — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

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>;

    display@0 {
        compatible = "adafruit,yx350hv15", "himax,hx8357";
        reg = <0>;
        spi-max-frequency = <32000000>;
        dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
        rotation = <90>;
        backlight = <&backlight>;
   };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page