Re: [RESEND PATCH] mfd: sc27xx: Add USB charger type detection support

From: Lee Jones
Date: Thu Feb 27 2020 - 04:34:17 EST


On Mon, 17 Feb 2020, Baolin Wang wrote:

> The Spreadtrum SC27XX series PMICs supply the USB charger type detection
> function, and related registers are located on the PMIC global registers
> region, thus we implement and export this function in the MFD driver for
> users to get the USB charger type.
>
> Signed-off-by: Baolin Wang <baolin.wang7@xxxxxxxxx>
> ---
> drivers/mfd/sprd-sc27xx-spi.c | 52 +++++++++++++++++++++++++++++++++++++++
> include/linux/mfd/sc27xx-pmic.h | 7 ++++++
> 2 files changed, 59 insertions(+)
> create mode 100644 include/linux/mfd/sc27xx-pmic.h

Applied, thanks.

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog