Skip to content

Commit ccbd847

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: qcom: dt-bindings: add bindings for lpass wsa macro codec
This binding is for LPASS has internal codec WSA macro which is for connecting with WSA Smart speakers. Signed-off-by: Srinivas Kandagatla <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 1482304 commit ccbd847

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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-wsa-macro.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: LPASS(Low Power Audio Subsystem) VA Macro audio codec DT bindings
8+
9+
maintainers:
10+
- Srinivas Kandagatla <[email protected]>
11+
12+
properties:
13+
compatible:
14+
const: qcom,sm8250-lpass-wsa-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+
qcom,dmic-sample-rate:
41+
description: dmic sample rate
42+
$ref: /schemas/types.yaml#/definitions/uint32
43+
44+
vdd-micb-supply:
45+
description: phandle to voltage regulator of MIC Bias
46+
47+
required:
48+
- compatible
49+
- reg
50+
- "#sound-dai-cells"
51+
52+
additionalProperties: false
53+
54+
examples:
55+
- |
56+
#include <dt-bindings/sound/qcom,q6afe.h>
57+
codec@3240000 {
58+
compatible = "qcom,sm8250-lpass-wsa-macro";
59+
reg = <0x3240000 0x1000>;
60+
#sound-dai-cells = <1>;
61+
#clock-cells = <0>;
62+
clocks = <&audiocc 1>,
63+
<&audiocc 0>,
64+
<&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
65+
<&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
66+
<&vamacro>;
67+
clock-names = "mclk", "npl", "macro", "dcodec", "fsgen";
68+
clock-output-names = "mclk";
69+
};

0 commit comments

Comments
 (0)