HomeFreeBSD

arm64: rockchip: rk_gpio: Fix pin number

Description

arm64: rockchip: rk_gpio: Fix pin number

The maxpin counter starts at 0, fix one by one error.
This is still not totally correct for some banks in some SoC that have
fewer pins but this will be dealt with in another commit.

MFC after: 3 days

Details

Provenance
manuAuthored on
Parents
rS355852: arm64: rockchip: rk_pinctrl: Fix clear bits in SYSCON_MODIFY
Branches
Unknown
Tags
Unknown