[U-Boot] [PATCH v3 2/4] power: regulator: rk8xx: Allow input current/charger shutdown configuration

Simon Glass sjg at chromium.org
Sat Jun 17 03:41:30 UTC 2017


On 13 June 2017 at 02:11, Wadim Egorov <w.egorov at phytec.de> wrote:
> Hi,
>
>
> Am 13.06.2017 um 01:51 schrieb Simon Glass:
>> Hi Wadim,
>>
>> On 12 June 2017 at 03:59, Wadim Egorov <w.egorov at phytec.de> wrote:
>>> The RK818 PMIC contains a charger. Add very basic charger functionality
>>> to be able to regulate the USB input current and charger shutdown limits.
>>>
>>> Signed-off-by: Wadim Egorov <w.egorov at phytec.de>
>>> ---
>>>  drivers/power/regulator/rk8xx.c | 34 ++++++++++++++++++++++++++++++++++
>>>  include/power/rk8xx_pmic.h      |  2 ++
>>>  2 files changed, 36 insertions(+)
>> Does this have to be done in SPL?
>>
>> Regards,
>> Simon
> Yes, this have to be done in a very early stage, before the SDRAM
> initialization.

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list