brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · dffa734 Raw
76 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/clock/marvell,mmp2-audio-clock.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Marvell MMP2 Audio Clock Controller8 9maintainers:10  - Lubomir Rintel <lkundrak@v3.sk>11 12description: |13  The audio clock controller generates and supplies the clocks to the audio14  codec.15 16  Each clock is assigned an identifier and client nodes use this identifier17  to specify the clock which they consume.18 19  All these identifiers could be found in20  <dt-bindings/clock/marvell,mmp2-audio.h>.21 22properties:23  compatible:24    enum:25      - marvell,mmp2-audio-clock26 27  reg:28    maxItems: 129 30  clocks:31    items:32      - description: Audio subsystem clock33      - description: The crystal oscillator clock34      - description: First I2S clock35      - description: Second I2S clock36 37  clock-names:38    items:39      - const: audio40      - const: vctcxo41      - const: i2s042      - const: i2s143 44  '#clock-cells':45    const: 146 47  power-domains:48    maxItems: 149 50required:51  - compatible52  - reg53  - clocks54  - clock-names55  - '#clock-cells'56 57additionalProperties: false58 59examples:60  - |61    #include <dt-bindings/clock/marvell,mmp2-audio.h>62    #include <dt-bindings/clock/marvell,mmp2.h>63    #include <dt-bindings/power/marvell,mmp2.h>64 65    clock-controller@d42a0c30 {66      compatible = "marvell,mmp2-audio-clock";67      reg = <0xd42a0c30 0x10>;68      clock-names = "audio", "vctcxo", "i2s0", "i2s1";69      clocks = <&soc_clocks MMP2_CLK_AUDIO>,70               <&soc_clocks MMP2_CLK_VCTCXO>,71               <&soc_clocks MMP2_CLK_I2S0>,72               <&soc_clocks MMP2_CLK_I2S1>;73      power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;74      #clock-cells = <1>;75    };76