Re: [U-Boot] [PATCH] board/freescale/vid: Add correction for ltc3882 read error.

2018-12-10 Thread York Sun
On 10/10/18 10:11 PM, Priyanka Jain wrote: > Voltage regulator LTC3882 device has 0.5% voltage read error. > So for NXP SoC devices this generally equates to 2mV > > Update set_voltage_to_LTC for below: > 1.Add coorection of upto 2mV in voltage comparison > to take care of voltage read error of

[U-Boot] [PATCH] board/freescale/vid: Add correction for ltc3882 read error.

2018-10-10 Thread Priyanka Jain
Voltage regulator LTC3882 device has 0.5% voltage read error. So for NXP SoC devices this generally equates to 2mV Update set_voltage_to_LTC for below: 1.Add coorection of upto 2mV in voltage comparison to take care of voltage read error of voltage regulator 2.Add loop max count kept as 100 to a