[PATCH 1/1] mfd: simple-mfd-i2c: Add support for registering devices via MFD cells

Lee Jones lee.jones at linaro.org
Thu Aug 5 00:40:05 PDT 2021


On Thu, 05 Aug 2021, Michael Walle wrote:

> Hi Lee,
> 
> Am 2021-08-04 16:37, schrieb Lee Jones:
> > More devices are cropping up requiring only Regmap initialisation and
> > child registration functionality.  We currently only support that if
> > all required devices are represented by their own Device Tree nodes
> > complete with compatible strings.
> > 
> > However, not everyone is happy with adding empty nodes that provide no
> > additional device information into the Device Tree.
> > 
> > Rather than have a plethora of mostly empty, function-less drivers in
> > MFD, we'll support those simple cases in here instead via MFD cells.
> > 
> > Cc: Michael Walle <michael at walle.cc>
> > Cc: Mark Brown <broonie at kernel.org>
> > Signed-off-by: Lee Jones <lee.jones at linaro.org>
> > ---
> > 
> > Michael, could you please test this on your platform to ensure I
> >          didn't break anything please?
> > 
> 
> I'm getting a null pointer dereference.

Perfect.  Will fix.

Thanks for testing.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog



More information about the linux-arm-kernel mailing list