forked from Minki/linux
4d5e3b06e1
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>
13 lines
281 B
C
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
|