MediaTek High Definition Multimedia Interface (HDMI) PHY

Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,hdmi-phy.yaml#"

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

Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>", "Chunfeng Yun <chunfeng.yun@mediatek.com>"

The HDMI PHY serializes the HDMI encoder's three channel 10-bit parallel output and drives the HDMI pads.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^hdmi-phy@[0-9a-f]+$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt7623-hdmi-phy"

Item 2

Exact value (const): "mediatek,mt2701-hdmi-phy"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt8188-hdmi-phy"

Item 2

Exact value (const): "mediatek,mt8195-hdmi-phy"

Rule 3

Exact value (const): "mediatek,mt2701-hdmi-phy"

Rule 4

Exact value (const): "mediatek,mt8173-hdmi-phy"

Rule 5

Exact value (const): "mediatek,mt8195-hdmi-phy"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

PLL reference clock

Item 2

HDMI 26MHz clock

Item 3

HDMI PLL1 clock

Item 4

HDMI PLL2 clock

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "pll_ref"

Item 2

Exact value (const): "26m"

Item 3

Exact value (const): "pll1"

Item 4

Exact value (const): "pll2"

clock-output-names — required here #

Maximum number of items (maxItems): 1

#phy-cells — required here #

Exact value (const): 0

#clock-cells — required here #

Exact value (const): 0

mediatek,ibias — not listed as required here #

TX DRV bias current for < 1.65Gbps

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

Minimum value (minimum): 0

Maximum value (maximum): 63

Default value (default): 10

mediatek,ibias_up — not listed as required here #

TX DRV bias current for >= 1.65Gbps

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

Minimum value (minimum): 0

Maximum value (maximum): 63

Default value (default): 28

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "clock-output-names", "#phy-cells", "#clock-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "mediatek,mt8195-hdmi-phy"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Maximum number of items (maxItems): 1

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8173-clk.h>
hdmi_phy: hdmi-phy@10209100 {
    compatible = "mediatek,mt8173-hdmi-phy";
    reg = <0x10209100 0x24>;
    clocks = <&apmixedsys CLK_APMIXED_HDMI_REF>;
    clock-names = "pll_ref";
    clock-output-names = "hdmitx_dig_cts";
    mediatek,ibias = <0xa>;
    mediatek,ibias_up = <0x1c>;
    #clock-cells = <0>;
    #phy-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (c) 2020 MediaTek

Edit this page