Skip to contentSkip to conversation

arm: dts: k3-j721e-common-proc-board: Mark main_uart0 as shared device

PATCH New Lokesh Vutla 2 participants 2 messages Sep 29, 2019 – Oct 12, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: k3-j721e-common-proc-board: Mark main_uart0 as shared device

Main uart0 is used as debug console by both R5SPL and A72 bootloader and Linux. So mark it as shared device so that power-domain request is successful by both cores.

---
- Based on kernl change:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/arm64/boot/dts/ti?id=bf146a1a7cd4855696859bd6cd3f470b96f1bea9

 arch/arm/dts/k3-j721e-common-proc-board.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/dts/k3-j721e-common-proc-board.dts +4 -0
index b5b8c3c5cc..9de9d1d692 100644
@@ -19,6 +19,10 @@
 	status = "disabled";
 };
 
+&main_uart0 {
+	power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
+};
+
 &main_uart3 {
 	/* UART not brought out */
 	status = "disabled";
Signature · 1 line
2.23.0
#1 lore raw

PATCH 1/1 arm: dts: k3-j721e-common-proc-board: Mark main_uart0 as shared device

Quoted 5 lines · Lokesh Vutla

Main uart0 is used as debug console by both R5SPL and A72 bootloader and Linux. So mark it as shared device so that power-domain request is successful by both cores.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191012/98017cd9/attachment.sig>