Re: [PATCH v1] mfd: core: Support auxiliary device
From: Andy Shevchenko
Date: Thu Apr 03 2025 - 10:22:59 EST
On Thu, Apr 03, 2025 at 03:02:47PM +0100, Greg KH wrote:
> On Thu, Apr 03, 2025 at 04:30:53PM +0530, Raag Jadav wrote:
...
> > 2. Should we allow auxiliary drivers to manage their own resources
> > (MEM, IO, IRQ etc)?
>
> The resources are all shared by the "parent" device, that's what makes
> aux drivers work, they need to handle this as there is no unique way to
> carve up the resources here.
>
> So I don't know how you would do this, sorry.
I think we should simply enforce the requirement that MFD on AUX bus must use
regmap. This will solve the serialisation and common access to the resources.
--
With Best Regards,
Andy Shevchenko