15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,aoncc-sm8250.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: LPASS Always ON Clock Controller on SM8250 SoCs 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotdescription: | 135def4c47SEmmanuel Vadot The clock consumer should specify the desired clock by having the clock 145def4c47SEmmanuel Vadot ID in its "clocks" phandle cell. 155def4c47SEmmanuel Vadot See include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h for the full list 165def4c47SEmmanuel Vadot of Audio Clock controller clock IDs. 175def4c47SEmmanuel Vadot 185def4c47SEmmanuel Vadotproperties: 195def4c47SEmmanuel Vadot compatible: 20*8bab661aSEmmanuel Vadot const: qcom,sm8250-lpass-aoncc 215def4c47SEmmanuel Vadot 225def4c47SEmmanuel Vadot reg: 235def4c47SEmmanuel Vadot maxItems: 1 245def4c47SEmmanuel Vadot 255def4c47SEmmanuel Vadot '#clock-cells': 265def4c47SEmmanuel Vadot const: 1 275def4c47SEmmanuel Vadot 285def4c47SEmmanuel Vadot clocks: 295def4c47SEmmanuel Vadot items: 305def4c47SEmmanuel Vadot - description: LPASS Core voting clock 31*8bab661aSEmmanuel Vadot - description: LPASS Audio codec voting clock 325def4c47SEmmanuel Vadot - description: Glitch Free Mux register clock 335def4c47SEmmanuel Vadot 345def4c47SEmmanuel Vadot clock-names: 355def4c47SEmmanuel Vadot items: 365def4c47SEmmanuel Vadot - const: core 37*8bab661aSEmmanuel Vadot - const: audio 385def4c47SEmmanuel Vadot - const: bus 395def4c47SEmmanuel Vadot 405def4c47SEmmanuel Vadotrequired: 415def4c47SEmmanuel Vadot - compatible 425def4c47SEmmanuel Vadot - reg 435def4c47SEmmanuel Vadot - '#clock-cells' 445def4c47SEmmanuel Vadot - clocks 455def4c47SEmmanuel Vadot - clock-names 465def4c47SEmmanuel Vadot 475def4c47SEmmanuel VadotadditionalProperties: false 485def4c47SEmmanuel Vadot 495def4c47SEmmanuel Vadotexamples: 505def4c47SEmmanuel Vadot - | 515def4c47SEmmanuel Vadot #include <dt-bindings/clock/qcom,sm8250-lpass-aoncc.h> 525def4c47SEmmanuel Vadot #include <dt-bindings/sound/qcom,q6afe.h> 535def4c47SEmmanuel Vadot clock-controller@3800000 { 545def4c47SEmmanuel Vadot #clock-cells = <1>; 55*8bab661aSEmmanuel Vadot compatible = "qcom,sm8250-lpass-aoncc"; 565def4c47SEmmanuel Vadot reg = <0x03380000 0x40000>; 575def4c47SEmmanuel Vadot clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 58*8bab661aSEmmanuel Vadot <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 595def4c47SEmmanuel Vadot <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; 60*8bab661aSEmmanuel Vadot clock-names = "core", "audio", "bus"; 615def4c47SEmmanuel Vadot }; 62