diff mbox series

[1/4] dt-bindings: nvmem: imx-ocotp: Add i.MX8M Nano access controller definitions

Message ID 20250130130101.1040824-2-alexander.stein@ew.tq-group.com (mailing list archive)
State New
Headers show
Series Make i.MX8M Nano OCOTP work as accessing controller | expand

Commit Message

Alexander Stein Jan. 30, 2025, 1 p.m. UTC
These are the definition for the bindings of imx-ocotp for disabling
fuses.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 include/dt-bindings/nvmem/fsl,imx8mn-ocotp.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 include/dt-bindings/nvmem/fsl,imx8mn-ocotp.h

Comments

Frank Li Jan. 30, 2025, 4:32 p.m. UTC | #1
On Thu, Jan 30, 2025 at 02:00:58PM +0100, Alexander Stein wrote:
> These are the definition for the bindings of imx-ocotp for disabling
> fuses.
>
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> ---

Reviewed-by: Frank Li <Frank.Li@nxp.com>

>  include/dt-bindings/nvmem/fsl,imx8mn-ocotp.h | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 include/dt-bindings/nvmem/fsl,imx8mn-ocotp.h
>
> diff --git a/include/dt-bindings/nvmem/fsl,imx8mn-ocotp.h b/include/dt-bindings/nvmem/fsl,imx8mn-ocotp.h
> new file mode 100644
> index 0000000000000..6e554edefd488
> --- /dev/null
> +++ b/include/dt-bindings/nvmem/fsl,imx8mn-ocotp.h
> @@ -0,0 +1,16 @@
> +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> +
> +#ifndef _DT_BINDINGS_NVMEM_IMX8MN_OCOTP_H
> +#define _DT_BINDINGS_NVMEM_IMX8MN_OCOTP_H
> +
> +#define IMX8MN_OCOTP_M7_DISABLE		0
> +#define IMX8MN_OCOTP_M7_MPU_DISABLE	1
> +#define IMX8MN_OCOTP_M7_FPU_DISABLE	2
> +#define IMX8MN_OCOTP_USB_OTG1_DISABLE	3
> +#define IMX8MN_OCOTP_GPU3D_DISABLE	4
> +#define IMX8MN_OCOTP_MIPI_DSI_DISABLE	5
> +#define IMX8MN_OCOTP_ENET_DISABLE	6
> +#define IMX8MN_OCOTP_MIPI_CSI_DISABLE	7
> +#define IMX8MN_OCOTP_ASRC_DISABLE	8
> +
> +#endif
> --
> 2.34.1
>
Conor Dooley Jan. 30, 2025, 6:47 p.m. UTC | #2
On Thu, Jan 30, 2025 at 02:00:58PM +0100, Alexander Stein wrote:
> These are the definition for the bindings of imx-ocotp for disabling
> fuses.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>
diff mbox series

Patch

diff --git a/include/dt-bindings/nvmem/fsl,imx8mn-ocotp.h b/include/dt-bindings/nvmem/fsl,imx8mn-ocotp.h
new file mode 100644
index 0000000000000..6e554edefd488
--- /dev/null
+++ b/include/dt-bindings/nvmem/fsl,imx8mn-ocotp.h
@@ -0,0 +1,16 @@ 
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
+
+#ifndef _DT_BINDINGS_NVMEM_IMX8MN_OCOTP_H
+#define _DT_BINDINGS_NVMEM_IMX8MN_OCOTP_H
+
+#define IMX8MN_OCOTP_M7_DISABLE		0
+#define IMX8MN_OCOTP_M7_MPU_DISABLE	1
+#define IMX8MN_OCOTP_M7_FPU_DISABLE	2
+#define IMX8MN_OCOTP_USB_OTG1_DISABLE	3
+#define IMX8MN_OCOTP_GPU3D_DISABLE	4
+#define IMX8MN_OCOTP_MIPI_DSI_DISABLE	5
+#define IMX8MN_OCOTP_ENET_DISABLE	6
+#define IMX8MN_OCOTP_MIPI_CSI_DISABLE	7
+#define IMX8MN_OCOTP_ASRC_DISABLE	8
+
+#endif