$ hexdump -C /sys/bus/nvmem/devices/mchp-otpc0/nvmem 00000000 83 10 00 00 00 00 00 00 00 00 00 00 11 00 00 00 |................| 00000010 10 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000040 00 00 00 00 00 00 00 00 89 11 a5 a5 54 53 43 41 |............TSCA| 00000050 1b 00 00 00 1b 00 00 00 69 00 00 00 63 8c 09 00 |........i...c...| 00000060 e9 08 12 00 10 f1 11 00 00 00 00 00 00 00 00 00 |................| 00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000080 00 00 00 00 00 00 00 00 00 00 00 00 |............| 0000008cThe above OTP memory contains a boot configuration packet:
00000000 83 10 00 00 00 00 00 00 00 00 00 00 11 00 00 00 |................| 00000010 10 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000040 00 00 00 00 00 00 00 00and a thermal management calibration packet starting from offset 0x49:
00000040 00 00 00 00 00 00 00 00 89 11 a5 a5 54 53 43 41 |............TSCA| 00000050 1b 00 00 00 1b 00 00 00 69 00 00 00 63 8c 09 00 |........i...c...| 00000060 e9 08 12 00 10 f1 11 00 00 00 00 00 00 00 00 00 |................| 00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|The thermal management calibration packet contains
TSCA
tag in it.
at91-sama5d2_adc e1000000.adc: Failed to read calibration data! at91-sama5d2_adc e1000000.adc: version: a03 ERROR: could not get IIO channel /thermal-sensor:sensor-channel(0) generic-adc-thermal thermal-sensor: IIO channel not found: -19could be displayed on Linux console. These are:
1/ Thermal management calibration packet is available in OTP memory but boot configuration is not' 2/ There is no thermal management calibration packet available in OTP memory 3/ There are no packets in OTP memory
WebFaqBaseForm | |
---|---|
Boards | Sama7d65Curiosity, Sama7g5-ek |
Components | Kernel, linux-5.15-mchp, linux-6.1-mchp, linux-6.6-mchp |
Summary | Thermal management support on SAMA7G5 |
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Microchip and others, are registered trademarks or trademarks of Microchip Technology Inc. and its subsidiaries.
Arm® and others are registered trademarks or trademarks of Arm Limited (or its affiliates). Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.