Re: [PATCH v2 2/2] power: supply: Add Spreadtrum SC2731 charger support

From: Krzysztof Kozlowski
Date: Mon Sep 03 2018 - 06:20:42 EST


On Mon, 3 Sep 2018 at 10:56, Baolin Wang <baolin.wang@xxxxxxxxxx> wrote:
>
> This patch adds the SC2731 PMIC switch charger support.
>
> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>
> ---
> Changes from v1:
> - Remove some redundant head files.
> - Add one mutex to make sure getting the charger status is correct.
> - Fix some coding style issues.
> - Use standard DT properties.
> ---
> drivers/power/supply/Kconfig | 7 +
> drivers/power/supply/Makefile | 1 +
> drivers/power/supply/sc2731_charger.c | 503 +++++++++++++++++++++++++++++++++
> 3 files changed, 511 insertions(+)
> create mode 100644 drivers/power/supply/sc2731_charger.c

Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Best regards,
Krzysztof