Re: [PATCH] mfd: rohm PMICs - use platform_device_id to match MFD sub-devices

From: Lee Jones
Date: Fri Nov 15 2019 - 12:06:34 EST


On Fri, 15 Nov 2019, Matti Vaittinen wrote:

> Hello Lee, Stephen, Mark & All,
>
> On Thu, Nov 07, 2019 at 03:30:12PM +0200, Matti Vaittinen wrote:
> > Do device matching using the platform_device_id instead of using
> > explicit module_aliases to load modules and custom parent-data field
> > to do module loading and sub-device matching.
> >
> > Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>
> > ---
> >
> > Thanks to Stephen Boyd I just learned we can use platform_device_id
> > to do device and module matching for MFD sub-devices. This is handy
> > in cases where more than one chips are supported by same sub-device
> > drivers. For ROHM it currently is clk and regulator - but also the
> > RTC when BD71828 is in-tree.
>
> I have been preparing driver for yet another ROHM PMIC (bd71828) - and
> the patch has been taking a few spins as RFC now. I would like to send
> first non RFC version of it - and I would like to write it on top of
> this patch. Is it Ok if I include this patch in the series - or should
> this stay as independent change? I would like to try avoid conflicting
> patches.

You can draft this patch in.

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog