[PATCH] riscv: dts: Replace deprecated snps,nr-gpios property for snps,dw-apb-gpio-port devices

Uwe Kleine-König u.kleine-koenig at baylibre.com
Tue Oct 22 07:08:37 PDT 2024


On Tue, Oct 22, 2024 at 06:04:17PM +0800, Inochi Amaoto wrote:
> On Tue, Oct 22, 2024 at 11:14:30AM +0200, Uwe Kleine-König wrote:
> > snps,dw-apb-gpio-port is deprecated since commit ef42a8da3cf3
> > ("dt-bindings: gpio: dwapb: Add ngpios property support"). The
> > respective driver supports this since commit 7569486d79ae ("gpio: dwapb:
> > Add ngpios DT-property support") which is included in Linux v5.10-rc1.
> 
> Please add Fixes tag.

Ah, I expected that the usage of snps,nr-gpios in the dts files predates
the deprecation. So we could add:

Fixes: a508d794f86e ("riscv: sophgo: dts: add gpio controllers for SG2042 SoC")

. That's a commit that just entered mainline in v6.12-rc1. But I'm not
entirely sure backporting to stable is sensible.

Best regards
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20241022/349d0608/attachment.sig>


More information about the linux-riscv mailing list