Skip to contentSkip to conversation

dt-bindings: arm: Add compatible string for NVIDIA Carmel

PATCH Superseded Mikko Perttunen 3 participants 5 messages Jun 20, 2018 – Jun 28, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: arm: Add compatible string for NVIDIA Carmel

Add compatibility string for the Carmel CPU in Tegra194.

---
 Documentation/devicetree/bindings/arm/cpus.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/cpus.txt +1 -0
index 29e1dc5d506d..c4090c5a4f9f 100644
@@ -183,6 +183,7 @@ described below.
 			    "marvell,sheeva-v5"
 			    "nvidia,tegra132-denver"
 			    "nvidia,tegra186-denver"
+			    "nvidia,tegra194-carmel"
 			    "qcom,krait"
 			    "qcom,kryo"
 			    "qcom,kryo385"
Signature · 1 line
2.16.1
#1 lore raw

PATCH 2/2 arm64: tegra: Add CPU nodes to Tegra194 device tree

Add CPU and PSCI nodes to device tree. The Tegra194 SoC contains eight NVIDIA Carmel CPUs.

---
 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 40 +++++++++++++++++++
 arch/arm64/boot/dts/nvidia/tegra194.dtsi       | 53 ++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +40 -0
index ecb034177fc2..859ab5af17c1 100644
@@ -229,6 +229,46 @@
 		};
 	};
 
+	cpus {
+		cpu at 0 {
+			enable-method = "psci";
+		};
+
+		cpu at 1 {
+			enable-method = "psci";
+		};
+
+		cpu at 2 {
+			enable-method = "psci";
+		};
+
+		cpu at 3 {
+			enable-method = "psci";
+		};
+
+		cpu at 4 {
+			enable-method = "psci";
+		};
+
+		cpu at 5 {
+			enable-method = "psci";
+		};
+
+		cpu at 6 {
+			enable-method = "psci";
+		};
+
+		cpu at 7 {
+			enable-method = "psci";
+		};
+	};
+
+	psci {
+		compatible = "arm,psci-1.0";
+		status = "okay";
+		method = "smc";
+	};
+
 	regulators {
 		compatible = "simple-bus";
 		#address-cells = <1>;
arch/arm64/boot/dts/nvidia/tegra194.dtsi +53 -0

59 lines not on this page · raw message

Signature · 1 line
2.16.1
maintainer
#2 lore raw

PATCH 2/2 arm64: tegra: Add CPU nodes to Tegra194 device tree

Quoted 14 lines · Mikko Perttunen

Add CPU and PSCI nodes to device tree. The Tegra194 SoC contains eight NVIDIA Carmel CPUs.

---
 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 40 +++++++++++++++++++
 arch/arm64/boot/dts/nvidia/tegra194.dtsi       | 53 ++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +0 -0
index ecb034177fc2..859ab5af17c1 100644

arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi line 235

Quoted 7 lines
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +4 -0
@@ -229,6 +229,46 @@
 		};
 	};
 
+	cpus {
+		cpu at 0 {
+			enable-method = "psci";
+		};

Kind of strange to have this separated out. I guess you have non-PSCI firmware too? In any case, unless things have changed, upstream is only supporting spin-table or PSCI for arm64. So please combine this with the rest of the cpu nodes.

Rob

#3 lore raw

PATCH 2/2 arm64: tegra: Add CPU nodes to Tegra194 device tree

Quoted 18 lines · Rob Herring
Quoted 17 lines · Mikko Perttunen

Add CPU and PSCI nodes to device tree. The Tegra194 SoC contains eight NVIDIA Carmel CPUs.

---
  arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 40 +++++++++++++++++++
  arch/arm64/boot/dts/nvidia/tegra194.dtsi       | 53 ++++++++++++++++++++++++++
  2 files changed, 93 insertions(+)
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +0 -0
index ecb034177fc2..859ab5af17c1 100644
@@ -229,6 +229,46 @@
  		};
  	};
 
Quoted 9 lines

arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi line 235

Quoted 4 lines
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +4 -0
+	cpus {
+		cpu at 0 {
+			enable-method = "psci";
+		};

Kind of strange to have this separated out. I guess you have non-PSCI firmware too? In any case, unless things have changed, upstream is only supporting spin-table or PSCI for arm64. So please combine this with the rest of the cpu nodes.

This was copied from older Tegras - we might have had some systems in the past with non-PSCI firmware, but certainly don't have that anymore. I'll combine the nodes.

Mikko

Quoted 7 lines

Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html