Skip to content

Commit 83a1164

Browse files
author
Codrin Ciubotariu
committed
ASoC: dt-bindings: microchip,pdmc: add 'sound-name-prefix' property
Add 'sound-name-prefix' property to differentiante between interfaces in DPCM (ASRC) use-cases. Property is optional. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
1 parent de0a3a4 commit 83a1164

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Documentation/devicetree/bindings/sound/microchip,pdmc.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ properties:
6464
maxItems: 4
6565
uniqueItems: true
6666

67+
sound-name-prefix:
68+
pattern: "^PDMC[0-9]$"
69+
$ref: /schemas/types.yaml#/definitions/string
70+
description:
71+
used as prefix for sink/source names of the component. Must be a
72+
unique string among multiple instances of the same component.
73+
The name can be "PDMC0" or "PDMC1" ... "PDMCx", where x depends
74+
on the maximum available instances on a Microchip SoC.
75+
6776
required:
6877
- compatible
6978
- reg

0 commit comments

Comments
 (0)