MediaTek Functional Clock Controller for MT6795

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

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

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>", "Chun-Jie Chen <chun-jie.chen@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,mt6795-mfgcfg", "mediatek,mt6795-vdecsys", "mediatek,mt6795-vencsys"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    mfgcfg: clock-controller@13000000 {
        compatible = "mediatek,mt6795-mfgcfg";
        reg = <0 0x13000000 0 0x1000>;
        #clock-cells = <1>;
    };

    vdecsys: clock-controller@16000000 {
        compatible = "mediatek,mt6795-vdecsys";
        reg = <0 0x16000000 0 0x1000>;
        #clock-cells = <1>;
    };

    vencsys: clock-controller@18000000 {
        compatible = "mediatek,mt6795-vencsys";
        reg = <0 0x18000000 0 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