xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,aoncc-sm8250.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*5def4c47SEmmanuel Vadot%YAML 1.2
3*5def4c47SEmmanuel Vadot---
4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,aoncc-sm8250.yaml#
5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5def4c47SEmmanuel Vadot
7*5def4c47SEmmanuel Vadottitle: Clock bindings for LPASS Always ON Clock Controller on SM8250 SoCs
8*5def4c47SEmmanuel Vadot
9*5def4c47SEmmanuel Vadotmaintainers:
10*5def4c47SEmmanuel Vadot  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11*5def4c47SEmmanuel Vadot
12*5def4c47SEmmanuel Vadotdescription: |
13*5def4c47SEmmanuel Vadot  The clock consumer should specify the desired clock by having the clock
14*5def4c47SEmmanuel Vadot  ID in its "clocks" phandle cell.
15*5def4c47SEmmanuel Vadot  See include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h for the full list
16*5def4c47SEmmanuel Vadot  of Audio Clock controller clock IDs.
17*5def4c47SEmmanuel Vadot
18*5def4c47SEmmanuel Vadotproperties:
19*5def4c47SEmmanuel Vadot  compatible:
20*5def4c47SEmmanuel Vadot    const: qcom,sm8250-lpass-aon
21*5def4c47SEmmanuel Vadot
22*5def4c47SEmmanuel Vadot  reg:
23*5def4c47SEmmanuel Vadot    maxItems: 1
24*5def4c47SEmmanuel Vadot
25*5def4c47SEmmanuel Vadot  '#clock-cells':
26*5def4c47SEmmanuel Vadot    const: 1
27*5def4c47SEmmanuel Vadot
28*5def4c47SEmmanuel Vadot  clocks:
29*5def4c47SEmmanuel Vadot    items:
30*5def4c47SEmmanuel Vadot      - description: LPASS Core voting clock
31*5def4c47SEmmanuel Vadot      - description: Glitch Free Mux register clock
32*5def4c47SEmmanuel Vadot
33*5def4c47SEmmanuel Vadot  clock-names:
34*5def4c47SEmmanuel Vadot    items:
35*5def4c47SEmmanuel Vadot      - const: core
36*5def4c47SEmmanuel Vadot      - const: bus
37*5def4c47SEmmanuel Vadot
38*5def4c47SEmmanuel Vadotrequired:
39*5def4c47SEmmanuel Vadot  - compatible
40*5def4c47SEmmanuel Vadot  - reg
41*5def4c47SEmmanuel Vadot  - '#clock-cells'
42*5def4c47SEmmanuel Vadot  - clocks
43*5def4c47SEmmanuel Vadot  - clock-names
44*5def4c47SEmmanuel Vadot
45*5def4c47SEmmanuel VadotadditionalProperties: false
46*5def4c47SEmmanuel Vadot
47*5def4c47SEmmanuel Vadotexamples:
48*5def4c47SEmmanuel Vadot  - |
49*5def4c47SEmmanuel Vadot    #include <dt-bindings/clock/qcom,sm8250-lpass-aoncc.h>
50*5def4c47SEmmanuel Vadot    #include <dt-bindings/sound/qcom,q6afe.h>
51*5def4c47SEmmanuel Vadot    clock-controller@3800000 {
52*5def4c47SEmmanuel Vadot      #clock-cells = <1>;
53*5def4c47SEmmanuel Vadot      compatible = "qcom,sm8250-lpass-aon";
54*5def4c47SEmmanuel Vadot      reg = <0x03380000 0x40000>;
55*5def4c47SEmmanuel Vadot      clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
56*5def4c47SEmmanuel Vadot               <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
57*5def4c47SEmmanuel Vadot      clock-names = "core", "bus";
58*5def4c47SEmmanuel Vadot    };
59