Allwinner A83t HDMI PHY

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

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#phy-cells — not listed as required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun8i-a83t-hdmi-phy", "allwinner,sun8i-h3-hdmi-phy", "allwinner,sun8i-r40-hdmi-phy", "allwinner,sun50i-a64-hdmi-phy", "allwinner,sun50i-h6-hdmi-phy"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Bus Clock

Item 2

Module Clock

Item 3

Parent of the PHY clock

Item 4

Second possible parent of the PHY clock

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "mod"

Item 3

Exact value (const): "pll-0"

Item 4

Exact value (const): "pll-1"

resets — required here #

Maximum number of items (maxItems): 1

reset-names — required here #

Exact value (const): "phy"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun8i-r40-hdmi-phy"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here #

Minimum number of items (minItems): 4

clock-names — not listed as required here #

Minimum number of items (minItems): 4

When the condition does not match (else) #

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun8i-h3-hdmi-phy", "allwinner,sun50i-a64-hdmi-phy"

When the condition matches (then) #

Properties and child nodes (properties) #

clocks — not listed as required here

Minimum number of items (minItems): 3

clock-names — not listed as required here

Minimum number of items (minItems): 3

When the condition does not match (else) #

Properties and child nodes (properties) #

clocks — not listed as required here

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Maximum number of items (maxItems): 2

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun8i-a83t-ccu.h>
#include <dt-bindings/reset/sun8i-a83t-ccu.h>

hdmi_phy: hdmi-phy@1ef0000 {
    compatible = "allwinner,sun8i-a83t-hdmi-phy";
    reg = <0x01ef0000 0x10000>;
    clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_SLOW>;
    clock-names = "bus", "mod";
    resets = <&ccu RST_BUS_HDMI0>;
    reset-names = "phy";
    #phy-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page