On Mon, 21 Oct 2019, Arnd Bergmann wrote: > On Mon, Oct 21, 2019 at 12:58 PM Lee Jones <[email protected]> wrote: > > > > MFD currently has one over-complicated user. CS5535 uses a mixture of > > cell cloning, reference counting and subsystem-level call-backs to > > achieve its goal of requesting an IO memory region only once across 3 > > consumers. The same can be achieved by handling the region centrally > > during the parent device's .probe() sequence. Releasing can be handed > > in a similar way during .remove(). > > > > While we're here, take the opportunity to provide some clean-ups and > > error checking to issues noticed along the way. > > > > This also paves the way for clean cell disabling via Device Tree being > > discussed at [0] > > > > [0] https://lkml.org/lkml/2019/10/18/612. > > As the CS5535 is primarily used on the OLPC XO1, it would be > good to have someone test the series on such a machine. > > I've added a few people to Cc that may be able to help test it, or > know someone who can.
Wonderful. Thank you. > For the actual patches, see > https://lore.kernel.org/lkml/[email protected]/T/#t > > Arnd -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog

