Skip to content

Commit

Permalink
ASoC: More amlogic sound-name-prefix DT fixes
Browse files Browse the repository at this point in the history
Merge series from Alexander Stein <alexander.stein@mailbox.org>:

Following up [1] here are more fix for missing sound-name-prefix
properties in the arch/arm64/boot/dts/amlogic/ subtree.

[1] https://www.spinics.net/lists/devicetree/msg466125.html
  • Loading branch information
Mark Brown committed Dec 23, 2021
2 parents 1d194b6 + 559ec82 commit 8102d8c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ title: Amlogic AIU audio output controller
maintainers:
- Jerome Brunet <jbrunet@baylibre.com>

allOf:
- $ref: name-prefix.yaml#

properties:
$nodename:
pattern: "^audio-controller@.*"
Expand Down Expand Up @@ -65,6 +68,8 @@ properties:
resets:
maxItems: 1

sound-name-prefix: true

required:
- "#sound-dai-cells"
- compatible
Expand Down
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/sound/linux,spdif-dit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ title: Dummy SPDIF Transmitter Device Tree Bindings
maintainers:
- Mark Brown <broonie@kernel.org>

allOf:
- $ref: name-prefix.yaml#

properties:
compatible:
const: linux,spdif-dit

"#sound-dai-cells":
const: 0

sound-name-prefix: true

required:
- "#sound-dai-cells"
- compatible
Expand Down

0 comments on commit 8102d8c

Please sign in to comment.