Re: [PATCH 1/7] dt-bindings: gpio: dwapb: Add ngpios property support

From: Rob Herring
Date: Thu Jul 23 2020 - 17:27:40 EST


On Thu, 23 Jul 2020 04:38:52 +0300, Serge Semin wrote:
> It's redundant to have a vendor-specific property describing a number of
> GPIOS while there is a generic one. Let's mark the former one as
> deprecated and define the "ngpios" property supported with constraints
> of being within [1; 32] range.
>
> Signed-off-by: Serge Semin <Sergey.Semin@xxxxxxxxxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/gpio/snps,dw-apb-gpio.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>