[PATCH] adc: stm32mp15: add calibration support

Patrick DELAUNAY patrick.delaunay at foss.st.com
Tue Jan 3 18:08:06 CET 2023


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



More information about the U-Boot mailing list