dt-bindings: gpio: dwapb: Add ngpios property support
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Thu, 30 Jul 2020 15:27:58 +0000 (18:27 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Aug 2020 08:32:57 +0000 (10:32 +0200)
commitef42a8da3cf3c5984ccb88c83d0f3eca0d93d1ea
tree64d65730cb9012c1bac8023afbb74fcc98c67c9b
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
dt-bindings: gpio: dwapb: Add ngpios property support

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@baikalelectronics.ru>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200730152808.2955-2-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml