[04/11] ARM: dts: at91: sama7g5: add cells for temperature calibration

Message ID 20221026124114.985876-5-claudiu.beznea@microchip.com
State New
Headers
Series ARM: at91: fixes and enhancement |

Commit Message

Claudiu Beznea Oct. 26, 2022, 12:41 p.m. UTC
  Add NVMEM cell to ADC for temperature calibration data.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/boot/dts/sama7g5.dtsi | 2 ++
 1 file changed, 2 insertions(+)
  

Patch

diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index 1599b911c97e..1094c0afc0c5 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -422,6 +422,8 @@  adc: adc@e1000000 {
 			atmel,max-sample-rate-hz = <20000000>;
 			atmel,startup-time-ms = <4>;
 			#io-channel-cells = <1>;
+			nvmem-cells = <&temperature_calib>;
+			nvmem-cell-names = "temperature_calib";
 			status = "disabled";
 		};