[PATCH 00/15] Add thermal management support for sama7d65

Varshini Rajendran posted 15 patches 2 months ago
.../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(-)
[PATCH 00/15] Add thermal management support for sama7d65
Posted by Varshini Rajendran 2 months ago
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