Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@nxp.com>
To: Alexander Stein <alexander.stein@ew.tq-group.com>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
	devicetree@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 05/10] arm64: dts: imx8mp: Add i.MX8M Plus OCOTP disable fuse definitions
Date: Fri, 7 Feb 2025 10:23:54 -0500	[thread overview]
Message-ID: <Z6YliptvK/T8TBBv@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20250207083616.1442887-6-alexander.stein@ew.tq-group.com>

On Fri, Feb 07, 2025 at 09:36:10AM +0100, Alexander Stein wrote:
> These definitions define the location of corresponding disable bits
> in OCOTP peripheral.
>
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Reviewed-by: Frank Li <Frank.Li@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx8mp-ocotp.h | 42 ++++++++++++++++++++
>  1 file changed, 42 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-ocotp.h
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-ocotp.h b/arch/arm64/boot/dts/freescale/imx8mp-ocotp.h
> new file mode 100644
> index 0000000000000..c9f49c61f3656
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-ocotp.h
> @@ -0,0 +1,42 @@
> +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
> +/*
> + * Copyright (c) 2025 TQ-Systems GmbH <linux@ew.tq-group.com>,
> + * D-82229 Seefeld, Germany.
> + * Author: Alexander Stein
> + */
> +
> +#ifndef __DTS_IMX8MP_OCOTP_H
> +#define __DTS_IMX8MP_OCOTP_H
> +
> +/*
> + * The OCOTP is a tuple of
> + * <fuse_addr fuse_bit_offset>
> + */
> +
> +#define IMX8MP_OCOTP_M7_DISABLE			16 21
> +#define IMX8MP_OCOTP_VPU_G1_DISABLE		16 24
> +#define IMX8MP_OCOTP_VPU_G2_DISABLE		16 25
> +#define IMX8MP_OCOTP_CAN_DISABLE		16 28
> +#define IMX8MP_OCOTP_CAN_FD_DISABLE		16 29
> +#define IMX8MP_OCOTP_VPU_VC8000E_DISABLE	16 30
> +#define IMX8MP_OCOTP_IMG_ISP1_DISABLE		20 0
> +#define IMX8MP_OCOTP_IMG_ISP2_DISABLE		20 1
> +#define IMX8MP_OCOTP_IMG_DEWARP_DISABLE		20 2
> +#define IMX8MP_OCOTP_NPU_DISABLE		20 3
> +#define IMX8MP_OCOTP_AUDIO_PROCESSOR_DISABLE	20 4
> +#define IMX8MP_OCOTP_ASRC_DISABLE		20 5
> +#define IMX8MP_OCOTP_GPU2_DISABLE		20 6
> +#define IMX8MP_OCOTP_GPU3_DISABLE		20 7
> +#define IMX8MP_OCOTP_USB1_DISABLE		20 8
> +#define IMX8MP_OCOTP_USB2_DISABLE		20 9
> +#define IMX8MP_OCOTP_PCIE1_DISABLE		20 11
> +#define IMX8MP_OCOTP_ENET1_DISABLE		20 13
> +#define IMX8MP_OCOTP_ENET2_DISABLE		20 14
> +#define IMX8MP_OCOTP_MIPI_CSI1_DISABLE		20 15
> +#define IMX8MP_OCOTP_MIPI_CSI2_DISABLE		20 16
> +#define IMX8MP_OCOTP_MIPI_DSI1_DISABLE		20 17
> +#define IMX8MP_OCOTP_LVDS1_DISABLE		20 19
> +#define IMX8MP_OCOTP_LVDS2_DISABLE		20 20
> +#define IMX8MP_OCOTP_EARC_RX_DISABLE		20 30
> +
> +#endif /* __DTS_IMX8MP_OCOTP_H */
> --
> 2.34.1
>


  reply	other threads:[~2025-02-07 15:39 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-07  8:36 [PATCH v2 00/10] Make i.MX8M OCOTP work as accessing controller Alexander Stein
2025-02-07  8:36 ` [PATCH v2 01/10] nvmem: imx-ocotp: Sort header alphabetically Alexander Stein
2025-02-07  8:36 ` [PATCH v2 02/10] nvmem: imx-ocotp: Support accessing controller for i.MX8M Alexander Stein
2025-02-07 15:22   ` Frank Li
2025-02-07  8:36 ` [PATCH v2 03/10] arm64: dts: imx8mn: Add i.MX8M Nano OCOTP disable fuse definitions Alexander Stein
2025-02-07 11:54   ` Peng Fan
2025-02-07  8:36 ` [PATCH v2 04/10] arm64: dts: imx8mn: Add access-controller references Alexander Stein
2025-02-07 12:02   ` Peng Fan
2025-02-07 12:37     ` Alexander Stein
2025-02-10  2:36       ` Peng Fan
2025-02-10 15:48         ` Alexander Stein
2025-02-11  3:33           ` Peng Fan
2025-02-12  8:10             ` Alexander Stein
2025-02-12  8:22               ` Peng Fan
2025-02-07  8:36 ` [PATCH v2 05/10] arm64: dts: imx8mp: Add i.MX8M Plus OCOTP disable fuse definitions Alexander Stein
2025-02-07 15:23   ` Frank Li [this message]
2025-02-07  8:36 ` [PATCH v2 06/10] arm64: dts: imx8mp: Add access-controller references Alexander Stein
2025-02-07  8:36 ` [PATCH v2 07/10] arm64: dts: imx8mm: Add i.MX8M Mini OCOTP disable fuse definitions Alexander Stein
2025-02-07  8:36 ` [PATCH v2 08/10] arm64: dts: imx8mm: Add access-controller references Alexander Stein
2025-02-07  8:36 ` [PATCH v2 09/10] arm64: dts: imx8mq: Add i.MX8M OCOTP disable fuse definitions Alexander Stein
2025-02-07 15:24   ` Frank Li
2025-02-07  8:36 ` [PATCH v2 10/10] arm64: dts: imx8mq: Add access-controller references Alexander Stein
2025-02-07  9:03   ` Alexander Stein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z6YliptvK/T8TBBv@lizhi-Precision-Tower-5810 \
    --to=frank.li@nxp.com \
    --cc=alexander.stein@ew.tq-group.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=srinivas.kandagatla@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox