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

Rob Herring robh at kernel.org
Sat Mar 27 16:44:56 GMT 2021


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 at cerno.tech>
> Signed-off-by: Samuel Holland <samuel at sholland.org>
> ---
>  .../timer/allwinner,sun4i-a10-timer.yaml      | 25 ++++++-------------
>  1 file changed, 7 insertions(+), 18 deletions(-)
> 

Reviewed-by: Rob Herring <robh at kernel.org>



More information about the linux-arm-kernel mailing list