From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [RESEND PATCH v3 1/6] charger: max14577: Add support for MAX77836 charger Date: Wed, 27 Aug 2014 18:04:16 +0100 Message-ID: <20140827170416.GC24579@lee--X1> 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> <1409148089.25748.5.camel@AMDC1943> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1409148089.25748.5.camel@AMDC1943> Sender: linux-pm-owner@vger.kernel.org To: Krzysztof Kozlowski Cc: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-pm@vger.kernel.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 Wed, 27 Aug 2014, Krzysztof Kozlowski wrote: > 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 MAX7= 7836 > > > 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.= On > > > MAX14577 0x6 is reserved and 0x7 dead battery. On the MAX77836= the > > > 0x6 means special charger and 0x7 is reserved. Regardless of t= hese > > > differences the driver maps them to one enum max14577_muic_cha= rger_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 mak= e > > sure it's bisectable. >=20 > Are you sure? This will result in a patch which adds some > code/symbols/defines used only by next (future) patch. Independent ap= ply > of such patch still won't make any sense because there won't be any u= ser > of this code. That's fine. I take in lots of patches which do nothing more than adds/updates infrastructure. --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog