linux/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h
Claudiu Beznea 4d5e3b06e1 dt-bindings: microchip-otpc: document Microchip OTPC
Document Microchip OTP controller.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220706100627.6534-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-08 15:45:04 +02:00

13 lines
281 B
C

/* 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