18c2ecf20Sopenharmony_ciMediaTek AUDSYS controller 28c2ecf20Sopenharmony_ci============================ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciThe MediaTek AUDSYS controller provides various clocks to the system. 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciRequired Properties: 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci- compatible: Should be one of: 98c2ecf20Sopenharmony_ci - "mediatek,mt2701-audsys", "syscon" 108c2ecf20Sopenharmony_ci - "mediatek,mt6765-audsys", "syscon" 118c2ecf20Sopenharmony_ci - "mediatek,mt6779-audio", "syscon" 128c2ecf20Sopenharmony_ci - "mediatek,mt7622-audsys", "syscon" 138c2ecf20Sopenharmony_ci - "mediatek,mt7623-audsys", "mediatek,mt2701-audsys", "syscon" 148c2ecf20Sopenharmony_ci - "mediatek,mt8167-audiosys", "syscon" 158c2ecf20Sopenharmony_ci - "mediatek,mt8183-audiosys", "syscon" 168c2ecf20Sopenharmony_ci - "mediatek,mt8516-audsys", "syscon" 178c2ecf20Sopenharmony_ci- #clock-cells: Must be 1 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciThe AUDSYS controller uses the common clk binding from 208c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/clock/clock-bindings.txt 218c2ecf20Sopenharmony_ciThe available clocks are defined in dt-bindings/clock/mt*-clk.h. 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciRequired sub-nodes: 248c2ecf20Sopenharmony_ci------- 258c2ecf20Sopenharmony_ciFor common binding part and usage, refer to 268c2ecf20Sopenharmony_ci../sonud/mt2701-afe-pcm.txt. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciExample: 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci audsys: clock-controller@11220000 { 318c2ecf20Sopenharmony_ci compatible = "mediatek,mt7622-audsys", "syscon"; 328c2ecf20Sopenharmony_ci reg = <0 0x11220000 0 0x2000>; 338c2ecf20Sopenharmony_ci #clock-cells = <1>; 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci afe: audio-controller { 368c2ecf20Sopenharmony_ci ... 378c2ecf20Sopenharmony_ci }; 388c2ecf20Sopenharmony_ci }; 39