On Mon, Jan 18, 2021 at 02:08:44AM +, Andre Przywara wrote:
> Use enums to group all compatible devices together on the way.
>
> Signed-off-by: Andre Przywara
> Acked-by: Rob Herring
> Acked-by: Maxime Ripard
Reviewed-by: Guenter Roeck
> ---
> .../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
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/linux-sunxi/20210123173148.GA57180%40roeck-us.net.