[PATCH v7 16/18] ARM: dts: microchip: sama7d65: add cells for temperature calibration
From: Varshini Rajendran
Date: Wed Dec 02 2026 - 02:06:40 EST
Add nvmem-cells for temperature calibration data to the ADC node.
The calibration data is read from the OTPC.
Signed-off-by: Varshini Rajendran <varshini.rajendran@xxxxxxxxxxxxx>
Reviewed-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxx>
---
arch/arm/boot/dts/microchip/sama7d65.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/microchip/sama7d65.dtsi b/arch/arm/boot/dts/microchip/sama7d65.dtsi
index 6996b694d3f4..f44b7df8be45 100644
--- a/arch/arm/boot/dts/microchip/sama7d65.dtsi
+++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi
@@ -317,6 +317,8 @@ adc: adc@e1000000 {
dmas = <&dma0 AT91_XDMAC_DT_PERID(0)>;
dma-names = "rx";
#io-channel-cells = <1>;
+ nvmem-cells = <&temperature_calib>;
+ nvmem-cell-names = "temperature_calib";
atmel,min-sample-rate-hz = <200000>;
atmel,max-sample-rate-hz = <20000000>;
atmel,trigger-edge-type = <IRQ_TYPE_EDGE_RISING>;
--
2.43.0