[PATCH 1/5] MFD/OF: document MFD devices and handle simple-mfd
Linus Walleij
linus.walleij at linaro.org
Tue Apr 7 02:03:31 PDT 2015
On Sat, Mar 28, 2015 at 2:41 PM, Grant Likely <grant.likely at linaro.org> wrote:
> However, I think this is going to lead to a future problem. It solves
> the immediate case of getting an MFD device to be auto populated when
> the kernel doesn't need to immediately do something. However, I can
> forsee a situation where the device can be supported by simple-mfd, but
> at some point it is discovered that better features can be enabled if
> the mfd device has a proper driver.
For the general case where access to the MFD needs some mediation
or marshalling yes, I think this is theoretically possible.
For the most common MMIO case where the MFD devide is a syscon,
it is not so likely. Or rather extremelt unlikely.
We could restrict the use cases to strictly syscon/MMIO MFD devices
but it would just be a documentation fix.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list