Synaptics TDDI Display Panel Controller

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/synaptics,td4300-panel.yaml#"

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

Maintainers (maintainers): "Kaustabh Chakraborty <kauschluss@disroot.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "syna,td4101-panel", "syna,td4300-panel"

reg — required here #

Maximum number of items (maxItems): 1

vio-supply — not listed as required here #

core I/O voltage supply

vsn-supply — not listed as required here #

negative voltage supply for analog circuits

vsp-supply — not listed as required here #

positive voltage supply for analog circuits

backlight-gpios — not listed as required here #

Maximum number of items (maxItems): 1

backlight enable GPIO

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

width-mm — required here #

true — No constraints added by this property rule.

height-mm — required here #

true — No constraints added by this property rule.

panel-timing — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "width-mm", "height-mm", "panel-timing"

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>

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

    panel@0 {
        compatible = "syna,td4300-panel";
        reg = <0>;

        vio-supply = <&panel_vio_reg>;
        vsn-supply = <&panel_vsn_reg>;
        vsp-supply = <&panel_vsp_reg>;

        backlight-gpios = <&gpd3 5 GPIO_ACTIVE_LOW>;
        reset-gpios = <&gpd3 4 GPIO_ACTIVE_LOW>;

        width-mm = <68>;
        height-mm = <121>;

        panel-timing {
            clock-frequency = <144389520>;

            hactive = <1080>;
            hsync-len = <4>;
            hfront-porch = <120>;
            hback-porch = <32>;

            vactive = <1920>;
            vsync-len = <2>;
            vfront-porch = <21>;
            vback-porch = <4>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page