[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f09a89e0-c93f-dacd-2270-379e43773b61@linaro.org>
Date: Wed, 8 Feb 2023 20:38:39 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Rob Herring <robh@...nel.org>
Cc: Rob Herring <robh+dt@...nel.org>, linux-kernel@...r.kernel.org,
Mark Brown <broonie@...nel.org>, alsa-devel@...a-project.org,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Liam Girdwood <lgirdwood@...il.com>,
- <patches@...nsource.cirrus.com>, devicetree@...r.kernel.org
Subject: Re: [PATCH] ASoC: dt-bindings: wlf,wm8994: Convert to dtschema
On 08/02/2023 19:46, Rob Herring wrote:
>
> On Wed, 08 Feb 2023 18:25:52 +0100, Krzysztof Kozlowski wrote:
>> Convert the Wolfson WM1811/WM8994/WM8958 audio codecs bindings to DT
>> schema.
>>
>> Changes against original binding:
>> 1. Add missing LDO1VDD-supply for WM1811.
>> 2. Use "gpios" suffix for wlf,ldo1ena and wlf,ldo2ena (Linux kernel's
>> gpiolib already looks for both variants).
>> 3. Do not require AVDD1-supply and DCVDD-supply, because at least on
>> Arndale board with Exynos5250 these are grounded.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
>> ---
>> .../devicetree/bindings/sound/wlf,wm8994.yaml | 203 ++++++++++++++++++
>> .../devicetree/bindings/sound/wm8994.txt | 112 ----------
>> 2 files changed, 203 insertions(+), 112 deletions(-)
>> create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8994.yaml
>> delete mode 100644 Documentation/devicetree/bindings/sound/wm8994.txt
>>
>
> Running 'make dtbs_check' with the schema in this patch gives the
> following warnings. Consider if they are expected or the schema is
> incorrect. These may not be new warnings.
>
> Note that it is not yet a requirement to have 0 warnings for dtbs_check.
> This will change in the future.
>
> Full log is available here: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230208172552.404324-1-krzysztof.kozlowski@linaro.org
>
>
> audio-codec@1a: 'AVDD1-supply' is a required property
> arch/arm/boot/dts/exynos5250-smdk5250.dtb
> arch/arm/boot/dts/s5pv210-fascinate4g.dtb
> arch/arm/boot/dts/s5pv210-galaxys.dtb
>
> audio-codec@1a: 'DCVDD-supply' is a required property
> arch/arm/boot/dts/exynos5250-smdk5250.dtb
> arch/arm/boot/dts/s5pv210-fascinate4g.dtb
> arch/arm/boot/dts/s5pv210-galaxys.dtb
These two need corrections in the binding - next version of patch.
>
> audio-codec@1a: Unevaluated properties are not allowed ('wlf,ldo1ena', 'wlf,ldo2ena' were unexpected)
> arch/arm/boot/dts/exynos4412-i9300.dtb
These are fixed here:
https://lore.kernel.org/linux-samsung-soc/20230208172634.404452-1-krzysztof.kozlowski@linaro.org/T/#t
Best regards,
Krzysztof
Powered by blists - more mailing lists