W dniu 08.01.2016 o 19:20, Laxman Dewangan pisze:I replied on other thread. I can decouple the RTC driver for max77620 and will be available for review.
Hi Krzysztof,Actually the MFD and other subsystems are quite decoupled already and
Thanks for review.
Accepted most of review comment and will update in next patch.
Answer to query:
On Friday 08 January 2016 07:33 AM, Krzysztof Kozlowski wrote:
support sharing drivers for common IP block. The problem is that we
develop drivers in a coupled way. This is not only issue of this
particular set of drivers. Others were developed in a same way.
So instead I would be happy to see this driver developed in the
decoupled way so existing RTC driver could be reused. If this requires
changing existing MFD driver like max77686 then please go ahead. I may
provide testing for that purpose. Something similar I made recently to
the max77693 and max77843. Both devices have different parent MFD
drivers but share some of the specific subsystem drivers: regulator and
Okay, this is quite common issue and I think this can be solved by
For this, RTC alarm interrupt need to be EARLY_RESUME.
disabling the IRQ in suspend:
IMHO this would be preferred way because you won't be moving device
suspend/resume callbacks to a syscore level.