SHARP LS037V7DW01 TFT-LCD panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/sharp,ls037v7dw01.yaml#"

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

This panel can have zero to five GPIOs to configure to change configuration between QVGA and VGA mode and the scan direction. As these pins can be also configured with external pulls, all the GPIOs are considered optional with holes in the array.

Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sharp,ls037v7dw01"

label — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

port — required here #

true — No constraints added by this property rule.

power-supply — not listed as required here #

true — No constraints added by this property rule.

mode-gpios — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

GPIO ordered MO, LR, and UD as specified in LS037V7DW01.pdf This panel can have zero to three GPIOs to configure to change configuration between QVGA and VGA mode and the scan direction. As these pins can be also configured with external pulls, all the GPIOs are considered optional with holes in the array.

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

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>

lcd0: display {
    compatible = "sharp,ls037v7dw01";
    power-supply = <&lcd_3v3>;
    enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>;    /* gpio152, lcd INI */
    reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;     /* gpio155, lcd RESB */
    mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH        /* gpio154, lcd MO */
                  &gpio1 2 GPIO_ACTIVE_HIGH         /* gpio2, lcd LR */
                  &gpio1 3 GPIO_ACTIVE_HIGH>;       /* gpio3, lcd UD */

    port {
        lcd_in: endpoint {
            remote-endpoint = <&dpi_out>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page