linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: arm: Add compatible string for NVIDIA Carmel
@ 2018-07-02 12:11 Mikko Perttunen
  2018-07-02 12:11 ` [PATCH v2 2/2] arm64: tegra: Add CPU nodes to Tegra194 device tree Mikko Perttunen
  2018-07-02 13:58 ` [PATCH v2 1/2] dt-bindings: arm: Add compatible string for NVIDIA Carmel Thierry Reding
  0 siblings, 2 replies; 4+ messages in thread
From: Mikko Perttunen @ 2018-07-02 12:11 UTC (permalink / raw)
  To: linux-arm-kernel

Add compatibility string for the Carmel CPU in Tegra194.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Acked-by: Rob Herring <robh@kernel.org>
---

Notes:
    v2:
    - Added Rob's Acked-by

 Documentation/devicetree/bindings/arm/cpus.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/Documentation/devicetree/bindings/arm/cpus.txt
index 29e1dc5d506d..c4090c5a4f9f 100644
--- a/Documentation/devicetree/bindings/arm/cpus.txt
+++ b/Documentation/devicetree/bindings/arm/cpus.txt
@@ -183,6 +183,7 @@ described below.
 			    "marvell,sheeva-v5"
 			    "nvidia,tegra132-denver"
 			    "nvidia,tegra186-denver"
+			    "nvidia,tegra194-carmel"
 			    "qcom,krait"
 			    "qcom,kryo"
 			    "qcom,kryo385"
-- 
2.16.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 2/2] arm64: tegra: Add CPU nodes to Tegra194 device tree
  2018-07-02 12:11 [PATCH v2 1/2] dt-bindings: arm: Add compatible string for NVIDIA Carmel Mikko Perttunen
@ 2018-07-02 12:11 ` Mikko Perttunen
  2018-07-02 13:57   ` Thierry Reding
  2018-07-02 13:58 ` [PATCH v2 1/2] dt-bindings: arm: Add compatible string for NVIDIA Carmel Thierry Reding
  1 sibling, 1 reply; 4+ messages in thread
From: Mikko Perttunen @ 2018-07-02 12:11 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
---

Notes:
    v2:
    - Moved PSCI node/properties to SoC device tree

 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 67 ++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
index 6322ef265c2f..8c2b4671ef81 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
@@ -329,6 +329,73 @@
 		};
 	};
 
+	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		cpu at 0 {
+			compatible = "nvidia,tegra194-carmel", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x10000>;
+			enable-method = "psci";
+		};
+
+		cpu at 1 {
+			compatible = "nvidia,tegra194-carmel", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x10001>;
+			enable-method = "psci";
+		};
+
+		cpu at 2 {
+			compatible = "nvidia,tegra194-carmel", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x100>;
+			enable-method = "psci";
+		};
+
+		cpu at 3 {
+			compatible = "nvidia,tegra194-carmel", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x101>;
+			enable-method = "psci";
+		};
+
+		cpu at 4 {
+			compatible = "nvidia,tegra194-carmel", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x200>;
+			enable-method = "psci";
+		};
+
+		cpu at 5 {
+			compatible = "nvidia,tegra194-carmel", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x201>;
+			enable-method = "psci";
+		};
+
+		cpu at 6 {
+			compatible = "nvidia,tegra194-carmel", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x10300>;
+			enable-method = "psci";
+		};
+
+		cpu at 7 {
+			compatible = "nvidia,tegra194-carmel", "arm,armv8";
+			device_type = "cpu";
+			reg = <0x10301>;
+			enable-method = "psci";
+		};
+	};
+
+	psci {
+		compatible = "arm,psci-1.0";
+		status = "okay";
+		method = "smc";
+	};
+
 	timer {
 		compatible = "arm,armv8-timer";
 		interrupts = <GIC_PPI 13
-- 
2.16.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 2/2] arm64: tegra: Add CPU nodes to Tegra194 device tree
  2018-07-02 12:11 ` [PATCH v2 2/2] arm64: tegra: Add CPU nodes to Tegra194 device tree Mikko Perttunen
@ 2018-07-02 13:57   ` Thierry Reding
  0 siblings, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2018-07-02 13:57 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jul 02, 2018 at 03:11:31PM +0300, Mikko Perttunen wrote:
> Add CPU and PSCI nodes to device tree. The Tegra194 SoC contains
> eight NVIDIA Carmel CPUs.
> 
> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
> ---
> 
> Notes:
>     v2:
>     - Moved PSCI node/properties to SoC device tree
> 
>  arch/arm64/boot/dts/nvidia/tegra194.dtsi | 67 ++++++++++++++++++++++++++++++++
>  1 file changed, 67 insertions(+)

Applied, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180702/52fafbe9/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 1/2] dt-bindings: arm: Add compatible string for NVIDIA Carmel
  2018-07-02 12:11 [PATCH v2 1/2] dt-bindings: arm: Add compatible string for NVIDIA Carmel Mikko Perttunen
  2018-07-02 12:11 ` [PATCH v2 2/2] arm64: tegra: Add CPU nodes to Tegra194 device tree Mikko Perttunen
@ 2018-07-02 13:58 ` Thierry Reding
  1 sibling, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2018-07-02 13:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jul 02, 2018 at 03:11:30PM +0300, Mikko Perttunen wrote:
> Add compatibility string for the Carmel CPU in Tegra194.
> 
> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
> Acked-by: Rob Herring <robh@kernel.org>
> ---
> 
> Notes:
>     v2:
>     - Added Rob's Acked-by
> 
>  Documentation/devicetree/bindings/arm/cpus.txt | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180702/6e368fc0/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-02 13:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-02 12:11 [PATCH v2 1/2] dt-bindings: arm: Add compatible string for NVIDIA Carmel Mikko Perttunen
2018-07-02 12:11 ` [PATCH v2 2/2] arm64: tegra: Add CPU nodes to Tegra194 device tree Mikko Perttunen
2018-07-02 13:57   ` Thierry Reding
2018-07-02 13:58 ` [PATCH v2 1/2] dt-bindings: arm: Add compatible string for NVIDIA Carmel Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).