From: Peng Fan <peng.fan@oss.nxp.com>
To: Marco Felsch <m.felsch@pengutronix.de>
Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
shawnguo@kernel.org, s.hauer@pengutronix.de,
devicetree@vger.kernel.org, Peng Fan <peng.fan@nxp.com>,
linux-kernel@vger.kernel.org, linux-imx@nxp.com,
kernel@pengutronix.de, festevam@gmail.com,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 05/15] arm64: dts: imx8mp-evk: enable uart1/3 ports
Date: Fri, 21 Oct 2022 17:31:50 +0800 [thread overview]
Message-ID: <5ddc1dac-b6ee-34c4-63eb-63c9a254d984@oss.nxp.com> (raw)
In-Reply-To: <20221021090910.zkijqqt6mpukzqdp@pengutronix.de>
Hi Marco,
On 10/21/2022 5:09 PM, Marco Felsch wrote:
> On 22-10-21, Peng Fan wrote:
>> Hi Marco,
>>
>> On 10/20/2022 7:07 PM, Marco Felsch wrote:
>>> Hi Peng,
>>>
>>> On 22-10-20, Peng Fan (OSS) wrote:
>>>> From: Peng Fan <peng.fan@nxp.com>
>>>>
>>>> Enable uart1/3 ports for evk board.
>>>>
>>>> Signed-off-by: Peng Fan <peng.fan@nxp.com>
>>>> ---
>>>> arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 36 ++++++++++++++++++++
>>>> 1 file changed, 36 insertions(+)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
>>>> index 2e29bb3c041c..366f709f8790 100644
>>>> --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
>>>> +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
>>>> @@ -428,6 +428,15 @@ &snvs_pwrkey {
>>>> status = "okay";
>>>> };
>>>> +&uart1 { /* BT */
>>>> + pinctrl-names = "default";
>>>> + pinctrl-0 = <&pinctrl_uart1>;
>>>> + assigned-clocks = <&clk IMX8MP_CLK_UART1>;
>>>> + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
>>>
>>> I'm curious, what is the default parent and why is this wrong? For the
>>> already exisiting uart2 we don't do that. Same applies for uart3.
>>
>> The default parent is OSC_24M. The uart2 is for console, so 24M is ok.
>> As I recall, we met issue 24M not able to get higher baudrate.
>
> What did you mean by higher baudrate, is it everything > 115200? When
> the console baudrates can be fullfilled with the PLL1_80M as well
> wouldn't it be worth to fix the imx8mp.dtsi instead?
To console, we use 115200, 24M could fullfill it.
BaudRate = (clk / ref_clk_div) / (16 * (ubmr + 1) / (ubir + 1))
If you have 24M ref_clk, the max baudrate is 1.5M, with setting
ubmr, ubir to 0, and ref clk divider to 1.
So more higher baudrate, 24M could not fulfill.
THanks,
Peng.
>
> Regards,
> Marco
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-10-21 9:33 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-20 9:59 [PATCH 00/15] arm64: dts: imx8m-evk: misc dts update Peng Fan (OSS)
2022-10-20 9:59 ` [PATCH 01/15] arm64: dts: imx8mp: add mlmix power domain Peng Fan (OSS)
2022-10-20 9:59 ` [PATCH 02/15] arm64: dts: imx8mp-evk: correct pcie pad settings Peng Fan (OSS)
2022-10-20 9:59 ` [PATCH 03/15] arm64: dts: imx8mp-evk: fix BUCK/LDO voltage Peng Fan (OSS)
2022-10-20 11:02 ` Marco Felsch
2022-10-21 9:13 ` Peng Fan
2022-10-21 9:44 ` Jacky Bai
2022-10-20 9:59 ` [PATCH 04/15] ARM64: dts: imx8mp-evk: add pwm support Peng Fan (OSS)
2022-10-20 11:04 ` Marco Felsch
2022-10-20 9:59 ` [PATCH 05/15] arm64: dts: imx8mp-evk: enable uart1/3 ports Peng Fan (OSS)
2022-10-20 11:07 ` Marco Felsch
2022-10-21 8:55 ` Peng Fan
2022-10-21 9:09 ` Marco Felsch
2022-10-21 9:31 ` Peng Fan [this message]
2022-10-21 9:53 ` Marco Felsch
2022-10-20 9:59 ` [PATCH 06/15] arm64: dts: imx8mp-evk: enable fspi nor on imx8mp evk Peng Fan (OSS)
2022-10-20 11:12 ` Marco Felsch
2022-10-20 9:59 ` [PATCH 07/15] arm64: dts: imx8mp-evk: enable I2C2 node Peng Fan (OSS)
2022-10-20 12:21 ` Marco Felsch
2022-10-20 9:59 ` [PATCH 08/15] arm64: dts: imx8mn-evk: update vdd_soc dvs voltage Peng Fan (OSS)
2022-10-20 9:59 ` [PATCH 09/15] arm64: dts: imx8mn-evk: set off-on-delay-us in regulator Peng Fan (OSS)
2022-10-20 9:59 ` [PATCH 10/15] arm64: dts: imx8mn-evk: add i2c gpio recovery settings Peng Fan (OSS)
2022-10-20 9:59 ` [PATCH 11/15] arm64: dts: imx8mn-evk: enable uart1 Peng Fan (OSS)
2022-10-20 9:59 ` [PATCH 12/15] arm64: dts: imx8mn-evk: enable usdhc1 Peng Fan (OSS)
2022-10-20 9:59 ` [PATCH 13/15] arm64: dts: imx8mm-evk: Enable usdhc1 to support wifi Peng Fan (OSS)
2022-10-20 9:59 ` [PATCH 14/15] arm64: dts: imx8m[m,p]-evk: change to use off-on-delay-us in regulator Peng Fan (OSS)
2022-10-20 14:13 ` [PATCH 14/15] arm64: dts: imx8m[m, p]-evk: " Marco Felsch
2022-10-20 9:59 ` [PATCH 15/15] arm64: dts: imx8mm-evk: add vcc supply for pca6416 Peng Fan (OSS)
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=5ddc1dac-b6ee-34c4-63eb-63c9a254d984@oss.nxp.com \
--to=peng.fan@oss.nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--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=robh+dt@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