siflower: add ngpios property to gpio-siflower
authorChuanhong Guo <gch981213@gmail.com>
Tue, 8 Oct 2024 06:16:15 +0000 (14:16 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Wed, 5 Feb 2025 03:08:37 +0000 (11:08 +0800)
commit274df8eedb5863900934a8c5bda3e376f2d7c144
tree2e9fdf3710319a1a6622a177679726ec7875e46e
parentbbde170ec69917a26822b8c846037043ddfe2876
siflower: add ngpios property to gpio-siflower

The same GPIO controller is found on all current Siflower SoCs,
with different number of GPIOs. Add ngpios property instead of
specifying it with dt match data.

Link: https://github.com/openwrt/openwrt/pull/17115
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/siflower/dts/sf19a2890.dtsi
target/linux/siflower/files-6.6/drivers/gpio/gpio-siflower.c