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

2018-08-30 Thread Baolin Wang
Hi Sebastian, On 31 August 2018 at 05:27, Sebastian Reichel wrote: > Hi, > > On Thu, Aug 30, 2018 at 11:08:59AM +0800, Baolin Wang wrote: >> >> +static int sc2731_charger_hw_init(struct sc2731_charger_info *info) >> >> +{ >> >> + int ret; >> >> + >> >> + /* Enable charger module */ >>

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

2018-08-30 Thread Sebastian Reichel
Hi, On Thu, Aug 30, 2018 at 11:08:59AM +0800, Baolin Wang wrote: > >> +static int sc2731_charger_hw_init(struct sc2731_charger_info *info) > >> +{ > >> + int ret; > >> + > >> + /* Enable charger module */ > >> + ret = regmap_update_bits(info->regmap, SC2731_MODULE_EN1, > >> +

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

2018-08-29 Thread Baolin Wang
Hi Krzysztof, On 29 August 2018 at 22:36, Krzysztof Kozlowski wrote: > I'll try one more time... but without HTML from Gmail. Previous mail > bounced from lists. > > On Tue, 28 Aug 2018 at 11:04, Baolin Wang wrote: >> >> This patch adds the SC2731 PMIC switch charger support. >> >> Signed-off-by

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

2018-08-29 Thread Krzysztof Kozlowski
I'll try one more time... but without HTML from Gmail. Previous mail bounced from lists. On Tue, 28 Aug 2018 at 11:04, Baolin Wang wrote: > > This patch adds the SC2731 PMIC switch charger support. > > Signed-off-by: Baolin Wang > --- > drivers/power/supply/Kconfig |7 + > drivers/

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

2018-08-28 Thread Baolin Wang
This patch adds the SC2731 PMIC switch charger support. Signed-off-by: Baolin Wang --- drivers/power/supply/Kconfig |7 + drivers/power/supply/Makefile |1 + drivers/power/supply/sc2731_charger.c | 451 + 3 files changed, 459 insertions(+