Re: [PATCH v5 08/12] gpio: pl061: add Ambarella CV75 register layout variant
From: Andy Shevchenko
Date: Tue Aug 18 2026 - 10:12:08 EST
On Tue, Aug 18, 2026 at 06:31:22PM +0800, Long Zhao via B4 Relay wrote:
> Extend gpio-pl061 with a per-variant register layout so the Ambarella
> CV75 GPIO banks can reuse the PL061 driver instead of a duplicate.
This is reinvention of gpio-mmio.c (as a library). It has necessary facilities.
Also gpio-regmap may be considered. So, switch this driver to use one of the
above and the patch for the new device will be much simpler and elegant.
--
With Best Regards,
Andy Shevchenko