MediaTek Functional Clock Controller for MT8188

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

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

Maintainers (maintainers): "Garmin Chang <garmin.chang@mediatek.com>"

The clock architecture in MediaTek like below
PLLs -->
        dividers -->
                    muxes
                         -->
                            clock gate

The devices provide clock gate control in different IP blocks.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt8188-adsp-audio26m", "mediatek,mt8188-camsys", "mediatek,mt8188-camsys-rawa", "mediatek,mt8188-camsys-rawb", "mediatek,mt8188-camsys-yuva", "mediatek,mt8188-camsys-yuvb", "mediatek,mt8188-ccusys", "mediatek,mt8188-imgsys", "mediatek,mt8188-imgsys-wpe1", "mediatek,mt8188-imgsys-wpe2", "mediatek,mt8188-imgsys-wpe3", "mediatek,mt8188-imgsys1-dip-nr", "mediatek,mt8188-imgsys1-dip-top", "mediatek,mt8188-imp-iic-wrap-c", "mediatek,mt8188-imp-iic-wrap-en", "mediatek,mt8188-imp-iic-wrap-w", "mediatek,mt8188-ipesys", "mediatek,mt8188-mfgcfg", "mediatek,mt8188-vdecsys", "mediatek,mt8188-vdecsys-soc", "mediatek,mt8188-vencsys", "mediatek,mt8188-wpesys", "mediatek,mt8188-wpesys-vpp0"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

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

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)

Allowed values (enum): "mediatek,mt8188-camsys-rawa", "mediatek,mt8188-camsys-rawb", "mediatek,mt8188-camsys-yuva", "mediatek,mt8188-camsys-yuvb", "mediatek,mt8188-imgsys-wpe1", "mediatek,mt8188-imgsys-wpe2", "mediatek,mt8188-imgsys-wpe3", "mediatek,mt8188-imgsys1-dip-nr", "mediatek,mt8188-imgsys1-dip-top", "mediatek,mt8188-ipesys"

When the condition matches (then) #

Required in this object (required): "#reset-cells"

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

false

Not allowed by this rule.

Examples (examples) #

clock-controller@11283000 {
    compatible = "mediatek,mt8188-imp-iic-wrap-c";
    reg = <0x11283000 0x1000>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page