Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH NetBSD/rk3588] rk_gpio: Implement GPIO v2



On 31.07.23 08:26, Johann Rudloff wrote:
With this commit, the applicable version is read from a dedicated
register at attach time.  In case of an unrecognized version a warning
is printed, but otherwise behaviour is unchanged ("version 1" mode is
used).

It is currently difficult to test this patch in isolation on the rk3588, as overall rk3588 support in HEAD is not that far. In my current development setup this code is able to switch on USB host power on the ROCK 5B to enable USB accessories (together with other patches).

To prevent regressions, I tested the behaviour on a ROCK64 (rk3328) to make sure the correct "v1" path is selected by checking dmesg. Additionally verified by using `gpioctl` to manually toggle a GPIO pin and checking with a connected voltmeter.

Best regards
Johann


Home | Main Index | Thread Index | Old Index