Skip to contentSkip to conversation

db410c: set clk node to be probed before relocation

PATCH New Ramon Fried 2 participants 2 messages Apr 20, 2018 – May 9, 2018 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 db410c: set clk node to be probed before relocation

The clock node is used by the serial driver and it's needed before relocation.
This patch ensures that the msm-serial driver can actually use the clock node.

---
v2: Moved the u-boot,dm-pre-reloc attribute to the -uboot.dtsi file
v3: Moved the forgotten u-boot,dm-pre-reloc also to -uboot.dtsi file

 arch/arm/dts/dragonboard410c-uboot.dtsi | 12 ++++++++++++
 arch/arm/dts/dragonboard410c.dts        |  1 -
 2 files changed, 12 insertions(+), 1 deletion(-)
arch/arm/dts/dragonboard410c-uboot.dtsi +12 -0
index c3475c4227..1de1419edc 100644
@@ -10,6 +10,18 @@
 	config {
 		u-boot,mmc-env-partition = "boot";
 	};
+
+	soc {
+		u-boot,dm-pre-reloc;
+
+	qcom,gcc at 1800000 {
+		u-boot,dm-pre-reloc;
+	};
+
+	serial at 78b0000 {
+		u-boot,dm-pre-reloc;
+		};
+	};
 };
 
 
arch/arm/dts/dragonboard410c.dts +0 -1
index 5ccfe7f8c8..aa9b0a138b 100644
@@ -49,7 +49,6 @@
 		serial at 78b0000 {
 			compatible = "qcom,msm-uartdm-v1.4";
 			reg = <0x78b0000 0x200>;
-			u-boot,dm-pre-reloc;
 			clock = <&clkc 4>;
 		};
 
Signature · 1 line
2.14.1
#1 lore raw

PATCH v3 1/1 db410c: set clk node to be probed before relocation

Quoted 6 lines · Ramon Fried

The clock node is used by the serial driver and it's needed before relocation.
This patch ensures that the msm-serial driver can actually use the clock node.

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: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180508/a1c35212/attachment.sig>