ASoC: dt-bindings: Use name-prefix schema
Subsystems (3)
PATCH v2 1/3 ASoC: dt-bindings: Use name-prefix schema
name-prefix.txt does not exist anymore, just reference the schema instead.
---
Changes in v2:
* Fix 'pass' -> 'true'
.../devicetree/bindings/sound/simple-audio-amplifier.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml +4 -4
@@ -9,6 +9,9 @@ title: Simple Audio Amplifier Device Tree Bindings maintainers: - Jerome Brunet <[email protected]> +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: true required: - compatible
Signature · 1 line
2.34.1
PATCH v2 2/3 ASoC: meson: t9015: add missing sound-name-prefix property
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]+'
---
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.
Changes in v2:
* None
Documentation/devicetree/bindings/sound/amlogic,t9015.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/sound/amlogic,t9015.yaml +5 -0
@@ -9,6 +9,9 @@ title: Amlogic T9015 Internal Audio DAC maintainers: - Jerome Brunet <[email protected]> +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
Signature · 1 line
2.34.1
Re: [PATCH v2 2/3] ASoC: meson: t9015: add missing sound-name-prefix property
Quoted 11 lines · Alexander Stein
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 <[email protected]>---
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.
Quoted 6 lines
Changes in v2:
* NoneDocumentation/devicetree/bindings/sound/amlogic,t9015.yaml | 5 +++++ 1 file changed, 5 insertions(+)
PATCH v2 3/3 ASoC: meson: g12a: add missing sound-name-prefix property
In reply to Alexander SteinThis 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]+'
---
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.
Changes in v2:
* Fix 'pass' -> 'true'
.../devicetree/bindings/sound/amlogic,g12a-toacodec.yaml | 5 +++++
1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml +5 -0
@@ -9,6 +9,9 @@ title: Amlogic G12a Internal DAC Control Glue maintainers: - Jerome Brunet <[email protected]> +allOf: + - $ref: name-prefix.yaml# + properties: $nodename: pattern: "^audio-controller@.*"
@@ -31,6 +34,8 @@ properties: resets: maxItems: 1 + sound-name-prefix: true + required: - "#sound-dai-cells" - compatible
Signature · 1 line
2.34.1
Re: [PATCH v2 3/3] ASoC: meson: g12a: add missing sound-name-prefix property
Quoted 11 lines · Alexander Stein
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 <[email protected]>---
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.
Quoted 6 lines
Changes in v2:
* Fix 'pass' -> 'true'
.../devicetree/bindings/sound/amlogic,g12a-toacodec.yaml| 5 +++++1 file changed, 5 insertions(+)
Jerome Brunet
maintainerQuoted 3 lines · Alexander Stein
name-prefix.txt does not exist anymore, just reference the schema instead.
Signed-off-by Alexander Stein <[email protected]>
Thanks for doing this.
To keep things coherent, it would be nice if you could do the same for the other amlogic sound components. They all use prefixes, except card drivers.
Side note: Any ASoC component could use the sound-name-prefix. Is there a way express that somehow ? instead of repeating this type of change in every codec/cpu binding doc ?
Quoted 22 lines
---
Changes in v2:
* Fix 'pass' -> 'true'
.../devicetree/bindings/sound/simple-audio-amplifier.yaml| 8 ++++----1 file changed, 4 insertions(+), 4 deletions(-)Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml +3
-0@@ -9,6 +9,9 @@ title: Simple Audio Amplifier Device Tree Bindings maintainers: - Jerome Brunet <[email protected]> +allOf: + - $ref: name-prefix.yaml# + properties: compatible: enum:
Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml properties: · line 28
Quoted 8 lines
Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml +1
-4@@ -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: true
I've seen a couple of file with this, according the commit description it solves some kind of name clash but I did not really get how ...
Quoted 3 lines
Documentation/devicetree/bindings/sound/simple-audio-amplifier.yaml +0
-0required: - compatible
Quoted 10 lines · Alexander Stein
name-prefix.txt does not exist anymore, just reference the schema instead.
Signed-off-by Alexander Stein <[email protected]>---
Changes in v2:
* Fix 'pass' -> 'true'
.../devicetree/bindings/sound/simple-audio-amplifier.yaml| 8 ++++----1 file changed, 4 insertions(+), 4 deletions(-)
Mark Brown
maintainerQuoted 3 lines · Alexander Stein
name-prefix.txt does not exist anymore, just reference the schema instead.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/3] ASoC: dt-bindings: Use name-prefix schema
commit: 0d422a466ef7fdbbe402194ac06144d1bbcdc227
[2/3] ASoC: meson: t9015: add missing sound-name-prefix property
commit: 847cbea6459d5beb3f0f960fde4337f28b663eae
[3/3] ASoC: meson: g12a: add missing sound-name-prefix property
commit: 1f6532073e3e9caee1dbc3f9b4be28359a181ea4All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark