Skip to content

Commit 92b5c25

Browse files
author
Codrin Ciubotariu
committed
ASoC: dt-bindings: mchp,i2s-mcc: 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 eb2b7ee commit 92b5c25

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Documentation/devicetree/bindings/sound/mchp,i2s-mcc.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ properties:
6666
enum: [0, 1, 2, 3]
6767
default: 0
6868

69+
sound-name-prefix:
70+
pattern: "^I2SMCC[0-9]$"
71+
$ref: /schemas/types.yaml#/definitions/string
72+
description:
73+
used as prefix for sink/source names of the component. Must be a
74+
unique string among multiple instances of the same component.
75+
The name can be "I2SMCC0" or "I2SMCC1" ... "I2SMCCx", where x depends
76+
on the maximum available instances on a Microchip SoC.
77+
6978
if:
7079
properties:
7180
compatible:

0 commit comments

Comments
 (0)