[PATCH v2] aiodev: imx_thermal: fix breakage after device tree sync

Sascha Hauer sha at pengutronix.de
Tue Sep 12 01:45:30 PDT 2023


On Mon, Sep 11, 2023 at 02:48:08PM +0200, Ahmad Fatoum wrote:
> fsl,tempmon-data is a deprecated property that has been replaced
> upstream by a NVMEM cell pointing at the calibration value and so
> made it into barebox breaking the driver.
> 
> Switch to using the new property to fix the regression.
> 
> We do not keep support for the old binding around as it would be dead code:
> barebox, unlike Linux, is always bundled with a device tree originating
> from its build tree and so we only need to ensure the driver matches that
> version.

This is not entirely true. With board-dt-2nd you would still be able
to start a barebox with another dt possibly using the old binding.

Nevertheless I think this rather exotic case doesn't justify carrying
around compatibility cruft, so: Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list