v1 --> v2:
The UART of LX2160A is PL011, not sbsa-uart, correct the compatible string.
v1:
Remove from "arm,pl011" the compatible string.
Zhen Lei (1):
arm64: dts: lx2160a: Fix the compatible string of LX2160A UART
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Mark Kettenis told us that:
According to the NXP documentation, the LX2160A has a real PL011 UART.
Therefore, rewrite it to the compatible string of pl011. The property
"current-speed" specific to "arm,sbsa-uart" is also deleted.
Suggested-by: Shawn Guo <shawnguo@kernel.org>
Suggested-by: Mark Kettenis <redacted>
Signed-off-by: Zhen Lei <redacted>
---
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
On Tue, Jun 15, 2021 at 09:16:05PM +0800, Zhen Lei wrote:
Mark Kettenis told us that:
According to the NXP documentation, the LX2160A has a real PL011 UART.
Therefore, rewrite it to the compatible string of pl011. The property
"current-speed" specific to "arm,sbsa-uart" is also deleted.
Suggested-by: Shawn Guo <shawnguo@kernel.org>
Suggested-by: Mark Kettenis <redacted>
Signed-off-by: Zhen Lei <redacted>
-----Original Message-----
From: Zhen Lei <redacted>
Sent: Tuesday, June 15, 2021 8:16 AM
To: Shawn Guo <shawnguo@kernel.org>; Leo Li <redacted>; Rob
Herring [off-list ref]; Mark Kettenis [off-list ref];
devicetree [off-list ref]; linux-arm-kernel <linux-arm-
kernel@lists.infradead.org>; linux-kernel [off-list ref]
Cc: Zhen Lei <redacted>
Subject: [PATCH v2 1/1] arm64: dts: lx2160a: Fix the compatible string of
LX2160A UART
Mark Kettenis told us that:
According to the NXP documentation, the LX2160A has a real PL011 UART.
Therefore, rewrite it to the compatible string of pl011. The property "current-
speed" specific to "arm,sbsa-uart" is also deleted.
Sorry that I missed the discussion on the v1. But looks like this change breaks the LX2160 boot. The AMBA matching doesn't seem to work. And the console is not registered correctly.
[ 0.639055] OF: amba_device_add() failed (-2) for /soc/serial@21c0000
[ 0.645612] OF: amba_device_add() failed (-2) for /soc/serial@21d0000
-----Original Message-----
From: Zhen Lei <redacted>
Sent: Tuesday, June 15, 2021 8:16 AM
To: Shawn Guo <shawnguo@kernel.org>; Leo Li <redacted>; Rob
Herring [off-list ref]; Mark Kettenis [off-list ref];
devicetree [off-list ref]; linux-arm-kernel <linux-arm-
kernel@lists.infradead.org>; linux-kernel [off-list ref]
Cc: Zhen Lei <redacted>
Subject: [PATCH v2 1/1] arm64: dts: lx2160a: Fix the compatible string of
LX2160A UART
Mark Kettenis told us that:
According to the NXP documentation, the LX2160A has a real PL011 UART.
Therefore, rewrite it to the compatible string of pl011. The property "current-
speed" specific to "arm,sbsa-uart" is also deleted.
Sorry that I missed the discussion on the v1. But looks like this change breaks the LX2160 boot. The AMBA matching doesn't seem to work. And the console is not registered correctly.
-----Original Message-----
From: Leizhen (ThunderTown) <redacted>
Sent: Monday, August 9, 2021 8:28 PM
To: Leo Li <redacted>; Shawn Guo <shawnguo@kernel.org>; Rob
Herring [off-list ref]; Mark Kettenis [off-list ref];
devicetree [off-list ref]; linux-arm-kernel <linux-arm-
kernel@lists.infradead.org>; linux-kernel [off-list ref]
Subject: Re: [PATCH v2 1/1] arm64: dts: lx2160a: Fix the compatible string of
LX2160A UART
On 2021/8/10 6:52, Leo Li wrote:
quoted
quoted
-----Original Message-----
From: Zhen Lei <redacted>
Sent: Tuesday, June 15, 2021 8:16 AM
To: Shawn Guo <shawnguo@kernel.org>; Leo Li <redacted>;
Rob
quoted
quoted
Herring [off-list ref]; Mark Kettenis
[off-list ref]; devicetree [off-list ref];
linux-arm-kernel <linux-arm- kernel@lists.infradead.org>;
linux-kernel [off-list ref]
Cc: Zhen Lei <redacted>
Subject: [PATCH v2 1/1] arm64: dts: lx2160a: Fix the compatible
string of LX2160A UART
Mark Kettenis told us that:
According to the NXP documentation, the LX2160A has a real PL011 UART.
Therefore, rewrite it to the compatible string of pl011. The property
"current- speed" specific to "arm,sbsa-uart" is also deleted.
Sorry that I missed the discussion on the v1. But looks like this change
breaks the LX2160 boot. The AMBA matching doesn't seem to work. And
the console is not registered correctly.
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.k
ernel.org%2Flinux-arm-kernel%2Fcba3a29f-92b5-072a-9a27-
60240f072dad%40huawei.com%2F&data=04%7C01%7Cleoyang.li%40nx
p.com%7C9986b52f71724d7f6ae108d95b9e1d9b%7C686ea1d3bc2b4c6fa92cd
99c5c301635%7C0%7C0%7C637641556923909225%7CUnknown%7CTWFpbGZ
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6M
n0%3D%7C1000&sdata=wReesSfMj1hV2iPTN0%2F%2B%2Fb%2BKJH8xF
LLcDgOMfjx731I%3D&reserved=0
Maybe we should fall back to v1.
I didn't look into the problem in detail. Probably it is because of lacking the clock properties needed by the AMBA bus?
quoted
[ 0.639055] OF: amba_device_add() failed (-2) for /soc/serial@21c0000
[ 0.645612] OF: amba_device_add() failed (-2) for /soc/serial@21d0000
On Tue, Aug 10, 2021 at 1:28 AM Leo Li [off-list ref] wrote:
quoted
-----Original Message-----
From: Leizhen (ThunderTown) <redacted>
Sent: Monday, August 9, 2021 8:28 PM
To: Leo Li <redacted>; Shawn Guo <shawnguo@kernel.org>; Rob
Herring [off-list ref]; Mark Kettenis [off-list ref];
devicetree [off-list ref]; linux-arm-kernel <linux-arm-
kernel@lists.infradead.org>; linux-kernel [off-list ref]
Subject: Re: [PATCH v2 1/1] arm64: dts: lx2160a: Fix the compatible string of
LX2160A UART
On 2021/8/10 6:52, Leo Li wrote:
quoted
quoted
-----Original Message-----
From: Zhen Lei <redacted>
Sent: Tuesday, June 15, 2021 8:16 AM
To: Shawn Guo <shawnguo@kernel.org>; Leo Li <redacted>;
Rob
quoted
quoted
Herring [off-list ref]; Mark Kettenis
[off-list ref]; devicetree [off-list ref];
linux-arm-kernel <linux-arm- kernel@lists.infradead.org>;
linux-kernel [off-list ref]
Cc: Zhen Lei <redacted>
Subject: [PATCH v2 1/1] arm64: dts: lx2160a: Fix the compatible
string of LX2160A UART
Mark Kettenis told us that:
According to the NXP documentation, the LX2160A has a real PL011 UART.
Therefore, rewrite it to the compatible string of pl011. The property
"current- speed" specific to "arm,sbsa-uart" is also deleted.
Sorry that I missed the discussion on the v1. But looks like this change
breaks the LX2160 boot. The AMBA matching doesn't seem to work. And
the console is not registered correctly.
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.k
ernel.org%2Flinux-arm-kernel%2Fcba3a29f-92b5-072a-9a27-
60240f072dad%40huawei.com%2F&data=04%7C01%7Cleoyang.li%40nx
p.com%7C9986b52f71724d7f6ae108d95b9e1d9b%7C686ea1d3bc2b4c6fa92cd
99c5c301635%7C0%7C0%7C637641556923909225%7CUnknown%7CTWFpbGZ
sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6M
n0%3D%7C1000&sdata=wReesSfMj1hV2iPTN0%2F%2B%2Fb%2BKJH8xF
LLcDgOMfjx731I%3D&reserved=0
Maybe we should fall back to v1.
I didn't look into the problem in detail. Probably it is because of lacking the clock properties needed by the AMBA bus?
After reading through the history of sbsa-uart, I think that I would
prefer us to fall back to v1 to be compatible with sbsa-uart rather
than changing it to be compatible with pl011. Although the hardware
is actually compatible with the pl011, it would be better for us to
follow the newer SBSA standard to leave advanced configuration to
firmware and just expose the simple standard interface to OS.
Regards,
Leo
quoted
quoted
[ 0.639055] OF: amba_device_add() failed (-2) for /soc/serial@21c0000
[ 0.645612] OF: amba_device_add() failed (-2) for /soc/serial@21d0000
On Mon, Aug 09, 2021 at 10:52:04PM +0000, Leo Li wrote:
quoted
-----Original Message-----
From: Zhen Lei <redacted>
Sent: Tuesday, June 15, 2021 8:16 AM
To: Shawn Guo <shawnguo@kernel.org>; Leo Li <redacted>; Rob
Herring [off-list ref]; Mark Kettenis [off-list ref];
devicetree [off-list ref]; linux-arm-kernel <linux-arm-
kernel@lists.infradead.org>; linux-kernel [off-list ref]
Cc: Zhen Lei <redacted>
Subject: [PATCH v2 1/1] arm64: dts: lx2160a: Fix the compatible string of
LX2160A UART
Mark Kettenis told us that:
According to the NXP documentation, the LX2160A has a real PL011 UART.
Therefore, rewrite it to the compatible string of pl011. The property "current-
speed" specific to "arm,sbsa-uart" is also deleted.
Sorry that I missed the discussion on the v1. But looks like this change breaks the LX2160 boot. The AMBA matching doesn't seem to work. And the console is not registered correctly.
[ 0.639055] OF: amba_device_add() failed (-2) for /soc/serial@21c0000
[ 0.645612] OF: amba_device_add() failed (-2) for /soc/serial@21d0000