[PATCH 05/15] ARM: dts: microchip: sama7g5: add packet tag as offset for calib

Varshini Rajendran posted 15 patches 2 months ago
[PATCH 05/15] ARM: dts: microchip: sama7g5: add packet tag as offset for calib
Posted by Varshini Rajendran 2 months ago
Add packet tag as offset to access temperature calibration data from otp
memory for sama7g5.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
 arch/arm/boot/dts/microchip/sama7g5.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/microchip/sama7g5.dtsi b/arch/arm/boot/dts/microchip/sama7g5.dtsi
index 17bcdcf0cf4a..62f946f3f894 100644
--- a/arch/arm/boot/dts/microchip/sama7g5.dtsi
+++ b/arch/arm/boot/dts/microchip/sama7g5.dtsi
@@ -1023,8 +1023,8 @@ otpc: efuse@e8c00000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
 
-			temperature_calib: calib@1 {
-				reg = <OTP_PKT(1) 76>;
+			temperature_calib: calib@41435354 {
+				reg = <0x41435354 0x4c>;	/* Temp calib data packet TAG */
 			};
 		};
 
-- 
2.34.1
Re: [PATCH 05/15] ARM: dts: microchip: sama7g5: add packet tag as offset for calib
Posted by Krzysztof Kozlowski 2 months ago
On Mon, Aug 04, 2025 at 03:32:09PM +0530, Varshini Rajendran wrote:
> Add packet tag as offset to access temperature calibration data from otp
> memory for sama7g5.
> 
> Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
> ---
>  arch/arm/boot/dts/microchip/sama7g5.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Not only driver breaks users, but also stuffing DTS change in the middle
of patchset instead of postponing it, breaks kernel.

Please learn how SoC trees are handled. This is clearly documented.

Best regards,
Krzysztof