[PATCH] dt-bindings: Fix incomplete if/then/else schemas

Rob Herring robh at kernel.org
Thu Mar 31 22:34:59 CEST 2022


On Wed, 30 Mar 2022 09:57:41 -0500, Rob Herring wrote:
> A recent review highlighted that the json-schema meta-schema allows any
> combination of if/then/else schema keywords even though if, then or else
> by themselves makes little sense. With an added meta-schema to only
> allow valid combinations, there's a handful of schemas found which need
> fixing in a variety of ways. Incorrect indentation is the most common
> issue.
> 
> Cc: Lars-Peter Clausen <lars at metafoo.de>
> Cc: Michael Hennerich <Michael.Hennerich at analog.com>
> Cc: Jonathan Cameron <jic23 at kernel.org>
> Cc: Krzysztof Kozlowski <krzk+dt at kernel.org>
> Cc: Olivier Moysan <olivier.moysan at foss.st.com>
> Cc: Arnaud Pouliquen <arnaud.pouliquen at foss.st.com>
> Cc: Bjorn Andersson <bjorn.andersson at linaro.org>
> Cc: Georgi Djakov <djakov at kernel.org>
> Cc: Ulf Hansson <ulf.hansson at linaro.org>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Cc: Jonathan Hunter <jonathanh at nvidia.com>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Jakub Kicinski <kuba at kernel.org>
> Cc: Paolo Abeni <pabeni at redhat.com>
> Cc: Kishon Vijay Abraham I <kishon at ti.com>
> Cc: Vinod Koul <vkoul at kernel.org>
> Cc: Mark Brown <broonie at kernel.org>
> Cc: Fabrice Gasnier <fabrice.gasnier at foss.st.com>
> Cc: Grygorii Strashko <grygorii.strashko at ti.com>
> Cc: Dmitry Osipenko <digetx at gmail.com>
> Cc: linux-iio at vger.kernel.org
> Cc: alsa-devel at alsa-project.org
> Cc: linux-mmc at vger.kernel.org
> Cc: linux-tegra at vger.kernel.org
> Cc: netdev at vger.kernel.org
> Cc: linux-phy at lists.infradead.org
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
>  .../bindings/iio/adc/adi,ad7476.yaml          |  1 +
>  .../bindings/iio/adc/st,stm32-dfsdm-adc.yaml  |  8 +-
>  .../bindings/iio/dac/adi,ad5360.yaml          |  6 +-
>  .../bindings/interconnect/qcom,rpm.yaml       | 84 +++++++++----------
>  .../bindings/mmc/nvidia,tegra20-sdhci.yaml    |  2 +
>  .../bindings/net/ti,davinci-mdio.yaml         |  1 +
>  .../bindings/phy/nvidia,tegra20-usb-phy.yaml  | 20 ++---
>  .../bindings/phy/qcom,usb-hs-phy.yaml         | 36 ++++----
>  .../bindings/regulator/fixed-regulator.yaml   | 34 ++++----
>  .../bindings/sound/st,stm32-sai.yaml          |  6 +-
>  .../devicetree/bindings/sram/sram.yaml        | 16 ++--
>  11 files changed, 108 insertions(+), 106 deletions(-)
> 

Applied, thanks!


More information about the Alsa-devel mailing list