Merge tag 'for-5.15/parisc' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / qcom,lpass-rx-macro.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/qcom,lpass-rx-macro.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: LPASS(Low Power Audio Subsystem) RX Macro audio codec DT bindings
8
9 maintainers:
10   - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11
12 properties:
13   compatible:
14     const: qcom,sm8250-lpass-rx-macro
15
16   reg:
17     maxItems: 1
18
19   "#sound-dai-cells":
20     const: 1
21
22   '#clock-cells':
23     const: 0
24
25   clocks:
26     maxItems: 5
27
28   clock-names:
29     items:
30       - const: mclk
31       - const: npl
32       - const: macro
33       - const: dcodec
34       - const: fsgen
35
36   clock-output-names:
37     items:
38       - const: mclk
39
40 required:
41   - compatible
42   - reg
43   - "#sound-dai-cells"
44
45 additionalProperties: false
46
47 examples:
48   - |
49     #include <dt-bindings/sound/qcom,q6afe.h>
50     codec@3200000 {
51       compatible = "qcom,sm8250-lpass-rx-macro";
52       reg = <0x3200000 0x1000>;
53       #sound-dai-cells = <1>;
54       #clock-cells = <0>;
55       clocks = <&audiocc 0>,
56                <&audiocc 1>,
57                <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
58                <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
59                <&vamacro>;
60       clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
61       clock-output-names = "mclk";
62     };