From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Kozlowski Subject: Re: [RESEND PATCH v3 1/6] charger: max14577: Add support for MAX77836 charger Date: Wed, 27 Aug 2014 16:01:29 +0200 Message-ID: <1409148089.25748.5.camel@AMDC1943> References: <1409146282-25075-1-git-send-email-k.kozlowski@samsung.com> <1409146282-25075-2-git-send-email-k.kozlowski@samsung.com> <20140827135218.GG6364@lee--X1> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-reply-to: <20140827135218.GG6364@lee--X1> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Lee Jones Cc: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Samuel Ortiz , Liam Girdwood , Mark Brown , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Anton Vorontsov List-Id: linux-api@vger.kernel.org On =C5=9Bro, 2014-08-27 at 14:52 +0100, Lee Jones wrote: > On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote: >=20 > > Add support for MAX77836 charger to the max14577 driver. The MAX778= 36 > > charger is almost the same as 14577 model except: > > - No dead-battery detection; > > - Support for special charger (like in MAX77693); > > - Support for DX over-voltage protection (like in MAX77693); > > - Lower values of charging current (two times lower current for > > slow/fast charge, much lower EOC current); > > - Slightly different values in ChgTyp field of STATUS2 register. O= n > > MAX14577 0x6 is reserved and 0x7 dead battery. On the MAX77836 t= he > > 0x6 means special charger and 0x7 is reserved. Regardless of the= se > > differences the driver maps them to one enum max14577_muic_charg= er_type. > >=20 > > Signed-off-by: Krzysztof Kozlowski > > Cc: Kyungmin Park > > Cc: Anton Vorontsov > > Cc: Dmitry Eremin-Solenikov > > Cc: David Woodhouse > > Acked-by: Lee Jones > > --- > > drivers/power/Kconfig | 4 +- > > drivers/power/max14577_charger.c | 77 ++++++++++++++++++++++++= +++++------- > > include/linux/mfd/max14577-private.h | 54 ++++++++++++++++++------= - >=20 > Not quite so important here, but better to break these out too. We > can arrange ourselves to that the set can go in together. Just make > sure it's bisectable. Are you sure? This will result in a patch which adds some code/symbols/defines used only by next (future) patch. Independent appl= y of such patch still won't make any sense because there won't be any use= r of this code. Best regards, Krzysztof