Re: [PATCH v2 1/5] dt-bindings: timer: Simplify conditional expressions

From: Rob Herring
Date: Sat Mar 27 2021 - 12:45:59 EST


On Sun, 21 Mar 2021 23:47:03 -0500, Samuel Holland wrote:
> The sun4i timer IP block has a variable number of interrupts based on
> the compatible. Use enums to combine the two sections for the existing
> 3-interrupt variants, and to simplify adding new compatible strings.
>
> Acked-by: Maxime Ripard <maxime@xxxxxxxxxx>
> Signed-off-by: Samuel Holland <samuel@xxxxxxxxxxxx>
> ---
> .../timer/allwinner,sun4i-a10-timer.yaml | 25 ++++++-------------
> 1 file changed, 7 insertions(+), 18 deletions(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>