Skip to content

Commit eb2b7ee

Browse files
author
Codrin Ciubotariu
committed
ASoC: dt-bindings: mchp,spdiftx: 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 bc4ca33 commit eb2b7ee

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Documentation/devicetree/bindings/sound/mchp,spdiftx.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ properties:
4343
dma-names:
4444
const: tx
4545

46+
sound-name-prefix:
47+
pattern: "^SPDIFTX[0-9]$"
48+
$ref: /schemas/types.yaml#/definitions/string
49+
description:
50+
used as prefix for sink/source names of the component. Must be a
51+
unique string among multiple instances of the same component.
52+
The name can be "SPDIFTX0" or "SPDIFTX1" ... "SPDIFTXx", where x depends
53+
on the maximum available instances on a Microchip SoC.
54+
4655
required:
4756
- "#sound-dai-cells"
4857
- compatible

0 commit comments

Comments
 (0)