]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: dw: Add ngpios DT-property support
authorMaksim Kiselev <bigunclemax@gmail.com>
Fri, 20 Sep 2024 09:05:23 +0000 (12:05 +0300)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 28 Oct 2024 08:11:33 +0000 (16:11 +0800)
commit370806854eda1cf77e317f283938c4ae6337c401
tree8eb8a0fa32e71da3c0ec33195c066b5132df948f
parentfaf82cc695ce31ee30037f005b1c4e16b6b0a8f6
gpio: dw: Add ngpios DT-property support

Starting with Linux commit 7569486d79ae ("gpio: dwapb: Add ngpios
DT-property support") the "snps,nr-gpios" property was marked
as deprecated.

And since all newly added dw-apb-gpio nodes are described using generic
"ngpios" property, it's time to add support for it.

Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/gpio/dwapb_gpio.c