Samsung Exynos SoC Audio SubSystem clock controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos-audss-clock.yaml#"

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

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

All available clocks are defined as preprocessor macros in include/dt-bindings/clock/exynos-audss-clk.h header.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos4210-audss-clock", "samsung,exynos5250-audss-clock", "samsung,exynos5410-audss-clock", "samsung,exynos5420-audss-clock"

clocks — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Fixed rate PLL reference clock, parent of mout_audss. "fin_pll" is used if not specified.

Item 2

Input PLL to the AudioSS block, parent of mout_audss. "fout_epll" is used if not specified.

Item 3

Audio bus clock, parent of mout_i2s. "sclk_audio0" is used if not specified.

Item 4

PCM clock, parent of sclk_pcm. "sclk_pcm0" is used if not specified.

Item 5

External i2s clock, parent of mout_i2s. "cdclk0" is used if not specified.

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "pll_ref"

Item 2

Exact value (const): "pll_in"

Item 3

Exact value (const): "sclk_audio"

Item 4

Exact value (const): "sclk_pcm_in"

Item 5

Exact value (const): "cdclk"

#clock-cells — required here #

Exact value (const): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

clock-controller@3810000 {
    compatible = "samsung,exynos5250-audss-clock";
    reg = <0x03810000 0x0c>;
    #clock-cells = <1>;
    clocks = <&clock 1>, <&clock 7>, <&clock 138>, <&clock 160>, <&ext_i2s_clk>;
    clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in", "cdclk";
};

Source notes #

Annotations retained from the schema source

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

Edit this page