From 43be6abd6775820fdac3729962f7e7b841104fda Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Wed, 23 Sep 2026 19:46:55 +0200 Subject: [PATCH] mfd: dt-bindings: ab8500: Describe codec graph and microphone wiring The AB8500 and AB8505 codec block exposes two digital audio interfaces. Define the codec as a one-cell sound DAI provider and allow it to expose both interfaces as audio graph ports. The codec binding conversion also omitted the analog microphone type and bias-routing properties supported by the driver and documented by the old text binding. Restore them so boards can describe the codec wiring without schema warnings. Assisted-by: LLM Signed-off-by: Linus Walleij Reviewed-by: Rob Herring (Arm) Link: https://patch.msgid.link/20260923-ux500-simple-sound-v3-1-56a771c3ea28@kernel.org Signed-off-by: Lee Jones --- .../bindings/mfd/stericsson,ab8500.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/stericsson,ab8500.yaml b/Documentation/devicetree/bindings/mfd/stericsson,ab8500.yaml index 0fdfbfdfe88a..873e08266a2b 100644 --- a/Documentation/devicetree/bindings/mfd/stericsson,ab8500.yaml +++ b/Documentation/devicetree/bindings/mfd/stericsson,ab8500.yaml @@ -312,6 +312,33 @@ properties: items: - const: audioclk + '#sound-dai-cells': + description: Selects one of the two digital audio interfaces + const: 1 + + ports: + $ref: /schemas/sound/audio-graph-port.yaml#/definitions/ports + + stericsson,amic1-type-single-ended: + description: Configure analog microphone 1 as single-ended + type: boolean + + stericsson,amic2-type-single-ended: + description: Configure analog microphone 2 as single-ended + type: boolean + + stericsson,amic1a-bias-vamic2: + description: Supply analog microphone 1A from VAMIC2 instead of VAMIC1 + type: boolean + + stericsson,amic1b-bias-vamic2: + description: Supply analog microphone 1B from VAMIC2 instead of VAMIC1 + type: boolean + + stericsson,amic2-bias-vamic1: + description: Supply analog microphone 2 from VAMIC1 instead of VAMIC2 + type: boolean + stericsson,earpeice-cmv: description: Earpiece voltage $ref: /schemas/types.yaml#/definitions/uint32 @@ -319,6 +346,7 @@ properties: required: - compatible + - '#sound-dai-cells' additionalProperties: false