lkml.org 
[lkml]   [2022]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.19 133/365] spi: dt-bindings: cadence: add missing required
    Date
    From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

    commit 6eee27c598fde65988723b785a9c9192d5ffb93a upstream.

    During the conversion the bindings lost list of required properties.

    Fixes: aa7968682a2b ("spi: convert Cadence SPI bindings to YAML")
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Reviewed-by: Michal Simek <michal.simek@amd.com>
    Link: https://lore.kernel.org/r/20220704130618.199231-1-krzysztof.kozlowski@linaro.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    Documentation/devicetree/bindings/spi/spi-cadence.yaml | 7 +++++++
    1 file changed, 7 insertions(+)

    --- a/Documentation/devicetree/bindings/spi/spi-cadence.yaml
    +++ b/Documentation/devicetree/bindings/spi/spi-cadence.yaml
    @@ -49,6 +49,13 @@ properties:
    enum: [ 0, 1 ]
    default: 0

    +required:
    + - compatible
    + - reg
    + - interrupts
    + - clock-names
    + - clocks
    +
    unevaluatedProperties: false

    examples:

    \
     
     \ /
      Last update: 2022-08-23 10:43    [W:4.274 / U:0.416 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site