[U-Boot] [PATCH] PMIC: TI: TPS65903X errata (SLIA087) code

Lokesh Vutla
2017-03-16T10:47:34Z

Hi Lucas,

On Thursday 16 March 2017 11:19 AM, Lukasz Majewski wrote:
> Hi Lokesh,
>
>> Hi Lucas,
>>
>> On Saturday 11 March 2017 04:10 AM, Lukasz Majewski wrote:
>>> This patch adds code, which comply with TPS65903X errata pseudocode
>>> described in SLIA087 - "Guide to Using the GPADC in TPS65903x and
>>> TPS6591x Devices".
>>>
>>> It is enabled by proper Kconfig option, when TI's palmas PMIC
>>> support is added.
>>>
>>> The TI's e2e thread with test procedure description:
>>> https://e2e.ti.com/support/power_management/pmu/f/200/p/579649/2130910#2130910
>>
>> I could not understand the reason for why this is being done in
>> U-Boot. Can you explain a it more on this?
>
> Just as a safety matter. Doing this for GPADC PMIC in u-boot avoids
> "surprises" latter on - when the high level user wants to use the GPADC
> results from the first measurement that he/she does (for example at
> safety critical application).
>
> The u-boot driver (as it touches it first) is responsible to give the
> TPS65903x PMIC to latter boot stage as free from any known problems
> (i.e erratas).

okay. Patch as such looks good to me.

Thanks and regards,
Lokesh