Add thermal management support for sama7d65
From: | Varshini Rajendran <varshini.rajendran-AT-microchip.com> | |
To: | <eugen.hristev-AT-linaro.org>, <jic23-AT-kernel.org>, <dlechner-AT-baylibre.com>, <nuno.sa-AT-analog.com>, <andy-AT-kernel.org>, <robh-AT-kernel.org>, <krzk+dt-AT-kernel.org>, <conor+dt-AT-kernel.org>, <nicolas.ferre-AT-microchip.com>, <alexandre.belloni-AT-bootlin.com>, <claudiu.beznea-AT-tuxon.dev>, <srini-AT-kernel.org>, <linux-iio-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-kernel-AT-vger.kernel.org> | |
Subject: | [PATCH 00/15] Add thermal management support for sama7d65 | |
Date: | Mon, 04 Aug 2025 15:32:04 +0530 | |
Message-ID: | <20250804100219.63325-1-varshini.rajendran@microchip.com> | |
Cc: | <varshini.rajendran-AT-microchip.com> | |
Archive-link: | Article |
The thermal management system of sama7d65 includes - Temperature sensor as a part of ADC channel - Temperature calibration data retreived from the OTP memory for improved accuracy of the readings - DVFS implementation - And finally a thermal system with DVFS as cooling cell. This patch series adds support for the following - New and improved version of the OTP driver - Adaptation of the above in existing DT, DT doc and ADC driver - DVFS, OTP, ADC, Thermal system support in DT of new sama7d65 Varshini Rajendran (15): ARM: dts: microchip: sama7d65: add cpu opps nvmem: microchip-otpc: rework to access packets based on tag dt-bindings: microchip-otpc: update dt node example iio: adc: at91-sama5d2_adc: update calibration index, validation condition ARM: dts: microchip: sama7g5: add packet tag as offset for calib dt-bindings: nvmem: microchip-otpc: remove stride details iio: adc: at91-sama5d2_adc: add temp init function as callback dt-bindings: iio: adc: at91-sama5d2: document sama7d65 iio: adc: at91-sama5d2_adc: adapt the driver for sama7d65 ARM: dts: microchip: sama7d65: add node for the ADC dt-bindings: microchip-otpc: document sama7d65 ARM: dts: microchip: sama7d65: add otpc node ARM: dts: microchip: sama7d65: add cells for temperature calibration ARM: dts: microchip: sama7d65: add temperature sensor ARM: dts: microchip: sama7d65: add thermal zones node .../bindings/iio/adc/atmel,sama5d2-adc.yaml | 1 + .../nvmem/microchip,sama7g5-otpc.yaml | 17 ++- .../dts/microchip/at91-sama7d65_curiosity.dts | 23 ++++ arch/arm/boot/dts/microchip/sama7d65.dtsi | 128 +++++++++++++++++ arch/arm/boot/dts/microchip/sama7g5.dtsi | 4 +- drivers/iio/adc/at91-sama5d2_adc.c | 123 ++++++++++++++++- drivers/nvmem/microchip-otpc.c | 130 ++++++++++++++---- .../nvmem/microchip,sama7g5-otpc.h | 6 - 8 files changed, 383 insertions(+), 49 deletions(-) -- 2.34.1