[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140718075254.GA22791@amd.pavel.ucw.cz>
Date: Fri, 18 Jul 2014 09:52:54 +0200
From: Pavel Machek <pavel@....cz>
To: "Tc, Jenny" <jenny.tc@...el.com>
Cc: Sebastian Reichel <sre@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
Anton Vorontsov <anton.vorontsov@...aro.org>,
David Woodhouse <dwmw2@...radead.org>,
David Cohen <david.a.cohen@...ux.intel.com>,
"Pallala, Ramakrishna" <ramakrishna.pallala@...el.com>,
"myungjoo.ham@...sung.com" <myungjoo.ham@...sung.com>,
"Rafael J. Wysocki" <rjw@...ysocki.net>
Subject: Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver
Hi!
> > I suggest to add features supported by charger-manager to power supply charging
> > driver and convert users of charger-manager to the improved driver.
> >
> > I CC'd MyungJoo Ham, who wrote the charger-manager, so that he can also give
> > feedback.
>
> We are back to the initial discussions we had in the list. The initial proposal
> was for the charger manager. The charger manager is more aligned to
> regulator framework, use private notification
> mechanisms(cm_notify_event,fullbatt_vchk etc) and relies more on
> platform data (struct charger_desc). This doesn't seems to be good to support plug in
> charger drivers, charging algorithms, battery identification drivers
> at runtime.
>From what I seen, the new "plug in friendly" approach is unsuitable
for the kernel.
I really tried hard to review it, and it went through how many, 10?,
iterations, and it is not getting better.
So please just extend existing code.
If you insist that is not adequate, please talk to some experienced
hacker at Intel (does Rafael still work there? Ingo?) to design
acceptable solution.
Seeing same patches for 10 iterations with no real improvements is not
fun.
Thanks,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists