[PATCH 06/15] dt-bindings: nvmem: microchip-otpc: remove stride details

Varshini Rajendran posted 15 patches 2 months ago
[PATCH 06/15] dt-bindings: nvmem: microchip-otpc: remove stride details
Posted by Varshini Rajendran 2 months ago
Removed stride details from the bindings header as they are not relevant
anymore since the access method of OTP packets is changed to TAG
approach. Update the example binding according to the new changes.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
 include/dt-bindings/nvmem/microchip,sama7g5-otpc.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h b/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h
index f570b23165a2..682b040675fd 100644
--- a/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h
+++ b/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h
@@ -3,10 +3,4 @@
 #ifndef _DT_BINDINGS_NVMEM_MICROCHIP_OTPC_H
 #define _DT_BINDINGS_NVMEM_MICROCHIP_OTPC_H
 
-/*
- * Need to have it as a multiple of 4 as NVMEM memory is registered with
- * stride = 4.
- */
-#define OTP_PKT(id)			((id) * 4)
-
 #endif
-- 
2.34.1
Re: [PATCH 06/15] dt-bindings: nvmem: microchip-otpc: remove stride details
Posted by Krzysztof Kozlowski 2 months ago
On Mon, Aug 04, 2025 at 03:32:10PM +0530, Varshini Rajendran wrote:
> Removed stride details from the bindings header as they are not relevant
> anymore since the access method of OTP packets is changed to TAG
> approach. Update the example binding according to the new changes.

Where?

This was supposed to be one commit.

Best regards,
Krzysztof