[PATCH] adc: stm32mp15: add calibration support

Patrice CHOTARD patrice.chotard at foss.st.com
Thu Jan 12 16:29:54 CET 2023


Hi OLivier

On 1/3/23 18:08, Patrick DELAUNAY wrote:
> Hi,
> 
> On 12/15/22 13:51, Olivier Moysan wrote:
>> Add support of offset and linear calibration for STM32MP15.
>> The calibration is performed once at probe. The ADC is set in power on
>> state for calibration. It remains in this state after calibration,
>> to give to the kernel the opportunity to retrieve calibration data,
>> directly from the ADC.
>>
>> Signed-off-by: Olivier Moysan <olivier.moysan at foss.st.com>
>> ---
>>
>>   drivers/adc/stm32-adc.c | 134 ++++++++++++++++++++++++++++++++++------
>>   1 file changed, 116 insertions(+), 18 deletions(-)
>>
> 
> 
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> 
> Thanks
> Patrick
> 

Applied on u-boot-stm32/master

Thanks


More information about the U-Boot mailing list