From: Shawn Guo <shawnguo@kernel.org>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: s.hauer@pengutronix.de, kernel@pengutronix.de,
festevam@gmail.com, linux-imx@nxp.com,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com>,
Marco Felsch <m.felsch@pengutronix.de>
Subject: Re: [PATCH V6 10/12] arm64: dts: imx8mn-evk: enable uart1
Date: Sat, 19 Nov 2022 11:10:42 +0800 [thread overview]
Message-ID: <20221119031039.GK16229@T480> (raw)
In-Reply-To: <20221117095403.1876071-11-peng.fan@oss.nxp.com>
On Thu, Nov 17, 2022 at 05:54:01PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Enable uart1 for BT usage
> Configure the clock to source from IMX8MN_SYS_PLL1_80M, because the uart
> could only support max 1.5M buadrate if using OSC_24M as clock source.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
> index 2439b91e51d8..dfa11927b1d7 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
> @@ -247,6 +247,15 @@ &spdif1 {
> status = "okay";
> };
>
> +&uart1 { /* BT */
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_uart1>;
> + assigned-clocks = <&clk IMX8MN_CLK_UART1>;
> + assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>;
> + fsl,uart-has-rtscts;
uart-has-rtscts
Fixed it up and applied, thanks!
Shawn
> + status = "okay";
> +};
> +
> &uart2 { /* console */
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_uart2>;
> @@ -444,6 +453,15 @@ MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159
> >;
> };
>
> + pinctrl_uart1: uart1grp {
> + fsl,pins = <
> + MX8MN_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140
> + MX8MN_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140
> + MX8MN_IOMUXC_UART3_RXD_UART1_DCE_CTS_B 0x140
> + MX8MN_IOMUXC_UART3_TXD_UART1_DCE_RTS_B 0x140
> + >;
> + };
> +
> pinctrl_uart2: uart2grp {
> fsl,pins = <
> MX8MN_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140
> --
> 2.37.1
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: s.hauer@pengutronix.de, kernel@pengutronix.de,
festevam@gmail.com, linux-imx@nxp.com,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com>,
Marco Felsch <m.felsch@pengutronix.de>
Subject: Re: [PATCH V6 10/12] arm64: dts: imx8mn-evk: enable uart1
Date: Sat, 19 Nov 2022 11:10:42 +0800 [thread overview]
Message-ID: <20221119031039.GK16229@T480> (raw)
In-Reply-To: <20221117095403.1876071-11-peng.fan@oss.nxp.com>
On Thu, Nov 17, 2022 at 05:54:01PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Enable uart1 for BT usage
> Configure the clock to source from IMX8MN_SYS_PLL1_80M, because the uart
> could only support max 1.5M buadrate if using OSC_24M as clock source.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
> index 2439b91e51d8..dfa11927b1d7 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
> @@ -247,6 +247,15 @@ &spdif1 {
> status = "okay";
> };
>
> +&uart1 { /* BT */
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_uart1>;
> + assigned-clocks = <&clk IMX8MN_CLK_UART1>;
> + assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>;
> + fsl,uart-has-rtscts;
uart-has-rtscts
Fixed it up and applied, thanks!
Shawn
> + status = "okay";
> +};
> +
> &uart2 { /* console */
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_uart2>;
> @@ -444,6 +453,15 @@ MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159
> >;
> };
>
> + pinctrl_uart1: uart1grp {
> + fsl,pins = <
> + MX8MN_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140
> + MX8MN_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140
> + MX8MN_IOMUXC_UART3_RXD_UART1_DCE_CTS_B 0x140
> + MX8MN_IOMUXC_UART3_TXD_UART1_DCE_RTS_B 0x140
> + >;
> + };
> +
> pinctrl_uart2: uart2grp {
> fsl,pins = <
> MX8MN_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140
> --
> 2.37.1
>
next prev parent reply other threads:[~2022-11-19 3:11 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-17 9:53 [PATCH V6 00/12] arm64: dts: imx8m-evk: misc dts update Peng Fan (OSS)
2022-11-17 9:53 ` Peng Fan (OSS)
2022-11-17 9:53 ` [PATCH V6 01/12] arm64: dts: imx8mp: add mlmix power domain Peng Fan (OSS)
2022-11-17 9:53 ` Peng Fan (OSS)
2022-11-19 2:59 ` Shawn Guo
2022-11-19 2:59 ` Shawn Guo
2022-11-17 9:53 ` [PATCH V6 02/12] arm64: dts: imx8mp-evk: correct pcie pad settings Peng Fan (OSS)
2022-11-17 9:53 ` Peng Fan (OSS)
2022-11-19 3:01 ` Shawn Guo
2022-11-19 3:01 ` Shawn Guo
2022-11-17 9:53 ` [PATCH V6 03/12] ARM64: dts: imx8mp-evk: add pwm support Peng Fan (OSS)
2022-11-17 9:53 ` Peng Fan (OSS)
2022-11-19 3:02 ` Shawn Guo
2022-11-19 3:02 ` Shawn Guo
2022-11-17 9:53 ` [PATCH V6 04/12] arm64: dts: imx8mp-evk: enable uart1/3 ports Peng Fan (OSS)
2022-11-17 9:53 ` Peng Fan (OSS)
2022-11-19 3:04 ` Shawn Guo
2022-11-19 3:04 ` Shawn Guo
2022-11-17 9:53 ` [PATCH V6 05/12] arm64: dts: imx8mp-evk: enable fspi nor on imx8mp evk Peng Fan (OSS)
2022-11-17 9:53 ` Peng Fan (OSS)
2022-11-19 3:05 ` Shawn Guo
2022-11-19 3:05 ` Shawn Guo
2022-11-17 9:53 ` [PATCH V6 06/12] arm64: dts: imx8mp-evk: enable I2C2 node Peng Fan (OSS)
2022-11-17 9:53 ` Peng Fan (OSS)
2022-11-19 3:06 ` Shawn Guo
2022-11-19 3:06 ` Shawn Guo
2022-11-17 9:53 ` [PATCH V6 07/12] arm64: dts: imx8mn-evk: update vdd_soc dvs voltage Peng Fan (OSS)
2022-11-17 9:53 ` Peng Fan (OSS)
2022-11-17 10:17 ` Marco Felsch
2022-11-17 10:17 ` Marco Felsch
2022-11-19 3:07 ` Shawn Guo
2022-11-19 3:07 ` Shawn Guo
2022-11-17 9:53 ` [PATCH V6 08/12] arm64: dts: imx8mn-evk: set off-on-delay-us in regulator Peng Fan (OSS)
2022-11-17 9:53 ` Peng Fan (OSS)
2022-11-19 3:08 ` Shawn Guo
2022-11-19 3:08 ` Shawn Guo
2022-11-17 9:54 ` [PATCH V6 09/12] arm64: dts: imx8mn-evk: add i2c gpio recovery settings Peng Fan (OSS)
2022-11-17 9:54 ` Peng Fan (OSS)
2022-11-19 3:09 ` Shawn Guo
2022-11-19 3:09 ` Shawn Guo
2022-11-17 9:54 ` [PATCH V6 10/12] arm64: dts: imx8mn-evk: enable uart1 Peng Fan (OSS)
2022-11-17 9:54 ` Peng Fan (OSS)
2022-11-19 3:10 ` Shawn Guo [this message]
2022-11-19 3:10 ` Shawn Guo
2022-11-17 9:54 ` [PATCH V6 11/12] arm64: dts: imx8m[m,q]-evk: change to use off-on-delay-us in regulator Peng Fan (OSS)
2022-11-17 9:54 ` Peng Fan (OSS)
2022-11-19 3:11 ` Shawn Guo
2022-11-19 3:11 ` Shawn Guo
2022-11-17 9:54 ` [PATCH V6 12/12] arm64: dts: imx8mm-evk: add vcc supply for pca6416 Peng Fan (OSS)
2022-11-17 9:54 ` Peng Fan (OSS)
2022-11-19 3:12 ` Shawn Guo
2022-11-19 3:12 ` Shawn Guo
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=20221119031039.GK16229@T480 \
--to=shawnguo@kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=m.felsch@pengutronix.de \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=s.hauer@pengutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.