lkml.org 
[lkml]   [2021]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 17/21] dt-bindings: watchdog: sun4i: Add H616 compatible string
    Date
    Use enums to group all compatible devices together on the way.

    Signed-off-by: Andre Przywara <andre.przywara@arm.com>
    Acked-by: Rob Herring <robh@kernel.org>
    ---
    .../bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 12 +++++-------
    1 file changed, 5 insertions(+), 7 deletions(-)

    diff --git a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
    index 5ac607de8be4..9aa3c313c49f 100644
    --- a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
    +++ b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
    @@ -19,13 +19,11 @@ properties:
    - const: allwinner,sun4i-a10-wdt
    - const: allwinner,sun6i-a31-wdt
    - items:
    - - const: allwinner,sun50i-a64-wdt
    - - const: allwinner,sun6i-a31-wdt
    - - items:
    - - const: allwinner,sun50i-a100-wdt
    - - const: allwinner,sun6i-a31-wdt
    - - items:
    - - const: allwinner,sun50i-h6-wdt
    + - enum:
    + - allwinner,sun50i-a64-wdt
    + - allwinner,sun50i-a100-wdt
    + - allwinner,sun50i-h6-wdt
    + - allwinner,sun50i-h616-wdt
    - const: allwinner,sun6i-a31-wdt
    - items:
    - const: allwinner,suniv-f1c100s-wdt
    --
    2.17.5
    \
     
     \ /
      Last update: 2021-01-18 03:17    [W:2.833 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site