[PATCH 0/2] iio: adc: stm32: describe the STM32H7 temperature sensor calibration

Jonathan Cameron jic23 at kernel.org
Sat Nov 28 11:54:30 PST 2026


On Wed, 25 Nov 2026 17:13:35 +0100
Fabrice Gasnier <fabrice.gasnier at foss.st.com> wrote:

> On 11/25/26 14:55, Gerard Marull-Paretas wrote:
> > On 11/25/26 13:56, Fabrice Gasnier wrote:  
> >> The DT is deprecated and are going to be removed [1].
> >>
> >> [1] https://lore.kernel.org/linux-arm-kernel/2afd5f78-0174-4955-8c1b-be18aea3800b@app.fastmail.com/
> >>
> >> So I'm not sure the dt-bindings update is useful.  
> > 
> > Hi Fabrice,
> > 
> > Thanks, I wasn't aware of the removal. I'll drop the dtsi patch then.
> > 
> > The binding itself stays, as it covers the STM32MP1 ADCs too, and it is  
> 
> Hi Gerard,
> 
> Yes,
> 
> Well, on STM32MP1x, there's a dedicated "Digital temperature sensor (DTS)", used
> in Linux for thermal protection. Hence the ADC based temperature sensor has not
> been pushed/supported here, as ADCs are usually kept for other usage. I don't know
> of usage for it in Linux currently, I think it's quite unlikely.
> 
> That why I wonder on this is useful or not, w.r.t. stm32h7 dts removal.
> 
> > used outside Linux: PebbleOS describes the STM32H747 with it, so the  
> 
> I don't know PebbleOS. Just for my own understanding, I guess you're using kernel dt-bindings
> to validate the external h7 dts ?
> 
> > temperature sensor calibration cells would still be useful there. Would
> > you be fine taking patch 1 alone? If so I'll send a v2 with just the
> > binding.  
> 
> The binding (patch 1) seems correct to me, also regarding STM32MP1x.
> Just as mentioned above, I think it's unlikely going to be used here.
> 
> I hope others can comment, on taking patch 1 ?
> 
I'm fine with carrying that. Perhaps a little bit more info from this
discussion is useful though.  So send a v2 with just that and the additional
background and we'll see what dt maintainers think.

Jonathan

> Best Regards,
> Fabrice
> 
> > 
> > Best regards,
> > Gerard  
> 
> 




More information about the linux-arm-kernel mailing list