Allwinner A10 TCON Channel 0 Clock

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml#"

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

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

Deprecated (deprecated): true

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

#reset-cells — not listed as required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-tcon-ch0-clk", "allwinner,sun4i-a10-tcon-ch1-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-output-names — required here #

Maximum number of items (maxItems): 1

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

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun4i-a10-tcon-ch0-clk"

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) #

clk@1c20118 {
    #clock-cells = <0>;
    #reset-cells = <1>;
    compatible = "allwinner,sun4i-a10-tcon-ch0-clk";
    reg = <0x01c20118 0x4>;
    clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
    clock-output-names = "tcon-ch0-sclk";
};
clk@1c2012c {
    #clock-cells = <0>;
    compatible = "allwinner,sun4i-a10-tcon-ch1-clk";
    reg = <0x01c2012c 0x4>;
    clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
    clock-output-names = "tcon-ch1-sclk";
};

Source notes #

Annotations retained from the schema source

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

Edit this page