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 <linusw@kernel.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260923-ux500-simple-sound-v3-1-56a771c3ea28@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
Linus Walleij 2026-09-23 19:46:55 +02:00 committed by Lee Jones
parent e8e8d60fe8
commit 43be6abd67

View File

@ -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