Marvell MMP2 Audio Clock Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,mmp2-audio-clock.yaml#"

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

Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"

The audio clock controller generates and supplies the clocks to the audio codec.

Each clock is assigned an identifier and client nodes use this identifier to specify the clock which they consume.

All these identifiers could be found in <dt-bindings/clock/marvell,mmp2-audio.h>.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,mmp2-audio-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Audio subsystem clock

Item 2

The crystal oscillator clock

Item 3

First I2S clock

Item 4

Second I2S clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "audio"

Item 2

Exact value (const): "vctcxo"

Item 3

Exact value (const): "i2s0"

Item 4

Exact value (const): "i2s1"

#clock-cells — required here #

Exact value (const): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/marvell,mmp2-audio.h>
#include <dt-bindings/clock/marvell,mmp2.h>
#include <dt-bindings/power/marvell,mmp2.h>

clock-controller@d42a0c30 {
  compatible = "marvell,mmp2-audio-clock";
  reg = <0xd42a0c30 0x10>;
  clock-names = "audio", "vctcxo", "i2s0", "i2s1";
  clocks = <&soc_clocks MMP2_CLK_AUDIO>,
           <&soc_clocks MMP2_CLK_VCTCXO>,
           <&soc_clocks MMP2_CLK_I2S0>,
           <&soc_clocks MMP2_CLK_I2S1>;
  power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;
  #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