[PATCH v2 1/2] regulator: act8945a: add regulator driver for ACT8945A
Yang, Wenyou
Wenyou.Yang at atmel.com
Wed Jan 13 17:23:39 PST 2016
> -----Original Message-----
> From: Peter Korsgaard [mailto:jacmet at gmail.com] On Behalf Of Peter Korsgaard
> Sent: 2016年1月13日 22:22
> To: Yang, Wenyou <Wenyou.Yang at atmel.com>
> Cc: Liam Girdwood <lgirdwood at gmail.com>; Mark Brown <broonie at kernel.org>;
> Rob Herring <robh+dt at kernel.org>; Pawel Moll <pawel.moll at arm.com>; Mark
> Rutland <mark.rutland at arm.com>; Ian Campbell <ijc+devicetree at hellion.org.uk>;
> Kumar Gala <galak at codeaurora.org>; Krzysztof Kozlowski
> <k.kozlowski at samsung.com>; devicetree at vger.kernel.org; Ferre, Nicolas
> <Nicolas.FERRE at atmel.com>; linux-kernel at vger.kernel.org; Javier Martinez
> Canillas <javier at dowhile0.org>; Lee Jones <lee.jones at linaro.org>; linux-arm-
> kernel at lists.infradead.org
> Subject: Re: [PATCH v2 1/2] regulator: act8945a: add regulator driver for
> ACT8945A
>
> >>>>> "Wenyou" == Wenyou Yang <wenyou.yang at atmel.com> writes:
>
> > This patch adds new regulator driver to support ACT8945A MFD > chip's
> regulators.
>
> > The ACT8945A has three step-down DC/DC converters and four > low-dropout
> regulators.
>
> > Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
>
> Isn't the regulator part of the act8945a identical to act8865? Can't we just use the
> existing act8865-regulator.c driver? (E.G. support 8865 variant in the mfd driver,
> but only register the regulator sub device?)
Yes, the regulator part of the act8945a is identical to act8865.
But the act8865-regulator driver is a struct i2c_driver, and the mfd sub-device driver is a platform_driver driver, it is not easy to use it.
>
> --
> Bye, Peter Korsgaard
Best Regards,
Wenyou Yang
More information about the linux-arm-kernel
mailing list