[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251229111839.4009517-2-shengjiu.wang@nxp.com>
Date: Mon, 29 Dec 2025 19:18:38 +0800
From: Shengjiu Wang <shengjiu.wang@....com>
To: broonie@...nel.org,
kuninori.morimoto.gx@...esas.com,
lgirdwood@...il.com,
perex@...ex.cz,
tiwai@...e.com,
linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
devicetree@...r.kernel.org
Subject: [PATCH 1/2] ASoC: dt-bindings: simple-card: add 'hp-pin-name-headphone' property
The 'Headphones Jack' name used in current simple-card and audio-graph
card driver can't be recognized by user space service daemon like
pulseaudio and pipewire, which only recognize the 'Headphone Jack',
so add 'hp-pin-name-headphone' property for this case and it won't block
original use cases for 'Headphones Jack'
Signed-off-by: Shengjiu Wang <shengjiu.wang@....com>
---
Documentation/devicetree/bindings/sound/audio-graph-card2.yaml | 3 +++
Documentation/devicetree/bindings/sound/audio-graph.yaml | 3 +++
Documentation/devicetree/bindings/sound/simple-card.yaml | 3 +++
3 files changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml b/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml
index 40eb1d7d6cf1..803e0a960d2e 100644
--- a/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml
+++ b/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml
@@ -39,6 +39,9 @@ properties:
$ref: audio-graph.yaml#/properties/mic-det-gpios
widgets:
$ref: audio-graph.yaml#/properties/widgets
+ hp-pin-name-headphone:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description: Specify 'Headphone' as headphone pin name.
required:
- compatible
diff --git a/Documentation/devicetree/bindings/sound/audio-graph.yaml b/Documentation/devicetree/bindings/sound/audio-graph.yaml
index 9899d9d1958d..8cb2be122a6c 100644
--- a/Documentation/devicetree/bindings/sound/audio-graph.yaml
+++ b/Documentation/devicetree/bindings/sound/audio-graph.yaml
@@ -46,6 +46,9 @@ properties:
maxItems: 1
mic-det-gpios:
maxItems: 1
+ hp-pin-name-headphone:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description: Specify 'Headphone' as headphone pin name.
required:
- dais
diff --git a/Documentation/devicetree/bindings/sound/simple-card.yaml b/Documentation/devicetree/bindings/sound/simple-card.yaml
index 533d0a1da56e..9453089dc5f2 100644
--- a/Documentation/devicetree/bindings/sound/simple-card.yaml
+++ b/Documentation/devicetree/bindings/sound/simple-card.yaml
@@ -271,6 +271,9 @@ patternProperties:
maxItems: 1
mic-det-gpios:
maxItems: 1
+ hp-pin-name-headphone:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description: Specify 'Headphone' as headphone pin name.
patternProperties:
"^cpu(-[0-9]+)?$":
--
2.34.1
Powered by blists - more mailing lists