Skip to content

Commit 3fda853

Browse files
krzkbroonie
authored andcommitted
ASoC: dt-bindings: Extend name-prefix.yaml into common DAI properties
Rename name-prefix.yaml into common DAI schema and document '#sound-dai-cells' for completeness. The '#sound-dai-cells' cannot be really constrained, as there are users with value of 0, 1 and 2, but at least it brings definition to one common place. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20221203160442.69594-1-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent b5d5051 commit 3fda853

23 files changed

Lines changed: 26 additions & 24 deletions

Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ maintainers:
1111
- Neil Armstrong <neil.armstrong@linaro.org>
1212

1313
allOf:
14-
- $ref: /schemas/sound/name-prefix.yaml#
14+
- $ref: /schemas/sound/dai-common.yaml#
1515

1616
description: |
1717
The Amlogic Meson Synopsys Designware Integration is composed of

Documentation/devicetree/bindings/sound/amlogic,aiu.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Jerome Brunet <jbrunet@baylibre.com>
1111

1212
allOf:
13-
- $ref: name-prefix.yaml#
13+
- $ref: dai-common.yaml#
1414

1515
properties:
1616
$nodename:

Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Jerome Brunet <jbrunet@baylibre.com>
1111

1212
allOf:
13-
- $ref: name-prefix.yaml#
13+
- $ref: dai-common.yaml#
1414

1515
properties:
1616
$nodename:

Documentation/devicetree/bindings/sound/amlogic,t9015.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Jerome Brunet <jbrunet@baylibre.com>
1111

1212
allOf:
13-
- $ref: name-prefix.yaml#
13+
- $ref: dai-common.yaml#
1414

1515
properties:
1616
$nodename:

Documentation/devicetree/bindings/sound/awinic,aw8738.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description:
1515
function (primarily the power limit for the amplifier).
1616

1717
allOf:
18-
- $ref: name-prefix.yaml#
18+
- $ref: dai-common.yaml#
1919

2020
properties:
2121
compatible:

Documentation/devicetree/bindings/sound/name-prefix.yaml renamed to Documentation/devicetree/bindings/sound/dai-common.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/sound/name-prefix.yaml#
4+
$id: http://devicetree.org/schemas/sound/dai-common.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Component sound name prefix
7+
title: Digital Audio Interface Common Properties
88

99
maintainers:
1010
- Jerome Brunet <jbrunet@baylibre.com>
@@ -18,4 +18,6 @@ properties:
1818
sink/source names may use this property to prepend the name of their
1919
sinks/sources with the provided string.
2020
21+
'#sound-dai-cells': true
22+
2123
additionalProperties: true

Documentation/devicetree/bindings/sound/dmic-codec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
1111

1212
allOf:
13-
- $ref: name-prefix.yaml#
13+
- $ref: dai-common.yaml#
1414

1515
properties:
1616
compatible:

Documentation/devicetree/bindings/sound/linux,spdif-dit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Mark Brown <broonie@kernel.org>
1111

1212
allOf:
13-
- $ref: name-prefix.yaml#
13+
- $ref: dai-common.yaml#
1414

1515
properties:
1616
compatible:

Documentation/devicetree/bindings/sound/nvidia,tegra186-asrc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ maintainers:
2323
- Sameer Pujar <spujar@nvidia.com>
2424

2525
allOf:
26-
- $ref: name-prefix.yaml#
26+
- $ref: dai-common.yaml#
2727

2828
properties:
2929
$nodename:

Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ maintainers:
1818
- Sameer Pujar <spujar@nvidia.com>
1919

2020
allOf:
21-
- $ref: name-prefix.yaml#
21+
- $ref: dai-common.yaml#
2222

2323
properties:
2424
$nodename:

0 commit comments

Comments
 (0)