To illustrate what I'm talking about:
https://lore.kernel.org/linux-gpio/CACRpkdZ_sPCa+Q6MWUKj1ytCe5AxTp--bMmbRTUfsNO0kZTMpQ@mail.gmail.com/T/#t
Thanks for your help! Here is the v3 patch:
https://lore.kernel.org/lkml/cover.1676042188.git.asmaa@nvidia.com/
Best,
Asmaa