Samsung Exynos SoC HDMI

Schema identifier ($id): "http://devicetree.org/schemas/display/samsung/samsung,exynos-hdmi.yaml#"

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

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos4210-hdmi", "samsung,exynos4212-hdmi", "samsung,exynos5420-hdmi", "samsung,exynos5433-hdmi"

clocks — required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 10

clock-names — required here #

Minimum number of items (minItems): 5

Maximum number of items (maxItems): 10

ddc — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the HDMI DDC node.

hdmi-en-supply — not listed as required here #

Provides voltage source for DCC lines available on HDMI connector. When there is no power provided for DDC epprom, some TV-sets do not pulls up HPD (hot plug detect) line, what causes HDMI block to stay turned off. When provided, the regulator allows TV-set correctly signal HPD event.

hpd-gpios — required here #

Maximum number of items (maxItems): 1

A GPIO line connected to HPD

interrupts — required here #

Maximum number of items (maxItems): 1

phy — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the HDMI PHY node.

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Contains a port which is connected to mic node.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

samsung,syscon-phandle — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the PMU system controller node.

samsung,sysreg-phandle — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to DISP system controller interface.

#sound-dai-cells — required here #

Exact value (const): 0

vdd-supply — required here #

VDD 1.0V HDMI TX.

vdd_osc-supply — required here #

VDD 1.8V HDMI OSC.

vdd_pll-supply — required here #

VDD 1.0V HDMI PLL.

Required in this object (required): "compatible", "clocks", "clock-names", "ddc", "hpd-gpios", "interrupts", "phy", "reg", "samsung,syscon-phandle", "#sound-dai-cells", "vdd-supply", "vdd_osc-supply", "vdd_pll-supply"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-hdmi"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Gate of HDMI IP APB bus.

Item 2

Gate of HDMI-PHY IP APB bus.

Item 3

Gate of HDMI TMDS clock.

Item 4

Gate of HDMI pixel clock.

Item 5

TMDS clock generated by HDMI-PHY.

Item 6

MUX used to switch between oscclk and tmds_clko, respectively if HDMI-PHY is off and operational.

Item 7

Pixel clock generated by HDMI-PHY.

Item 8

MUX used to switch between oscclk and pixel_clko, respectively if HDMI-PHY is off and operational.

Item 9

Oscillator clock, used as parent of following *_user clocks in case HDMI-PHY is not operational.

Item 10

Gate of HDMI SPDIF clock.

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hdmi_pclk"

Item 2

Exact value (const): "hdmi_i_pclk"

Item 3

Exact value (const): "i_tmds_clk"

Item 4

Exact value (const): "i_pixel_clk"

Item 5

Exact value (const): "tmds_clko"

Item 6

Exact value (const): "tmds_clko_user"

Item 7

Exact value (const): "pixel_clko"

Item 8

Exact value (const): "pixel_clko_user"

Item 9

Exact value (const): "oscclk"

Item 10

Exact value (const): "i_spdif_clk"

Required in this object (required): "samsung,sysreg-phandle"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Gate of HDMI IP bus clock.

Item 2

Gate of HDMI special clock.

Item 3

Pixel special clock, one of the two possible inputs of HDMI clock mux.

Item 4

HDMI PHY clock output, one of two possible inputs of HDMI clock mux.

Item 5

It is required by the driver to switch between the 2 parents i.e. sclk_pixel and sclk_hdmiphy. If hdmiphy is stable after configuration, parent is set to sclk_hdmiphy else sclk_pixel.

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "hdmi"

Item 2

Exact value (const): "sclk_hdmi"

Item 3

Exact value (const): "sclk_pixel"

Item 4

Exact value (const): "sclk_hdmiphy"

Item 5

Exact value (const): "mout_hdmi"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5433.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

hdmi@13970000 {
    compatible = "samsung,exynos5433-hdmi";
    reg = <0x13970000 0x70000>;
    interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cmu_disp CLK_PCLK_HDMI>,
             <&cmu_disp CLK_PCLK_HDMIPHY>,
             <&cmu_disp CLK_PHYCLK_HDMIPHY_TMDS_CLKO>,
             <&cmu_disp CLK_PHYCLK_HDMI_PIXEL>,
             <&cmu_disp CLK_PHYCLK_HDMIPHY_TMDS_CLKO_PHY>,
             <&cmu_disp CLK_MOUT_PHYCLK_HDMIPHY_TMDS_CLKO_USER>,
             <&cmu_disp CLK_PHYCLK_HDMIPHY_PIXEL_CLKO_PHY>,
             <&cmu_disp CLK_MOUT_PHYCLK_HDMIPHY_PIXEL_CLKO_USER>,
             <&xxti>,
             <&cmu_disp CLK_SCLK_HDMI_SPDIF>;
    clock-names = "hdmi_pclk",
                  "hdmi_i_pclk",
                  "i_tmds_clk",
                  "i_pixel_clk",
                  "tmds_clko",
                  "tmds_clko_user",
                  "pixel_clko",
                  "pixel_clko_user",
                  "oscclk",
                  "i_spdif_clk";
    phy = <&hdmiphy>;
    ddc = <&hsi2c_11>;
    samsung,syscon-phandle = <&pmu_system_controller>;
    samsung,sysreg-phandle = <&syscon_disp>;
    #sound-dai-cells = <0>;

    hpd-gpios = <&gpa3 0 GPIO_ACTIVE_HIGH>;
    vdd-supply = <&ldo6_reg>;
    vdd_osc-supply = <&ldo7_reg>;
    vdd_pll-supply = <&ldo6_reg>;

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

        port@0 {
            reg = <0>;
            hdmi_to_tv: endpoint {
                remote-endpoint = <&tv_to_hdmi>;
            };
        };

        port@1 {
            reg = <1>;
            hdmi_to_mhl: endpoint {
                remote-endpoint = <&mhl_to_hdmi>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page