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). > > Thanks and regards, > Lokesh Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot