From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.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>,
linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Frank Li <Frank.Li@nxp.com>,
Alice Guo <alice.guo@nxp.com>, Peng Fan <peng.fan@nxp.com>,
Frank Li <Frank.Li@nxp.com>
Subject: Re: [PATCH 2/4] arm64: dts: imx8dxl: add lpuart device in cm40 subsystem
Date: Thu, 29 Feb 2024 11:12:39 +0100 [thread overview]
Message-ID: <1889315.CQOukoFCf9@steina-w> (raw)
In-Reply-To: <20240228-m4_lpuart-v1-2-9e6947be15e7@nxp.com>
Hi Frank,
thanks for the patch.
Am Mittwoch, 28. Februar 2024, 20:54:58 CET schrieb Frank Li:
> From: Alice Guo <alice.guo@nxp.com>
>
> Adding lpuart device in cm40 subsystem.
>
> Signed-off-by: Alice Guo <alice.guo@nxp.com>
> Reviewed-by: Peng Fan <peng.fan@nxp.com>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx8-ss-cm40.dtsi | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-cm40.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-cm40.dtsi
> index b1d626862ddf8..ecca5ada224b7 100644
> --- a/arch/arm64/boot/dts/freescale/imx8-ss-cm40.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8-ss-cm40.dtsi
> @@ -64,4 +64,29 @@ cm40_intmux: intmux@37400000 {
> power-domains = <&pd IMX_SC_R_M4_0_INTMUX>;
> status = "disabled";
> };
> +
> + cm40_lpuart: serial@37220000 {
> + compatible = "fsl,imx8qxp-lpuart";
> + reg = <0x37220000 0x1000>;
> + interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-parent = <&cm40_intmux>;
With interrupt-parent set in Patch 1 for the whole subsystem, this line
is not needed anymore.
Best regards,
Alexander
> + clocks = <&cm40_uart_lpcg 1>, <&cm40_uart_lpcg 0>;
> + clock-names = "ipg", "baud";
> + assigned-clocks = <&clk IMX_SC_R_M4_0_UART IMX_SC_PM_CLK_PER>;
> + assigned-clock-rates = <24000000>;
> + power-domains = <&pd IMX_SC_R_M4_0_UART>;
> + status = "disabled";
> + };
> +
> + cm40_uart_lpcg: clock-controller@37620000 {
> + compatible = "fsl,imx8qxp-lpcg";
> + reg = <0x37620000 0x1000>;
> + #clock-cells = <1>;
> + clocks = <&clk IMX_SC_R_M4_0_UART IMX_SC_PM_CLK_PER>,
> + <&cm40_ipg_clk>;
> + clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>;
> + clock-output-names = "cm40_lpcg_uart_clk",
> + "cm40_lpcg_uart_ipg_clk";
> + power-domains = <&pd IMX_SC_R_M4_0_UART>;
> + };
> };
>
>
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
next prev parent reply other threads:[~2024-02-29 10:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-28 19:54 [PATCH 0/4] arm64: dts: imx8: add cm40 and cm40_uart Frank Li
2024-02-28 19:54 ` [PATCH 1/4] arm64: dts: imx8: add cm40 subsystem dtsi Frank Li
2024-02-29 10:08 ` Alexander Stein
2024-02-28 19:54 ` [PATCH 2/4] arm64: dts: imx8dxl: add lpuart device in cm40 subsystem Frank Li
2024-02-28 20:05 ` Fabio Estevam
2024-02-29 10:12 ` Alexander Stein [this message]
2024-02-28 19:54 ` [PATCH 3/4] arm64: dts: imx8dxl: update cm40 irq number informaiton Frank Li
2024-02-28 19:55 ` [PATCH 4/4] dts: arm64: imx8dxl-evk: add lpuart1 and cm40 uart Frank Li
2024-02-28 20:04 ` Fabio Estevam
2024-02-29 13:35 ` [PATCH 0/4] arm64: dts: imx8: add cm40 and cm40_uart 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=1889315.CQOukoFCf9@steina-w \
--to=alexander.stein@ew.tq-group.com \
--cc=Frank.Li@nxp.com \
--cc=alice.guo@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=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@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;
as well as URLs for NNTP newsgroup(s).