On 19/03/2025 10:01, Dmitry Baryshkov wrote:
On Wed, Mar 19, 2025 at 09:16:35AM +0000, srinivas.kandagatla@xxxxxxxxxx wrote:
From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
On some platforms to minimise pop and click during switching between
CTIA and OMTP headset an additional HiFi Switch is used. Most common
case is that this switch is switched on by default, but on some
platforms this needs a regulator enable.
Is this regulator supplying the codec or some external component? In the
latter case it's likely that it should not be a part of WCD bindings.
This is regulator powering a mux that is driven by gpio which is part of
codec binding. So I would assume this will fall into the codec.
Where would we fit this if not part of codec?
Unless we mark this regulator as always on.
--srini
This patch adds required bindings to add such regulator.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
---
.../devicetree/bindings/sound/qcom,wcd93xx-common.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd93xx-common.yaml b/Documentation/devicetree/bindings/sound/qcom,wcd93xx-common.yaml
index f78ba148ad25..fa00570caf24 100644
--- a/Documentation/devicetree/bindings/sound/qcom,wcd93xx-common.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,wcd93xx-common.yaml
@@ -26,6 +26,10 @@ properties:
vdd-mic-bias-supply:
description: A reference to the 3.8V mic bias supply
+ vdd-hp-switch-supply:
+ description: A reference to the audio switch supply
+ for switching CTIA/OMTP Headset
+
qcom,tx-device:
$ref: /schemas/types.yaml#/definitions/phandle-array
description: A reference to Soundwire tx device phandle
--
2.39.5