Unverified Commit 6116df7f authored by David Rhodes's avatar David Rhodes Committed by Mark Brown
Browse files

ASoC: cs35l41: Binding fixes



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: default avatarDavid Rhodes <drhodes@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210915191422.2371623-1-drhodes@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c6d1fa6c
Loading
Loading
Loading
Loading
+18 −12
Original line number Diff line number Diff line
# 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,11 +135,16 @@ required:
  - cirrus,boost-ind-nanohenry
  - cirrus,boost-cap-microfarad

unevaluatedProperties: false
additionalProperties: false

examples:
  - |
    spi {
        #address-cells = <1>;
        #size-cells = <0>;

        cs35l41: cs35l41@2 {
          #sound-dai-cells = <1>;
          compatible = "cirrus,cs35l41";
          reg = <2>;
          VA-supply = <&dummy_vreg>;
@@ -149,3 +154,4 @@ examples:
          cirrus,boost-ind-nanohenry = <1000>;
          cirrus,boost-cap-microfarad = <15>;
        };
    };