[PATCH v5 08/12] gpio: pl061: add Ambarella CV75 register layout variant

Andy Shevchenko andriy.shevchenko at linux.intel.com
Tue Aug 18 07:11:17 PDT 2026


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





More information about the linux-arm-kernel mailing list