From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Mon, 3 Feb 2014 10:26:37 +0000 Subject: [PATCH 16/18] charger: max14577: Add support for MAX77836 charger In-Reply-To: <1390911522-28209-17-git-send-email-k.kozlowski@samsung.com> References: <1390911522-28209-1-git-send-email-k.kozlowski@samsung.com> <1390911522-28209-17-git-send-email-k.kozlowski@samsung.com> Message-ID: <20140203102637.GO13529@lee--X1> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, 28 Jan 2014, Krzysztof Kozlowski wrote: > Add support for MAX77836 charger to the max14577 driver. The MAX77836 > 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 these > differences the driver maps them to one enum maxim_muic_charger_type. > > Signed-off-by: Krzysztof Kozlowski > Cc: Kyungmin Park > Cc: Marek Szyprowski > Cc: Anton Vorontsov > Cc: Dmitry Eremin-Solenikov > Cc: David Woodhouse > --- > drivers/extcon/extcon-max14577.c | 2 +- > drivers/power/max14577_charger.c | 81 +++++++++++++++++++++++++++------- > include/linux/mfd/max14577-private.h | 57 +++++++++++++++++------- > 3 files changed, 106 insertions(+), 34 deletions(-) For the MFD changes: Acked-by: Lee Jones -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog