lkml.org 
[lkml]   [2023]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 1/5] dt-bindings: hwlock: sun6i: Add missing #hwlock-cells
    Date
    The allwinner,sun6i-a31-hwspinlock.yaml binding needs #hwlock-cells
    which is required by the hwlock type.

    Fixes: f9e784dcb63f ("dt-bindings: hwlock: add sun6i_hwspinlock")
    Signed-off-by: Bastian Germann <bage@debian.org>
    Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Reviewed-by: Andre Przywara <andre.przywara@arm.com>
    Signed-off-by: Bjorn Andersson <andersson@kernel.org>
    Link: https://lore.kernel.org/r/20230213231931.6546-2-bage@debian.org
    ---
    .../bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
    index 10e5a53e447b..01b1bbb3061f 100644
    --- a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
    +++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
    @@ -26,11 +26,15 @@ properties:
    resets:
    maxItems: 1

    + '#hwlock-cells':
    + const: 1
    +
    required:
    - compatible
    - reg
    - clocks
    - resets
    + - "#hwlock-cells"

    additionalProperties: false

    --
    2.39.1
    \
     
     \ /
      Last update: 2023-03-27 00:24    [W:4.498 / U:0.556 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site