Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / sound / qcom,wcd93xx-common.yaml
blobf78ba148ad25ffeb21867fe98bdf2509c2086343
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,wcd93xx-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common properties for Qualcomm WCD93xx Audio Codec
9 maintainers:
10   - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12 properties:
13   reset-gpios:
14     description: GPIO spec for reset line to use
15     maxItems: 1
17   vdd-buck-supply:
18     description: A reference to the 1.8V buck supply
20   vdd-rxtx-supply:
21     description: A reference to the 1.8V rx supply
23   vdd-io-supply:
24     description: A reference to the 1.8V I/O supply
26   vdd-mic-bias-supply:
27     description: A reference to the 3.8V mic bias supply
29   qcom,tx-device:
30     $ref: /schemas/types.yaml#/definitions/phandle-array
31     description: A reference to Soundwire tx device phandle
33   qcom,rx-device:
34     $ref: /schemas/types.yaml#/definitions/phandle-array
35     description: A reference to Soundwire rx device phandle
37   qcom,micbias1-microvolt:
38     description: micbias1 voltage
39     minimum: 1800000
40     maximum: 2850000
42   qcom,micbias2-microvolt:
43     description: micbias2 voltage
44     minimum: 1800000
45     maximum: 2850000
47   qcom,micbias3-microvolt:
48     description: micbias3 voltage
49     minimum: 1800000
50     maximum: 2850000
52   qcom,micbias4-microvolt:
53     description: micbias4 voltage
54     minimum: 1800000
55     maximum: 2850000
57   qcom,hphl-jack-type-normally-closed:
58     description: Indicates that HPHL jack switch type is normally closed
59     type: boolean
61   qcom,ground-jack-type-normally-closed:
62     description: Indicates that Headset Ground switch type is normally closed
63     type: boolean
65   qcom,mbhc-headset-vthreshold-microvolt:
66     description: Voltage threshold value for headset detection
67     minimum: 0
68     maximum: 2850000
70   qcom,mbhc-headphone-vthreshold-microvolt:
71     description: Voltage threshold value for headphone detection
72     minimum: 0
73     maximum: 2850000
75   qcom,mbhc-buttons-vthreshold-microvolt:
76     description:
77       Array of 8 Voltage threshold values corresponding to headset
78       button0 - button7
79     minItems: 8
80     maxItems: 8
82   '#sound-dai-cells':
83     const: 1
85 required:
86   - reset-gpios
87   - qcom,tx-device
88   - qcom,rx-device
89   - qcom,micbias1-microvolt
90   - qcom,micbias2-microvolt
91   - qcom,micbias3-microvolt
92   - qcom,micbias4-microvolt
93   - "#sound-dai-cells"
95 additionalProperties: true