Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@nxp.com>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.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>,
	devicetree@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH 1/4] arm64: dts: imx91: Add tempsensor node
Date: Fri, 12 Dec 2025 11:43:17 -0500	[thread overview]
Message-ID: <aTxGJfQDQVXb+Nd9@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20251212-imx91-dts-v1-1-2bb3c13762dd@nxp.com>

On Fri, Dec 12, 2025 at 05:16:07PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add tempsensor node and trim sub-nodes in ocotp.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---

I posted it when upstream tmu driver

https://lore.kernel.org/imx/20251020-imx91tmu-v7-3-48d7d9f25055@nxp.com/

Frank
>  arch/arm64/boot/dts/freescale/imx91.dtsi | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx91.dtsi b/arch/arm64/boot/dts/freescale/imx91.dtsi
> index 4d8300b2a7bca33bd0613db9e79d2fba6b40c052..c08db08ca9607b9780a77e215cdb5997e4daae4e 100644
> --- a/arch/arm64/boot/dts/freescale/imx91.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx91.dtsi
> @@ -6,6 +6,21 @@
>  #include "imx91-pinfunc.h"
>  #include "imx91_93_common.dtsi"
>
> +&aips1 {
> +	tempsense0: thermal-sensor@44482000 {
> +		compatible = "fsl,imx91-tmu";
> +		reg = <0x44482000 0x1000>;
> +		clocks = <&clk IMX93_CLK_TMC_GATE>;
> +		interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
> +			     <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
> +			     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
> +		interrupt-names = "thr1", "thr2", "ready";
> +		#thermal-sensor-cells = <0>;
> +		nvmem-cells = <&tmu_trim1>, <&tmu_trim2>;
> +		nvmem-cell-names = "trim1", "trim2";
> +	};
> +};
> +
>  &clk {
>  	compatible = "fsl,imx91-ccm";
>  };
> @@ -69,3 +84,13 @@ &media_blk_ctrl {
>  	clock-names = "apb", "axi", "nic", "disp", "cam",
>  		      "lcdif", "isi", "csi";
>  };
> +
> +&ocotp {
> +	tmu_trim1: tmu-trim@a0 {
> +		reg = <0xa0 0x4>;
> +	};
> +
> +	tmu_trim2: tmu-trim@a4 {
> +		reg = <0xa4 0x4>;
> +	};
> +};
>
> --
> 2.37.1
>


  reply	other threads:[~2025-12-12 16:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-12  9:16 [PATCH 0/4] arm64: dts: imx91: misc updates Peng Fan (OSS)
2025-12-12  9:16 ` [PATCH 1/4] arm64: dts: imx91: Add tempsensor node Peng Fan (OSS)
2025-12-12 16:43   ` Frank Li [this message]
2025-12-15  0:50     ` Peng Fan
2025-12-12  9:16 ` [PATCH 2/4] arm64: dts: imx91: Add thermal zone node Peng Fan (OSS)
2025-12-12  9:16 ` [PATCH 3/4] arm64: dts: imx91: Update file name with dash Peng Fan (OSS)
2025-12-14 22:02   ` Francesco Valla
2025-12-12  9:16 ` [PATCH 4/4] arm64: dts: imx91-11x11-evk: Add gpio4 alias Peng Fan (OSS)
2025-12-12 14:39 ` [PATCH 0/4] arm64: dts: imx91: misc updates Rob Herring

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=aTxGJfQDQVXb+Nd9@lizhi-Precision-Tower-5810 \
    --to=frank.li@nxp.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=peng.fan@nxp.com \
    --cc=peng.fan@oss.nxp.com \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.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