diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2022-06-28 15:34:07 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2022-06-28 15:34:07 +1000 |
commit | 06b8c26ea729b2eb43dde2f49e8f828c81ac7cca (patch) | |
tree | 2dc6578379f689209120190715d709a58b487356 /include/dt-bindings | |
parent | 54cd4605434a0018ce447b6f689078912eee756f (diff) | |
parent | ccba200e4801aaf57848d71b7bd167e52370fbf2 (diff) | |
download | linux-next-06b8c26ea729b2eb43dde2f49e8f828c81ac7cca.tar.gz |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/srini/nvmem.git
Diffstat (limited to 'include/dt-bindings')
-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 |