diff options
| author | Claudiu Beznea <[email protected]> | 2022-07-06 11:06:21 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-07-08 15:45:04 +0200 |
| commit | 4d5e3b06e1fc1428be14cd4ebe3b37c1bb34f95d (patch) | |
| tree | 474f1f92861ca3017f48edf5b18b633d4d745b62 /include | |
| parent | b7e241bbff24f9e106bf616408fd58bcedc44bae (diff) | |
dt-bindings: microchip-otpc: document Microchip OTPC
Document Microchip OTP controller.
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/dt-bindings/nvmem/microchip,sama7g5-otpc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h b/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h new file mode 100644 index 000000000000..f570b23165a2 --- /dev/null +++ b/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ + +#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 |