* [PATCH 1/3] ASoC: dt-bindings: Use name-prefix schema
@ 2021-12-18 14:24 Alexander Stein
2021-12-18 14:24 ` [PATCH 2/3] ASoC: meson: t9015: add missing sound-name-prefix property Alexander Stein
2021-12-18 14:24 ` [PATCH 3/3] ASoC: meson: g12a: " Alexander Stein
0 siblings, 2 replies; 3+ messages in thread
From: Alexander Stein @ 2021-12-18 14:24 UTC (permalink / raw)
To: Jerome Brunet, Liam Girdwood, Mark Brown, Rob Herring
Cc: Alexander Stein, alsa-devel, devicetree
name-prefix.txt does not exist anymore, just reference the schema instead.
Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
---
.../devicetree/bindings/sound/simple-audio-amplifier.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml b/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml
index 26379377a7ac..1f0327474744 100644
--- a/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml
+++ b/Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml
@@ -9,6 +9,9 @@ title: Simple Audio Amplifier Device Tree Bindings
maintainers:
- Jerome Brunet <jbrunet@baylibre.com>
+allOf:
+ - $ref: name-prefix.yaml#
+
properties:
compatible:
enum:
@@ -22,10 +25,7 @@ properties:
description: >
power supply for the device
- sound-name-prefix:
- $ref: /schemas/types.yaml#/definitions/string
- description: >
- See ./name-prefix.txt
+ sound-name-prefix: pass
required:
- compatible
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/3] ASoC: meson: t9015: add missing sound-name-prefix property
2021-12-18 14:24 [PATCH 1/3] ASoC: dt-bindings: Use name-prefix schema Alexander Stein
@ 2021-12-18 14:24 ` Alexander Stein
2021-12-18 14:24 ` [PATCH 3/3] ASoC: meson: g12a: " Alexander Stein
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Stein @ 2021-12-18 14:24 UTC (permalink / raw)
To: Jerome Brunet, Liam Girdwood, Mark Brown, Rob Herring
Cc: Alexander Stein, alsa-devel, devicetree
This is used in meson-gxl and meson-g12-common .dtsi. Add the property to
the binding.
This fixes the dtschema warning:
audio-controller@32000: 'sound-name-prefix' does not match any of the
regexes: 'pinctrl-[0-9]+'
Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
---
All users have set this to "ACODEC", but I am not sure if this value is
mandatory, so I opted to not set a pattern for this property.
Documentation/devicetree/bindings/sound/amlogic,t9015.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml b/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml
index db7b04da0b39..580a3d040abc 100644
--- a/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml
+++ b/Documentation/devicetree/bindings/sound/amlogic,t9015.yaml
@@ -9,6 +9,9 @@ title: Amlogic T9015 Internal Audio DAC
maintainers:
- Jerome Brunet <jbrunet@baylibre.com>
+allOf:
+ - $ref: name-prefix.yaml#
+
properties:
$nodename:
pattern: "^audio-controller@.*"
@@ -38,6 +41,8 @@ properties:
description:
Analogue power supply.
+ sound-name-prefix: true
+
required:
- "#sound-dai-cells"
- compatible
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] ASoC: meson: g12a: add missing sound-name-prefix property
2021-12-18 14:24 [PATCH 1/3] ASoC: dt-bindings: Use name-prefix schema Alexander Stein
2021-12-18 14:24 ` [PATCH 2/3] ASoC: meson: t9015: add missing sound-name-prefix property Alexander Stein
@ 2021-12-18 14:24 ` Alexander Stein
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Stein @ 2021-12-18 14:24 UTC (permalink / raw)
To: Jerome Brunet, Liam Girdwood, Mark Brown, Rob Herring
Cc: Alexander Stein, alsa-devel, devicetree
This is used in meson-sm1 and meson-g12 .dtsi. Add the property to
the binding.
This fixes the dtschema warning:
audio-controller@740: 'sound-name-prefix' does not match any of the
regexes: 'pinctrl-[0-9]+'
Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
---
All users have set this to "TOACODEC", but I am not sure if this value is
mandatory, so I opted to not set a pattern for this property.
.../devicetree/bindings/sound/amlogic,g12a-toacodec.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml b/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml
index 3c3891d17238..28c082b07c3e 100644
--- a/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml
+++ b/Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml
@@ -9,6 +9,9 @@ title: Amlogic G12a Internal DAC Control Glue
maintainers:
- Jerome Brunet <jbrunet@baylibre.com>
+allOf:
+ - $ref: name-prefix.yaml#
+
properties:
$nodename:
pattern: "^audio-controller@.*"
@@ -31,6 +34,8 @@ properties:
resets:
maxItems: 1
+ sound-name-prefix: pass
+
required:
- "#sound-dai-cells"
- compatible
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-18 14:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-18 14:24 [PATCH 1/3] ASoC: dt-bindings: Use name-prefix schema Alexander Stein
2021-12-18 14:24 ` [PATCH 2/3] ASoC: meson: t9015: add missing sound-name-prefix property Alexander Stein
2021-12-18 14:24 ` [PATCH 3/3] ASoC: meson: g12a: " Alexander Stein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).