Re: Recommendations for a new MFD device driver?

From: Mark Brown
Date: Sat Feb 07 2015 - 03:29:03 EST


On Fri, Feb 06, 2015 at 08:55:12PM +0800, Yingjoe Chen wrote:

> I think we should create a dtsi file, say mt6397.dtsi, the regulator
> device nodes are already too much to duplicate into every board using
> mt6397.

Please bear in mind that the regulator bindings are all about what is
being done to connect the PMIC to the rest of the system on a given
board; this means that it is almost always a bad idea to have a generic
include file for the PMIC since while many boards may be similar other
boards may differ and it's potentially unsafe to try to handle things
generally.

It can be a good idea to have a .dsti file for the common elements of a
widely used reference design but that's a different thing.

Attachment: signature.asc
Description: Digital signature