Re: [PATCH] iio/adc: ingenic: Fix battery VREF for JZ4770 SoC

2020-11-08 Thread Jonathan Cameron
On Thu, 05 Nov 2020 01:27:51 +0100 Artur Rojek wrote: > On 2020-11-05 01:09, Paul Cercueil wrote: > > Hi Artur, > > > > Le mer. 4 nov. 2020 à 23:29, Artur Rojek a > > écrit : > >> Hi Paul, > >> > >> On 2020-11-04 20:28, Paul Cercueil wrote: > >>> The reference voltage for the battery is

Re: [PATCH] iio/adc: ingenic: Fix battery VREF for JZ4770 SoC

2020-11-04 Thread Artur Rojek
On 2020-11-05 01:09, Paul Cercueil wrote: Hi Artur, Le mer. 4 nov. 2020 à 23:29, Artur Rojek a écrit : Hi Paul, On 2020-11-04 20:28, Paul Cercueil wrote: The reference voltage for the battery is clearly marked as 1.2V in the programming manual. With this fixed, the battery channel now

Re: [PATCH] iio/adc: ingenic: Fix battery VREF for JZ4770 SoC

2020-11-04 Thread Paul Cercueil
Hi Artur, Le mer. 4 nov. 2020 à 23:29, Artur Rojek a écrit : Hi Paul, On 2020-11-04 20:28, Paul Cercueil wrote: The reference voltage for the battery is clearly marked as 1.2V in the programming manual. With this fixed, the battery channel now returns correct values. Fixes: a515d6488505

Re: [PATCH] iio/adc: ingenic: Fix battery VREF for JZ4770 SoC

2020-11-04 Thread Artur Rojek
Hi Paul, On 2020-11-04 20:28, Paul Cercueil wrote: The reference voltage for the battery is clearly marked as 1.2V in the programming manual. With this fixed, the battery channel now returns correct values. Fixes: a515d6488505 ("IIO: Ingenic JZ47xx: Add support for JZ4770 SoC ADC.") Cc:

[PATCH] iio/adc: ingenic: Fix battery VREF for JZ4770 SoC

2020-11-04 Thread Paul Cercueil
The reference voltage for the battery is clearly marked as 1.2V in the programming manual. With this fixed, the battery channel now returns correct values. Fixes: a515d6488505 ("IIO: Ingenic JZ47xx: Add support for JZ4770 SoC ADC.") Cc: Signed-off-by: Paul Cercueil ---