* [PATCH] ASoC: cs35l41: Binding fixes
@ 2021-09-15 19:14 David Rhodes
2021-09-16 15:14 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: David Rhodes @ 2021-09-15 19:14 UTC (permalink / raw)
To: broonie, robh, ckeepax, patches, alsa-devel, david.rhodes, devicetree
Cc: David Rhodes
Fix warnings and errors in DT bindings
Add newline at end of file
Replace 'unevaluatedProperties' with 'additionalProperties'
Add spi context to DT example
Add #sound-dai-cells to DT example
Rename to 'cirrus,cs35l41.yaml'
Signed-off-by: David Rhodes <drhodes@opensource.cirrus.com>
---
.../{cs35l41.yaml => cirrus,cs35l41.yaml} | 30 +++++++++++--------
1 file changed, 18 insertions(+), 12 deletions(-)
rename Documentation/devicetree/bindings/sound/{cs35l41.yaml => cirrus,cs35l41.yaml} (87%)
diff --git a/Documentation/devicetree/bindings/sound/cs35l41.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml
similarity index 87%
rename from Documentation/devicetree/bindings/sound/cs35l41.yaml
rename to Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml
index fde78c850286..3235702ce402 100644
--- a/Documentation/devicetree/bindings/sound/cs35l41.yaml
+++ b/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
-$id: http://devicetree.org/schemas/sound/cs35l41.yaml#
+$id: http://devicetree.org/schemas/sound/cirrus,cs35l41.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Cirrus Logic CS35L41 Speaker Amplifier
@@ -135,17 +135,23 @@ required:
- cirrus,boost-ind-nanohenry
- cirrus,boost-cap-microfarad
-unevaluatedProperties: false
+additionalProperties: false
examples:
- |
- cs35l41: cs35l41@2 {
- compatible = "cirrus,cs35l41";
- reg = <2>;
- VA-supply = <&dummy_vreg>;
- VP-supply = <&dummy_vreg>;
- reset-gpios = <&gpio 110 0>;
- cirrus,boost-peak-milliamp = <4500>;
- cirrus,boost-ind-nanohenry = <1000>;
- cirrus,boost-cap-microfarad = <15>;
- };
\ No newline at end of file
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ cs35l41: cs35l41@2 {
+ #sound-dai-cells = <1>;
+ compatible = "cirrus,cs35l41";
+ reg = <2>;
+ VA-supply = <&dummy_vreg>;
+ VP-supply = <&dummy_vreg>;
+ reset-gpios = <&gpio 110 0>;
+ cirrus,boost-peak-milliamp = <4500>;
+ cirrus,boost-ind-nanohenry = <1000>;
+ cirrus,boost-cap-microfarad = <15>;
+ };
+ };
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: cs35l41: Binding fixes
2021-09-15 19:14 [PATCH] ASoC: cs35l41: Binding fixes David Rhodes
@ 2021-09-16 15:14 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2021-09-16 15:14 UTC (permalink / raw)
To: alsa-devel, David Rhodes, patches, david.rhodes, devicetree,
robh, ckeepax
Cc: Mark Brown
On Wed, 15 Sep 2021 14:14:22 -0500, David Rhodes wrote:
> Fix warnings and errors in DT bindings
>
> Add newline at end of file
> Replace 'unevaluatedProperties' with 'additionalProperties'
> Add spi context to DT example
> Add #sound-dai-cells to DT example
> Rename to 'cirrus,cs35l41.yaml'
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: cs35l41: Binding fixes
commit: 6116df7fafabbd9b2b09bfd8d568cd5fad656125
All 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-16 15:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15 19:14 [PATCH] ASoC: cs35l41: Binding fixes David Rhodes
2021-09-16 15:14 ` Mark Brown
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).