1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/clock/qcom,audiocc-sm8250.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Clock bindings for LPASS Audio Clock Controller on SM8250 SoCs
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 The clock consumer should specify the desired clock by having the clock
14 ID in its "clocks" phandle cell.
15 See include/dt-bindings/clock/qcom,sm8250-lpass-audiocc.h for the full list
16 of Audio Clock controller clock IDs.
20 const: qcom,sm8250-lpass-audiocc
30 - description: LPASS Core voting clock
31 - description: Glitch Free Mux register clock
45 additionalProperties: false
49 #include <dt-bindings/clock/qcom,sm8250-lpass-audiocc.h>
50 #include <dt-bindings/sound/qcom,q6afe.h>
51 clock-controller@3300000 {
53 compatible = "qcom,sm8250-lpass-audiocc";
54 reg = <0x03300000 0x30000>;
55 clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
56 <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
57 clock-names = "core", "bus";