All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] arm64: tegra: Add NVIDIA Jetson AGX Orin support
@ 2021-11-12 12:35 ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Thierry Reding <treding@nvidia.com>

Hi,

This set of patches adds support for the new NVIDIA Jetson AGX Orin
module and the corresponding developer kit. It builds on the existing
Tegra234 support introduced a while ago for the simulation VDK platform
and updates a couple of details and adds a few more things that have
changed since then.

Most of this work was done by Mikko Perttunen.

Thierry

Mikko Perttunen (7):
  dt-bindings: Update headers for Tegra234
  misc: sram: Add compatible string for Tegra234 SYSRAM
  arm64: tegra: Add clock for Tegra234 RTC
  arm64: tegra: Update Tegra234 BPMP channel addresses
  arm64: tegra: Fill in properties for Tegra234 eMMC
  arm64: tegra: Add Tegra234 TCU device
  arm64: tegra: Add NVIDIA Jetson AGX Orin Developer Kit support

Thierry Reding (4):
  dt-bindings: tegra: Describe recent developer kits consistently
  dt-bindings: tegra: Document Jetson AGX Orin (and devkit)
  dt-bindings: sram: Document NVIDIA Tegra SYSRAM
  arm64: tegra: Fixup SYSRAM references

 .../devicetree/bindings/arm/tegra.yaml        | 29 ++++++++----
 .../devicetree/bindings/sram/sram.yaml        |  3 ++
 arch/arm64/boot/dts/nvidia/Makefile           |  1 +
 arch/arm64/boot/dts/nvidia/tegra186.dtsi      |  2 +-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi      |  2 +-
 .../boot/dts/nvidia/tegra234-p3701-0000.dtsi  | 25 +++++++++++
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 24 ++++++++++
 .../boot/dts/nvidia/tegra234-p3737-0000.dtsi  |  5 +++
 arch/arm64/boot/dts/nvidia/tegra234.dtsi      | 45 ++++++++++++++-----
 drivers/misc/sram.c                           |  1 +
 include/dt-bindings/clock/tegra234-clock.h    | 17 +++++--
 include/dt-bindings/reset/tegra234-reset.h    | 12 ++++-
 12 files changed, 139 insertions(+), 27 deletions(-)
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi

-- 
2.33.1


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

* [PATCH 00/11] arm64: tegra: Add NVIDIA Jetson AGX Orin support
@ 2021-11-12 12:35 ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Thierry Reding <treding@nvidia.com>

Hi,

This set of patches adds support for the new NVIDIA Jetson AGX Orin
module and the corresponding developer kit. It builds on the existing
Tegra234 support introduced a while ago for the simulation VDK platform
and updates a couple of details and adds a few more things that have
changed since then.

Most of this work was done by Mikko Perttunen.

Thierry

Mikko Perttunen (7):
  dt-bindings: Update headers for Tegra234
  misc: sram: Add compatible string for Tegra234 SYSRAM
  arm64: tegra: Add clock for Tegra234 RTC
  arm64: tegra: Update Tegra234 BPMP channel addresses
  arm64: tegra: Fill in properties for Tegra234 eMMC
  arm64: tegra: Add Tegra234 TCU device
  arm64: tegra: Add NVIDIA Jetson AGX Orin Developer Kit support

Thierry Reding (4):
  dt-bindings: tegra: Describe recent developer kits consistently
  dt-bindings: tegra: Document Jetson AGX Orin (and devkit)
  dt-bindings: sram: Document NVIDIA Tegra SYSRAM
  arm64: tegra: Fixup SYSRAM references

 .../devicetree/bindings/arm/tegra.yaml        | 29 ++++++++----
 .../devicetree/bindings/sram/sram.yaml        |  3 ++
 arch/arm64/boot/dts/nvidia/Makefile           |  1 +
 arch/arm64/boot/dts/nvidia/tegra186.dtsi      |  2 +-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi      |  2 +-
 .../boot/dts/nvidia/tegra234-p3701-0000.dtsi  | 25 +++++++++++
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 24 ++++++++++
 .../boot/dts/nvidia/tegra234-p3737-0000.dtsi  |  5 +++
 arch/arm64/boot/dts/nvidia/tegra234.dtsi      | 45 ++++++++++++++-----
 drivers/misc/sram.c                           |  1 +
 include/dt-bindings/clock/tegra234-clock.h    | 17 +++++--
 include/dt-bindings/reset/tegra234-reset.h    | 12 ++++-
 12 files changed, 139 insertions(+), 27 deletions(-)
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi

-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 01/11] dt-bindings: tegra: Describe recent developer kits consistently
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Thierry Reding <treding@nvidia.com>

Add descriptions to entries that were missing one and don't try to
combine multiple entries into one to avoid confusion.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 .../devicetree/bindings/arm/tegra.yaml        | 20 ++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml
index d79d36ac0c44..0235b510e0b0 100644
--- a/Documentation/devicetree/bindings/arm/tegra.yaml
+++ b/Documentation/devicetree/bindings/arm/tegra.yaml
@@ -108,14 +108,17 @@ properties:
               - nvidia,p2571
               - nvidia,p2894-0050-a08
           - const: nvidia,tegra210
-      - items:
-          - enum:
-              - nvidia,p2771-0000
-              - nvidia,p3509-0000+p3636-0001
+      - description: Jetson TX2 Developer Kit
+        items:
+          - const: nvidia,p2771-0000
           - const: nvidia,tegra186
-      - items:
-          - enum:
-              - nvidia,p2972-0000
+      - description: Jetson TX2 NX Developer Kit
+        items:
+          - const: nvidia,p3509-0000+p3636-0001
+          - const: nvidia,tegra186
+      - description: Jetson AGX Xavier Developer Kit
+        items:
+          - const: nvidia,p2972-0000
           - const: nvidia,tegra194
       - description: Jetson Xavier NX
         items:
@@ -134,8 +137,7 @@ properties:
           - const: nvidia,p3509-0000+p3668-0001
           - const: nvidia,tegra194
       - items:
-          - enum:
-              - nvidia,tegra234-vdk
+          - const: nvidia,tegra234-vdk
           - const: nvidia,tegra234
 
 additionalProperties: true
-- 
2.33.1


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

* [PATCH 01/11] dt-bindings: tegra: Describe recent developer kits consistently
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Thierry Reding <treding@nvidia.com>

Add descriptions to entries that were missing one and don't try to
combine multiple entries into one to avoid confusion.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 .../devicetree/bindings/arm/tegra.yaml        | 20 ++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml
index d79d36ac0c44..0235b510e0b0 100644
--- a/Documentation/devicetree/bindings/arm/tegra.yaml
+++ b/Documentation/devicetree/bindings/arm/tegra.yaml
@@ -108,14 +108,17 @@ properties:
               - nvidia,p2571
               - nvidia,p2894-0050-a08
           - const: nvidia,tegra210
-      - items:
-          - enum:
-              - nvidia,p2771-0000
-              - nvidia,p3509-0000+p3636-0001
+      - description: Jetson TX2 Developer Kit
+        items:
+          - const: nvidia,p2771-0000
           - const: nvidia,tegra186
-      - items:
-          - enum:
-              - nvidia,p2972-0000
+      - description: Jetson TX2 NX Developer Kit
+        items:
+          - const: nvidia,p3509-0000+p3636-0001
+          - const: nvidia,tegra186
+      - description: Jetson AGX Xavier Developer Kit
+        items:
+          - const: nvidia,p2972-0000
           - const: nvidia,tegra194
       - description: Jetson Xavier NX
         items:
@@ -134,8 +137,7 @@ properties:
           - const: nvidia,p3509-0000+p3668-0001
           - const: nvidia,tegra194
       - items:
-          - enum:
-              - nvidia,tegra234-vdk
+          - const: nvidia,tegra234-vdk
           - const: nvidia,tegra234
 
 additionalProperties: true
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 02/11] dt-bindings: tegra: Document Jetson AGX Orin (and devkit)
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Thierry Reding <treding@nvidia.com>

Add the compatible strings for the Jetson AGX Orin and the
corresponding developer kit.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 Documentation/devicetree/bindings/arm/tegra.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml
index 0235b510e0b0..3bd0920da274 100644
--- a/Documentation/devicetree/bindings/arm/tegra.yaml
+++ b/Documentation/devicetree/bindings/arm/tegra.yaml
@@ -139,5 +139,14 @@ properties:
       - items:
           - const: nvidia,tegra234-vdk
           - const: nvidia,tegra234
+      - description: Jetson AGX Orin
+        items:
+          - const: nvidia,p3701-0000
+          - const: nvidia,tegra234
+      - description: Jetson AGX Orin Developer Kit
+        items:
+          - const: nvidia,p3737-0000+p3701-0000
+          - const: nvidia,p3701-0000
+          - const: nvidia,tegra234
 
 additionalProperties: true
-- 
2.33.1


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

* [PATCH 02/11] dt-bindings: tegra: Document Jetson AGX Orin (and devkit)
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Thierry Reding <treding@nvidia.com>

Add the compatible strings for the Jetson AGX Orin and the
corresponding developer kit.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 Documentation/devicetree/bindings/arm/tegra.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml
index 0235b510e0b0..3bd0920da274 100644
--- a/Documentation/devicetree/bindings/arm/tegra.yaml
+++ b/Documentation/devicetree/bindings/arm/tegra.yaml
@@ -139,5 +139,14 @@ properties:
       - items:
           - const: nvidia,tegra234-vdk
           - const: nvidia,tegra234
+      - description: Jetson AGX Orin
+        items:
+          - const: nvidia,p3701-0000
+          - const: nvidia,tegra234
+      - description: Jetson AGX Orin Developer Kit
+        items:
+          - const: nvidia,p3737-0000+p3701-0000
+          - const: nvidia,p3701-0000
+          - const: nvidia,tegra234
 
 additionalProperties: true
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 03/11] dt-bindings: Update headers for Tegra234
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

Add a few more clocks that will be used in follow-up patches to enable
more functionality on Tegra234.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 include/dt-bindings/clock/tegra234-clock.h | 17 ++++++++++++++---
 include/dt-bindings/reset/tegra234-reset.h | 12 ++++++++++--
 2 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/include/dt-bindings/clock/tegra234-clock.h b/include/dt-bindings/clock/tegra234-clock.h
index 2c82072950ee..21ed0c732fb9 100644
--- a/include/dt-bindings/clock/tegra234-clock.h
+++ b/include/dt-bindings/clock/tegra234-clock.h
@@ -4,11 +4,22 @@
 #ifndef DT_BINDINGS_CLOCK_TEGRA234_CLOCK_H
 #define DT_BINDINGS_CLOCK_TEGRA234_CLOCK_H
 
+/**
+ * @file
+ * @defgroup bpmp_clock_ids Clock ID's
+ * @{
+ */
 /** @brief output of gate CLK_ENB_FUSE */
-#define TEGRA234_CLK_FUSE			40
+#define TEGRA234_CLK_FUSE			40U
 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC4 */
-#define TEGRA234_CLK_SDMMC4			123
+#define TEGRA234_CLK_SDMMC4			123U
 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTA */
-#define TEGRA234_CLK_UARTA			155
+#define TEGRA234_CLK_UARTA			155U
+/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC_LEGACY_TM switch divider output */
+#define TEGRA234_CLK_SDMMC_LEGACY_TM		219U
+/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC4_BASE */
+#define TEGRA234_CLK_PLLC4			237U
+/** @brief 32K input clock provided by PMIC */
+#define TEGRA234_CLK_CLK_32K			289U
 
 #endif
diff --git a/include/dt-bindings/reset/tegra234-reset.h b/include/dt-bindings/reset/tegra234-reset.h
index b3c63be06d2d..50e13bced642 100644
--- a/include/dt-bindings/reset/tegra234-reset.h
+++ b/include/dt-bindings/reset/tegra234-reset.h
@@ -4,7 +4,15 @@
 #ifndef DT_BINDINGS_RESET_TEGRA234_RESET_H
 #define DT_BINDINGS_RESET_TEGRA234_RESET_H
 
-#define TEGRA234_RESET_SDMMC4			85
-#define TEGRA234_RESET_UARTA			100
+/**
+ * @file
+ * @defgroup bpmp_reset_ids Reset ID's
+ * @brief Identifiers for Resets controllable by firmware
+ * @{
+ */
+#define TEGRA234_RESET_SDMMC4			85U
+#define TEGRA234_RESET_UARTA			100U
+
+/** @} */
 
 #endif
-- 
2.33.1


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

* [PATCH 03/11] dt-bindings: Update headers for Tegra234
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

Add a few more clocks that will be used in follow-up patches to enable
more functionality on Tegra234.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 include/dt-bindings/clock/tegra234-clock.h | 17 ++++++++++++++---
 include/dt-bindings/reset/tegra234-reset.h | 12 ++++++++++--
 2 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/include/dt-bindings/clock/tegra234-clock.h b/include/dt-bindings/clock/tegra234-clock.h
index 2c82072950ee..21ed0c732fb9 100644
--- a/include/dt-bindings/clock/tegra234-clock.h
+++ b/include/dt-bindings/clock/tegra234-clock.h
@@ -4,11 +4,22 @@
 #ifndef DT_BINDINGS_CLOCK_TEGRA234_CLOCK_H
 #define DT_BINDINGS_CLOCK_TEGRA234_CLOCK_H
 
+/**
+ * @file
+ * @defgroup bpmp_clock_ids Clock ID's
+ * @{
+ */
 /** @brief output of gate CLK_ENB_FUSE */
-#define TEGRA234_CLK_FUSE			40
+#define TEGRA234_CLK_FUSE			40U
 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC4 */
-#define TEGRA234_CLK_SDMMC4			123
+#define TEGRA234_CLK_SDMMC4			123U
 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTA */
-#define TEGRA234_CLK_UARTA			155
+#define TEGRA234_CLK_UARTA			155U
+/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC_LEGACY_TM switch divider output */
+#define TEGRA234_CLK_SDMMC_LEGACY_TM		219U
+/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC4_BASE */
+#define TEGRA234_CLK_PLLC4			237U
+/** @brief 32K input clock provided by PMIC */
+#define TEGRA234_CLK_CLK_32K			289U
 
 #endif
diff --git a/include/dt-bindings/reset/tegra234-reset.h b/include/dt-bindings/reset/tegra234-reset.h
index b3c63be06d2d..50e13bced642 100644
--- a/include/dt-bindings/reset/tegra234-reset.h
+++ b/include/dt-bindings/reset/tegra234-reset.h
@@ -4,7 +4,15 @@
 #ifndef DT_BINDINGS_RESET_TEGRA234_RESET_H
 #define DT_BINDINGS_RESET_TEGRA234_RESET_H
 
-#define TEGRA234_RESET_SDMMC4			85
-#define TEGRA234_RESET_UARTA			100
+/**
+ * @file
+ * @defgroup bpmp_reset_ids Reset ID's
+ * @brief Identifiers for Resets controllable by firmware
+ * @{
+ */
+#define TEGRA234_RESET_SDMMC4			85U
+#define TEGRA234_RESET_UARTA			100U
+
+/** @} */
 
 #endif
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 04/11] dt-bindings: sram: Document NVIDIA Tegra SYSRAM
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Thierry Reding <treding@nvidia.com>

Tegra SoCs have extra on-chip RAM that can be used for inter-processor
communication. Tegra186 and later make use of it to establish a two-way
channel between the CCPLEX and BPMP. Add missing compatible strings for
Tegra186 and Tegra194 as well as a new compatible string for Tegra234.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 Documentation/devicetree/bindings/sram/sram.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml
index d4e418b6a1c1..668a9a41a775 100644
--- a/Documentation/devicetree/bindings/sram/sram.yaml
+++ b/Documentation/devicetree/bindings/sram/sram.yaml
@@ -31,6 +31,9 @@ properties:
         - amlogic,meson-gxbb-sram
         - arm,juno-sram-ns
         - atmel,sama5d2-securam
+        - nvidia,tegra186-sysram
+        - nvidia,tegra194-sysram
+        - nvidia,tegra234-sysram
         - qcom,rpm-msg-ram
         - rockchip,rk3288-pmu-sram
 
-- 
2.33.1


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

* [PATCH 04/11] dt-bindings: sram: Document NVIDIA Tegra SYSRAM
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Thierry Reding <treding@nvidia.com>

Tegra SoCs have extra on-chip RAM that can be used for inter-processor
communication. Tegra186 and later make use of it to establish a two-way
channel between the CCPLEX and BPMP. Add missing compatible strings for
Tegra186 and Tegra194 as well as a new compatible string for Tegra234.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 Documentation/devicetree/bindings/sram/sram.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml
index d4e418b6a1c1..668a9a41a775 100644
--- a/Documentation/devicetree/bindings/sram/sram.yaml
+++ b/Documentation/devicetree/bindings/sram/sram.yaml
@@ -31,6 +31,9 @@ properties:
         - amlogic,meson-gxbb-sram
         - arm,juno-sram-ns
         - atmel,sama5d2-securam
+        - nvidia,tegra186-sysram
+        - nvidia,tegra194-sysram
+        - nvidia,tegra234-sysram
         - qcom,rpm-msg-ram
         - rockchip,rk3288-pmu-sram
 
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 05/11] misc: sram: Add compatible string for Tegra234 SYSRAM
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

We want to use the same behavior as on Tegra186 and Tegra194, so add
this the compatible string for Tegra234 SYSRAM to the list.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 drivers/misc/sram.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c
index 4c26b19f5154..f0e7f02605eb 100644
--- a/drivers/misc/sram.c
+++ b/drivers/misc/sram.c
@@ -371,6 +371,7 @@ static const struct of_device_id sram_dt_ids[] = {
 	{ .compatible = "atmel,sama5d2-securam", .data = &atmel_securam_config },
 	{ .compatible = "nvidia,tegra186-sysram", .data = &tegra_sysram_config },
 	{ .compatible = "nvidia,tegra194-sysram", .data = &tegra_sysram_config },
+	{ .compatible = "nvidia,tegra234-sysram", .data = &tegra_sysram_config },
 	{}
 };
 
-- 
2.33.1


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

* [PATCH 05/11] misc: sram: Add compatible string for Tegra234 SYSRAM
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

We want to use the same behavior as on Tegra186 and Tegra194, so add
this the compatible string for Tegra234 SYSRAM to the list.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 drivers/misc/sram.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c
index 4c26b19f5154..f0e7f02605eb 100644
--- a/drivers/misc/sram.c
+++ b/drivers/misc/sram.c
@@ -371,6 +371,7 @@ static const struct of_device_id sram_dt_ids[] = {
 	{ .compatible = "atmel,sama5d2-securam", .data = &atmel_securam_config },
 	{ .compatible = "nvidia,tegra186-sysram", .data = &tegra_sysram_config },
 	{ .compatible = "nvidia,tegra194-sysram", .data = &tegra_sysram_config },
+	{ .compatible = "nvidia,tegra234-sysram", .data = &tegra_sysram_config },
 	{}
 };
 
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 06/11] arm64: tegra: Fixup SYSRAM references
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Thierry Reding <treding@nvidia.com>

The json-schema bindings for SRAM expect the nodes to be called "sram"
rather than "sysram" or "shmem". Furthermore, place the brackets around
the SYSRAM references such that a two-element array is created rather
than a two-element array nested in a single-element array. This is not
relevant for device tree itself, but allows the nodes to be properly
validated against json-schema bindings.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra186.dtsi | 2 +-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 +-
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
index 9ac4f0140700..5f8132884be0 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
@@ -1771,7 +1771,7 @@ bpmp: bpmp {
 		iommus = <&smmu TEGRA186_SID_BPMP>;
 		mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB
 				    TEGRA_HSP_DB_MASTER_BPMP>;
-		shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;
+		shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>;
 		#clock-cells = <1>;
 		#reset-cells = <1>;
 		#power-domain-cells = <1>;
diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
index 851e049b3519..8d29b7fdb044 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
@@ -2467,7 +2467,7 @@ bpmp: bpmp {
 		compatible = "nvidia,tegra186-bpmp";
 		mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB
 				    TEGRA_HSP_DB_MASTER_BPMP>;
-		shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;
+		shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>;
 		#clock-cells = <1>;
 		#reset-cells = <1>;
 		#power-domain-cells = <1>;
diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index f0efb3a62804..28961ed31d87 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -122,20 +122,20 @@ gic: interrupt-controller@f400000 {
 		};
 	};
 
-	sysram@40000000 {
+	sram@40000000 {
 		compatible = "nvidia,tegra234-sysram", "mmio-sram";
 		reg = <0x0 0x40000000 0x0 0x50000>;
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges = <0x0 0x0 0x40000000 0x50000>;
 
-		cpu_bpmp_tx: shmem@4e000 {
+		cpu_bpmp_tx: sram@4e000 {
 			reg = <0x4e000 0x1000>;
 			label = "cpu-bpmp-tx";
 			pool;
 		};
 
-		cpu_bpmp_rx: shmem@4f000 {
+		cpu_bpmp_rx: sram@4f000 {
 			reg = <0x4f000 0x1000>;
 			label = "cpu-bpmp-rx";
 			pool;
@@ -146,7 +146,7 @@ bpmp: bpmp {
 		compatible = "nvidia,tegra234-bpmp", "nvidia,tegra186-bpmp";
 		mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB
 				    TEGRA_HSP_DB_MASTER_BPMP>;
-		shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;
+		shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>;
 		#clock-cells = <1>;
 		#reset-cells = <1>;
 		#power-domain-cells = <1>;
-- 
2.33.1


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

* [PATCH 06/11] arm64: tegra: Fixup SYSRAM references
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Thierry Reding <treding@nvidia.com>

The json-schema bindings for SRAM expect the nodes to be called "sram"
rather than "sysram" or "shmem". Furthermore, place the brackets around
the SYSRAM references such that a two-element array is created rather
than a two-element array nested in a single-element array. This is not
relevant for device tree itself, but allows the nodes to be properly
validated against json-schema bindings.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra186.dtsi | 2 +-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 +-
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
index 9ac4f0140700..5f8132884be0 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
@@ -1771,7 +1771,7 @@ bpmp: bpmp {
 		iommus = <&smmu TEGRA186_SID_BPMP>;
 		mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB
 				    TEGRA_HSP_DB_MASTER_BPMP>;
-		shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;
+		shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>;
 		#clock-cells = <1>;
 		#reset-cells = <1>;
 		#power-domain-cells = <1>;
diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
index 851e049b3519..8d29b7fdb044 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
@@ -2467,7 +2467,7 @@ bpmp: bpmp {
 		compatible = "nvidia,tegra186-bpmp";
 		mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB
 				    TEGRA_HSP_DB_MASTER_BPMP>;
-		shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;
+		shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>;
 		#clock-cells = <1>;
 		#reset-cells = <1>;
 		#power-domain-cells = <1>;
diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index f0efb3a62804..28961ed31d87 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -122,20 +122,20 @@ gic: interrupt-controller@f400000 {
 		};
 	};
 
-	sysram@40000000 {
+	sram@40000000 {
 		compatible = "nvidia,tegra234-sysram", "mmio-sram";
 		reg = <0x0 0x40000000 0x0 0x50000>;
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges = <0x0 0x0 0x40000000 0x50000>;
 
-		cpu_bpmp_tx: shmem@4e000 {
+		cpu_bpmp_tx: sram@4e000 {
 			reg = <0x4e000 0x1000>;
 			label = "cpu-bpmp-tx";
 			pool;
 		};
 
-		cpu_bpmp_rx: shmem@4f000 {
+		cpu_bpmp_rx: sram@4f000 {
 			reg = <0x4f000 0x1000>;
 			label = "cpu-bpmp-rx";
 			pool;
@@ -146,7 +146,7 @@ bpmp: bpmp {
 		compatible = "nvidia,tegra234-bpmp", "nvidia,tegra186-bpmp";
 		mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB
 				    TEGRA_HSP_DB_MASTER_BPMP>;
-		shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;
+		shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>;
 		#clock-cells = <1>;
 		#reset-cells = <1>;
 		#power-domain-cells = <1>;
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 07/11] arm64: tegra: Add clock for Tegra234 RTC
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

The RTC device requires a clock. Add it.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 28961ed31d87..400c01acc19f 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -93,6 +93,8 @@ rtc@c2a0000 {
 			reg = <0x0c2a0000 0x10000>;
 			interrupt-parent = <&pmc>;
 			interrupts = <73 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&bpmp TEGRA234_CLK_CLK_32K>;
+			clock-names = "rtc";
 			status = "disabled";
 		};
 
-- 
2.33.1


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

* [PATCH 07/11] arm64: tegra: Add clock for Tegra234 RTC
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

The RTC device requires a clock. Add it.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 28961ed31d87..400c01acc19f 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -93,6 +93,8 @@ rtc@c2a0000 {
 			reg = <0x0c2a0000 0x10000>;
 			interrupt-parent = <&pmc>;
 			interrupts = <73 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&bpmp TEGRA234_CLK_CLK_32K>;
+			clock-names = "rtc";
 			status = "disabled";
 		};
 
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 08/11] arm64: tegra: Update Tegra234 BPMP channel addresses
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

On final Tegra234 systems, shared memory for communication with BPMP is
located at offset 0x70000 in SYSRAM.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 400c01acc19f..844cab44aee6 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -126,19 +126,19 @@ gic: interrupt-controller@f400000 {
 
 	sram@40000000 {
 		compatible = "nvidia,tegra234-sysram", "mmio-sram";
-		reg = <0x0 0x40000000 0x0 0x50000>;
+		reg = <0x0 0x40000000 0x0 0x80000>;
 		#address-cells = <1>;
 		#size-cells = <1>;
-		ranges = <0x0 0x0 0x40000000 0x50000>;
+		ranges = <0x0 0x0 0x40000000 0x80000>;
 
-		cpu_bpmp_tx: sram@4e000 {
-			reg = <0x4e000 0x1000>;
+		cpu_bpmp_tx: sram@70000 {
+			reg = <0x70000 0x1000>;
 			label = "cpu-bpmp-tx";
 			pool;
 		};
 
-		cpu_bpmp_rx: sram@4f000 {
-			reg = <0x4f000 0x1000>;
+		cpu_bpmp_rx: sram@71000 {
+			reg = <0x71000 0x1000>;
 			label = "cpu-bpmp-rx";
 			pool;
 		};
-- 
2.33.1


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

* [PATCH 08/11] arm64: tegra: Update Tegra234 BPMP channel addresses
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

On final Tegra234 systems, shared memory for communication with BPMP is
located at offset 0x70000 in SYSRAM.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 400c01acc19f..844cab44aee6 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -126,19 +126,19 @@ gic: interrupt-controller@f400000 {
 
 	sram@40000000 {
 		compatible = "nvidia,tegra234-sysram", "mmio-sram";
-		reg = <0x0 0x40000000 0x0 0x50000>;
+		reg = <0x0 0x40000000 0x0 0x80000>;
 		#address-cells = <1>;
 		#size-cells = <1>;
-		ranges = <0x0 0x0 0x40000000 0x50000>;
+		ranges = <0x0 0x0 0x40000000 0x80000>;
 
-		cpu_bpmp_tx: sram@4e000 {
-			reg = <0x4e000 0x1000>;
+		cpu_bpmp_tx: sram@70000 {
+			reg = <0x70000 0x1000>;
 			label = "cpu-bpmp-tx";
 			pool;
 		};
 
-		cpu_bpmp_rx: sram@4f000 {
-			reg = <0x4f000 0x1000>;
+		cpu_bpmp_rx: sram@71000 {
+			reg = <0x71000 0x1000>;
 			label = "cpu-bpmp-rx";
 			pool;
 		};
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 09/11] arm64: tegra: Fill in properties for Tegra234 eMMC
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

Add missing properties to the eMMC controller, as required to use it on
actual hardware.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 844cab44aee6..ffe300356e85 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -40,11 +40,24 @@ mmc@3460000 {
 			compatible = "nvidia,tegra234-sdhci", "nvidia,tegra186-sdhci";
 			reg = <0x03460000 0x20000>;
 			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&bpmp TEGRA234_CLK_SDMMC4>;
-			clock-names = "sdhci";
+			clocks = <&bpmp TEGRA234_CLK_SDMMC4>,
+				 <&bpmp TEGRA234_CLK_SDMMC_LEGACY_TM>;
+			clock-names = "sdhci", "tmclk";
+			assigned-clocks = <&bpmp TEGRA234_CLK_SDMMC4>,
+					  <&bpmp TEGRA234_CLK_PLLC4>;
+			assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLC4>;
 			resets = <&bpmp TEGRA234_RESET_SDMMC4>;
 			reset-names = "sdhci";
-			dma-coherent;
+			nvidia,pad-autocal-pull-up-offset-hs400 = <0x00>;
+			nvidia,pad-autocal-pull-down-offset-hs400 = <0x00>;
+			nvidia,pad-autocal-pull-up-offset-1v8-timeout = <0x0a>;
+			nvidia,pad-autocal-pull-down-offset-1v8-timeout = <0x0a>;
+			nvidia,pad-autocal-pull-up-offset-3v3-timeout = <0x0a>;
+			nvidia,pad-autocal-pull-down-offset-3v3-timeout = <0x0a>;
+			nvidia,default-tap = <0x8>;
+			nvidia,default-trim = <0x14>;
+			nvidia,dqs-trim = <40>;
+			supports-cqe;
 			status = "disabled";
 		};
 
-- 
2.33.1


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

* [PATCH 09/11] arm64: tegra: Fill in properties for Tegra234 eMMC
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

Add missing properties to the eMMC controller, as required to use it on
actual hardware.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 844cab44aee6..ffe300356e85 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -40,11 +40,24 @@ mmc@3460000 {
 			compatible = "nvidia,tegra234-sdhci", "nvidia,tegra186-sdhci";
 			reg = <0x03460000 0x20000>;
 			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&bpmp TEGRA234_CLK_SDMMC4>;
-			clock-names = "sdhci";
+			clocks = <&bpmp TEGRA234_CLK_SDMMC4>,
+				 <&bpmp TEGRA234_CLK_SDMMC_LEGACY_TM>;
+			clock-names = "sdhci", "tmclk";
+			assigned-clocks = <&bpmp TEGRA234_CLK_SDMMC4>,
+					  <&bpmp TEGRA234_CLK_PLLC4>;
+			assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLC4>;
 			resets = <&bpmp TEGRA234_RESET_SDMMC4>;
 			reset-names = "sdhci";
-			dma-coherent;
+			nvidia,pad-autocal-pull-up-offset-hs400 = <0x00>;
+			nvidia,pad-autocal-pull-down-offset-hs400 = <0x00>;
+			nvidia,pad-autocal-pull-up-offset-1v8-timeout = <0x0a>;
+			nvidia,pad-autocal-pull-down-offset-1v8-timeout = <0x0a>;
+			nvidia,pad-autocal-pull-up-offset-3v3-timeout = <0x0a>;
+			nvidia,pad-autocal-pull-down-offset-3v3-timeout = <0x0a>;
+			nvidia,default-tap = <0x8>;
+			nvidia,default-trim = <0x14>;
+			nvidia,dqs-trim = <40>;
+			supports-cqe;
 			status = "disabled";
 		};
 
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 10/11] arm64: tegra: Add Tegra234 TCU device
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

Add a device for TCU (Tegra Combined UART) used for serial console.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index ffe300356e85..63274181d544 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -192,6 +192,14 @@ psci {
 		method = "smc";
 	};
 
+	tcu: serial {
+		compatible = "nvidia,tegra234-tcu", "nvidia,tegra194-tcu";
+		mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_RX(0)>,
+		         <&hsp_aon TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_TX(1)>;
+		mbox-names = "rx", "tx";
+		status = "disabled";
+	};
+
 	timer {
 		compatible = "arm,armv8-timer";
 		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
-- 
2.33.1


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

* [PATCH 10/11] arm64: tegra: Add Tegra234 TCU device
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

Add a device for TCU (Tegra Combined UART) used for serial console.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index ffe300356e85..63274181d544 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -192,6 +192,14 @@ psci {
 		method = "smc";
 	};
 
+	tcu: serial {
+		compatible = "nvidia,tegra234-tcu", "nvidia,tegra194-tcu";
+		mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_RX(0)>,
+		         <&hsp_aon TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_TX(1)>;
+		mbox-names = "rx", "tx";
+		status = "disabled";
+	};
+
 	timer {
 		compatible = "arm,armv8-timer";
 		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 11/11] arm64: tegra: Add NVIDIA Jetson AGX Orin Developer Kit support
  2021-11-12 12:35 ` Thierry Reding
@ 2021-11-12 12:35   ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

The Jetson AGX Orin Developer Kit is a continuation of the Jetson
Developer Kit line using the new NVIDIA Tegra234 (Orin) SoC.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/Makefile           |  1 +
 .../boot/dts/nvidia/tegra234-p3701-0000.dtsi  | 25 +++++++++++++++++++
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 24 ++++++++++++++++++
 .../boot/dts/nvidia/tegra234-p3737-0000.dtsi  |  5 ++++
 4 files changed, 55 insertions(+)
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi

diff --git a/arch/arm64/boot/dts/nvidia/Makefile b/arch/arm64/boot/dts/nvidia/Makefile
index c80f7dc2935e..ea3f338fd013 100644
--- a/arch/arm64/boot/dts/nvidia/Makefile
+++ b/arch/arm64/boot/dts/nvidia/Makefile
@@ -12,3 +12,4 @@ dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p2972-0000.dtb
 dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0000.dtb
 dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0001.dtb
 dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-sim-vdk.dtb
+dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-p3737-0000+p3701-0000.dtb
diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi
new file mode 100644
index 000000000000..d3c936822186
--- /dev/null
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include "tegra234.dtsi"
+
+/ {
+	model = "NVIDIA Jetson AGX Orin";
+	compatible = "nvidia,p3701-0000", "nvidia,tegra234";
+
+	bus@0 {
+		mmc@3460000 {
+			status = "okay";
+			bus-width = <8>;
+			non-removable;
+			only-1-8-v;
+		};
+
+		rtc@c2a0000 {
+			status = "okay";
+		};
+
+		pmc@c360000 {
+			nvidia,invert-interrupt;
+		};
+	};
+};
diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
new file mode 100644
index 000000000000..e3bb874869df
--- /dev/null
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+
+#include "tegra234-p3701-0000.dtsi"
+#include "tegra234-p3737-0000.dtsi"
+
+/ {
+	model = "NVIDIA Jetson AGX Orin Developer Kit";
+	compatible = "nvidia,p3737-0000+p3701-0000", "nvidia,p3701-0000", "nvidia,tegra234";
+
+	aliases {
+		mmc3 = "/bus@0/mmc@3460000";
+		serial0 = &tcu;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200n8";
+		stdout-path = "serial0:115200n8";
+	};
+
+	tcu {
+		status = "okay";
+	};
+};
diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi
new file mode 100644
index 000000000000..a85993c85e45
--- /dev/null
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
+/ {
+	compatible = "nvidia,p3737-0000";
+};
-- 
2.33.1


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

* [PATCH 11/11] arm64: tegra: Add NVIDIA Jetson AGX Orin Developer Kit support
@ 2021-11-12 12:35   ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-11-12 12:35 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring; +Cc: linux-tegra, devicetree, linux-arm-kernel

From: Mikko Perttunen <mperttunen@nvidia.com>

The Jetson AGX Orin Developer Kit is a continuation of the Jetson
Developer Kit line using the new NVIDIA Tegra234 (Orin) SoC.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/Makefile           |  1 +
 .../boot/dts/nvidia/tegra234-p3701-0000.dtsi  | 25 +++++++++++++++++++
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 24 ++++++++++++++++++
 .../boot/dts/nvidia/tegra234-p3737-0000.dtsi  |  5 ++++
 4 files changed, 55 insertions(+)
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi

diff --git a/arch/arm64/boot/dts/nvidia/Makefile b/arch/arm64/boot/dts/nvidia/Makefile
index c80f7dc2935e..ea3f338fd013 100644
--- a/arch/arm64/boot/dts/nvidia/Makefile
+++ b/arch/arm64/boot/dts/nvidia/Makefile
@@ -12,3 +12,4 @@ dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p2972-0000.dtb
 dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0000.dtb
 dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0001.dtb
 dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-sim-vdk.dtb
+dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-p3737-0000+p3701-0000.dtb
diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi
new file mode 100644
index 000000000000..d3c936822186
--- /dev/null
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include "tegra234.dtsi"
+
+/ {
+	model = "NVIDIA Jetson AGX Orin";
+	compatible = "nvidia,p3701-0000", "nvidia,tegra234";
+
+	bus@0 {
+		mmc@3460000 {
+			status = "okay";
+			bus-width = <8>;
+			non-removable;
+			only-1-8-v;
+		};
+
+		rtc@c2a0000 {
+			status = "okay";
+		};
+
+		pmc@c360000 {
+			nvidia,invert-interrupt;
+		};
+	};
+};
diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
new file mode 100644
index 000000000000..e3bb874869df
--- /dev/null
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+
+#include "tegra234-p3701-0000.dtsi"
+#include "tegra234-p3737-0000.dtsi"
+
+/ {
+	model = "NVIDIA Jetson AGX Orin Developer Kit";
+	compatible = "nvidia,p3737-0000+p3701-0000", "nvidia,p3701-0000", "nvidia,tegra234";
+
+	aliases {
+		mmc3 = "/bus@0/mmc@3460000";
+		serial0 = &tcu;
+	};
+
+	chosen {
+		bootargs = "console=ttyS0,115200n8";
+		stdout-path = "serial0:115200n8";
+	};
+
+	tcu {
+		status = "okay";
+	};
+};
diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi
new file mode 100644
index 000000000000..a85993c85e45
--- /dev/null
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
+/ {
+	compatible = "nvidia,p3737-0000";
+};
-- 
2.33.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 01/11] dt-bindings: tegra: Describe recent developer kits consistently
  2021-11-12 12:35   ` Thierry Reding
@ 2021-11-29 20:54     ` Rob Herring
  -1 siblings, 0 replies; 36+ messages in thread
From: Rob Herring @ 2021-11-29 20:54 UTC (permalink / raw)
  To: Thierry Reding; +Cc: devicetree, Rob Herring, linux-arm-kernel, linux-tegra

On Fri, 12 Nov 2021 13:35:32 +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> Add descriptions to entries that were missing one and don't try to
> combine multiple entries into one to avoid confusion.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  .../devicetree/bindings/arm/tegra.yaml        | 20 ++++++++++---------
>  1 file changed, 11 insertions(+), 9 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 01/11] dt-bindings: tegra: Describe recent developer kits consistently
@ 2021-11-29 20:54     ` Rob Herring
  0 siblings, 0 replies; 36+ messages in thread
From: Rob Herring @ 2021-11-29 20:54 UTC (permalink / raw)
  To: Thierry Reding; +Cc: devicetree, Rob Herring, linux-arm-kernel, linux-tegra

On Fri, 12 Nov 2021 13:35:32 +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> Add descriptions to entries that were missing one and don't try to
> combine multiple entries into one to avoid confusion.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  .../devicetree/bindings/arm/tegra.yaml        | 20 ++++++++++---------
>  1 file changed, 11 insertions(+), 9 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 02/11] dt-bindings: tegra: Document Jetson AGX Orin (and devkit)
  2021-11-12 12:35   ` Thierry Reding
@ 2021-11-29 20:55     ` Rob Herring
  -1 siblings, 0 replies; 36+ messages in thread
From: Rob Herring @ 2021-11-29 20:55 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-arm-kernel, linux-tegra, Rob Herring, devicetree

On Fri, 12 Nov 2021 13:35:33 +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> Add the compatible strings for the Jetson AGX Orin and the
> corresponding developer kit.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  Documentation/devicetree/bindings/arm/tegra.yaml | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 02/11] dt-bindings: tegra: Document Jetson AGX Orin (and devkit)
@ 2021-11-29 20:55     ` Rob Herring
  0 siblings, 0 replies; 36+ messages in thread
From: Rob Herring @ 2021-11-29 20:55 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-arm-kernel, linux-tegra, Rob Herring, devicetree

On Fri, 12 Nov 2021 13:35:33 +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> Add the compatible strings for the Jetson AGX Orin and the
> corresponding developer kit.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  Documentation/devicetree/bindings/arm/tegra.yaml | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 03/11] dt-bindings: Update headers for Tegra234
  2021-11-12 12:35   ` Thierry Reding
@ 2021-11-29 20:59     ` Rob Herring
  -1 siblings, 0 replies; 36+ messages in thread
From: Rob Herring @ 2021-11-29 20:59 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-arm-kernel, linux-tegra, Rob Herring, devicetree

On Fri, 12 Nov 2021 13:35:34 +0100, Thierry Reding wrote:
> From: Mikko Perttunen <mperttunen@nvidia.com>
> 
> Add a few more clocks that will be used in follow-up patches to enable
> more functionality on Tegra234.
> 
> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  include/dt-bindings/clock/tegra234-clock.h | 17 ++++++++++++++---
>  include/dt-bindings/reset/tegra234-reset.h | 12 ++++++++++--
>  2 files changed, 24 insertions(+), 5 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 03/11] dt-bindings: Update headers for Tegra234
@ 2021-11-29 20:59     ` Rob Herring
  0 siblings, 0 replies; 36+ messages in thread
From: Rob Herring @ 2021-11-29 20:59 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-arm-kernel, linux-tegra, Rob Herring, devicetree

On Fri, 12 Nov 2021 13:35:34 +0100, Thierry Reding wrote:
> From: Mikko Perttunen <mperttunen@nvidia.com>
> 
> Add a few more clocks that will be used in follow-up patches to enable
> more functionality on Tegra234.
> 
> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  include/dt-bindings/clock/tegra234-clock.h | 17 ++++++++++++++---
>  include/dt-bindings/reset/tegra234-reset.h | 12 ++++++++++--
>  2 files changed, 24 insertions(+), 5 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 04/11] dt-bindings: sram: Document NVIDIA Tegra SYSRAM
  2021-11-12 12:35   ` Thierry Reding
@ 2021-11-29 20:59     ` Rob Herring
  -1 siblings, 0 replies; 36+ messages in thread
From: Rob Herring @ 2021-11-29 20:59 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-arm-kernel, devicetree, Rob Herring, linux-tegra

On Fri, 12 Nov 2021 13:35:35 +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> Tegra SoCs have extra on-chip RAM that can be used for inter-processor
> communication. Tegra186 and later make use of it to establish a two-way
> channel between the CCPLEX and BPMP. Add missing compatible strings for
> Tegra186 and Tegra194 as well as a new compatible string for Tegra234.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  Documentation/devicetree/bindings/sram/sram.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 04/11] dt-bindings: sram: Document NVIDIA Tegra SYSRAM
@ 2021-11-29 20:59     ` Rob Herring
  0 siblings, 0 replies; 36+ messages in thread
From: Rob Herring @ 2021-11-29 20:59 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-arm-kernel, devicetree, Rob Herring, linux-tegra

On Fri, 12 Nov 2021 13:35:35 +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> Tegra SoCs have extra on-chip RAM that can be used for inter-processor
> communication. Tegra186 and later make use of it to establish a two-way
> channel between the CCPLEX and BPMP. Add missing compatible strings for
> Tegra186 and Tegra194 as well as a new compatible string for Tegra234.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  Documentation/devicetree/bindings/sram/sram.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 05/11] misc: sram: Add compatible string for Tegra234 SYSRAM
  2021-11-12 12:35   ` Thierry Reding
@ 2021-12-07 15:52     ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-12-07 15:52 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Rob Herring, linux-tegra, devicetree, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]

On Fri, Nov 12, 2021 at 01:35:36PM +0100, Thierry Reding wrote:
> From: Mikko Perttunen <mperttunen@nvidia.com>
> 
> We want to use the same behavior as on Tegra186 and Tegra194, so add
> this the compatible string for Tegra234 SYSRAM to the list.
> 
> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  drivers/misc/sram.c | 1 +
>  1 file changed, 1 insertion(+)

Hi Greg,

I forgot to Cc you on the initial submission, not realizing that I had
this one-line driver change mixed into a set of DT bindings and device
tree updates.

Quoting in full. Would you mind if I pick this up into the Tegra tree,
or do you want me to resend this to you for inclusion in your tree?

Thanks,
Thierry

> 
> diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c
> index 4c26b19f5154..f0e7f02605eb 100644
> --- a/drivers/misc/sram.c
> +++ b/drivers/misc/sram.c
> @@ -371,6 +371,7 @@ static const struct of_device_id sram_dt_ids[] = {
>  	{ .compatible = "atmel,sama5d2-securam", .data = &atmel_securam_config },
>  	{ .compatible = "nvidia,tegra186-sysram", .data = &tegra_sysram_config },
>  	{ .compatible = "nvidia,tegra194-sysram", .data = &tegra_sysram_config },
> +	{ .compatible = "nvidia,tegra234-sysram", .data = &tegra_sysram_config },
>  	{}
>  };
>  
> -- 
> 2.33.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH 05/11] misc: sram: Add compatible string for Tegra234 SYSRAM
@ 2021-12-07 15:52     ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2021-12-07 15:52 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Rob Herring, linux-tegra, devicetree, linux-arm-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1373 bytes --]

On Fri, Nov 12, 2021 at 01:35:36PM +0100, Thierry Reding wrote:
> From: Mikko Perttunen <mperttunen@nvidia.com>
> 
> We want to use the same behavior as on Tegra186 and Tegra194, so add
> this the compatible string for Tegra234 SYSRAM to the list.
> 
> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  drivers/misc/sram.c | 1 +
>  1 file changed, 1 insertion(+)

Hi Greg,

I forgot to Cc you on the initial submission, not realizing that I had
this one-line driver change mixed into a set of DT bindings and device
tree updates.

Quoting in full. Would you mind if I pick this up into the Tegra tree,
or do you want me to resend this to you for inclusion in your tree?

Thanks,
Thierry

> 
> diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c
> index 4c26b19f5154..f0e7f02605eb 100644
> --- a/drivers/misc/sram.c
> +++ b/drivers/misc/sram.c
> @@ -371,6 +371,7 @@ static const struct of_device_id sram_dt_ids[] = {
>  	{ .compatible = "atmel,sama5d2-securam", .data = &atmel_securam_config },
>  	{ .compatible = "nvidia,tegra186-sysram", .data = &tegra_sysram_config },
>  	{ .compatible = "nvidia,tegra194-sysram", .data = &tegra_sysram_config },
> +	{ .compatible = "nvidia,tegra234-sysram", .data = &tegra_sysram_config },
>  	{}
>  };
>  
> -- 
> 2.33.1
> 

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 05/11] misc: sram: Add compatible string for Tegra234 SYSRAM
  2021-12-07 15:52     ` Thierry Reding
@ 2021-12-07 17:45       ` Greg Kroah-Hartman
  -1 siblings, 0 replies; 36+ messages in thread
From: Greg Kroah-Hartman @ 2021-12-07 17:45 UTC (permalink / raw)
  To: Thierry Reding; +Cc: Rob Herring, linux-tegra, devicetree, linux-arm-kernel

On Tue, Dec 07, 2021 at 04:52:16PM +0100, Thierry Reding wrote:
> On Fri, Nov 12, 2021 at 01:35:36PM +0100, Thierry Reding wrote:
> > From: Mikko Perttunen <mperttunen@nvidia.com>
> > 
> > We want to use the same behavior as on Tegra186 and Tegra194, so add
> > this the compatible string for Tegra234 SYSRAM to the list.
> > 
> > Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
> > Signed-off-by: Thierry Reding <treding@nvidia.com>
> > ---
> >  drivers/misc/sram.c | 1 +
> >  1 file changed, 1 insertion(+)
> 
> Hi Greg,
> 
> I forgot to Cc you on the initial submission, not realizing that I had
> this one-line driver change mixed into a set of DT bindings and device
> tree updates.
> 
> Quoting in full. Would you mind if I pick this up into the Tegra tree,
> or do you want me to resend this to you for inclusion in your tree?

A separate stand-alone patch would be great as b4 wants to grab all of
the patches in this series.

thanks,

greg k-h

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

* Re: [PATCH 05/11] misc: sram: Add compatible string for Tegra234 SYSRAM
@ 2021-12-07 17:45       ` Greg Kroah-Hartman
  0 siblings, 0 replies; 36+ messages in thread
From: Greg Kroah-Hartman @ 2021-12-07 17:45 UTC (permalink / raw)
  To: Thierry Reding; +Cc: Rob Herring, linux-tegra, devicetree, linux-arm-kernel

On Tue, Dec 07, 2021 at 04:52:16PM +0100, Thierry Reding wrote:
> On Fri, Nov 12, 2021 at 01:35:36PM +0100, Thierry Reding wrote:
> > From: Mikko Perttunen <mperttunen@nvidia.com>
> > 
> > We want to use the same behavior as on Tegra186 and Tegra194, so add
> > this the compatible string for Tegra234 SYSRAM to the list.
> > 
> > Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
> > Signed-off-by: Thierry Reding <treding@nvidia.com>
> > ---
> >  drivers/misc/sram.c | 1 +
> >  1 file changed, 1 insertion(+)
> 
> Hi Greg,
> 
> I forgot to Cc you on the initial submission, not realizing that I had
> this one-line driver change mixed into a set of DT bindings and device
> tree updates.
> 
> Quoting in full. Would you mind if I pick this up into the Tegra tree,
> or do you want me to resend this to you for inclusion in your tree?

A separate stand-alone patch would be great as b4 wants to grab all of
the patches in this series.

thanks,

greg k-h

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-12-07 17:46 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 12:35 [PATCH 00/11] arm64: tegra: Add NVIDIA Jetson AGX Orin support Thierry Reding
2021-11-12 12:35 ` Thierry Reding
2021-11-12 12:35 ` [PATCH 01/11] dt-bindings: tegra: Describe recent developer kits consistently Thierry Reding
2021-11-12 12:35   ` Thierry Reding
2021-11-29 20:54   ` Rob Herring
2021-11-29 20:54     ` Rob Herring
2021-11-12 12:35 ` [PATCH 02/11] dt-bindings: tegra: Document Jetson AGX Orin (and devkit) Thierry Reding
2021-11-12 12:35   ` Thierry Reding
2021-11-29 20:55   ` Rob Herring
2021-11-29 20:55     ` Rob Herring
2021-11-12 12:35 ` [PATCH 03/11] dt-bindings: Update headers for Tegra234 Thierry Reding
2021-11-12 12:35   ` Thierry Reding
2021-11-29 20:59   ` Rob Herring
2021-11-29 20:59     ` Rob Herring
2021-11-12 12:35 ` [PATCH 04/11] dt-bindings: sram: Document NVIDIA Tegra SYSRAM Thierry Reding
2021-11-12 12:35   ` Thierry Reding
2021-11-29 20:59   ` Rob Herring
2021-11-29 20:59     ` Rob Herring
2021-11-12 12:35 ` [PATCH 05/11] misc: sram: Add compatible string for Tegra234 SYSRAM Thierry Reding
2021-11-12 12:35   ` Thierry Reding
2021-12-07 15:52   ` Thierry Reding
2021-12-07 15:52     ` Thierry Reding
2021-12-07 17:45     ` Greg Kroah-Hartman
2021-12-07 17:45       ` Greg Kroah-Hartman
2021-11-12 12:35 ` [PATCH 06/11] arm64: tegra: Fixup SYSRAM references Thierry Reding
2021-11-12 12:35   ` Thierry Reding
2021-11-12 12:35 ` [PATCH 07/11] arm64: tegra: Add clock for Tegra234 RTC Thierry Reding
2021-11-12 12:35   ` Thierry Reding
2021-11-12 12:35 ` [PATCH 08/11] arm64: tegra: Update Tegra234 BPMP channel addresses Thierry Reding
2021-11-12 12:35   ` Thierry Reding
2021-11-12 12:35 ` [PATCH 09/11] arm64: tegra: Fill in properties for Tegra234 eMMC Thierry Reding
2021-11-12 12:35   ` Thierry Reding
2021-11-12 12:35 ` [PATCH 10/11] arm64: tegra: Add Tegra234 TCU device Thierry Reding
2021-11-12 12:35   ` Thierry Reding
2021-11-12 12:35 ` [PATCH 11/11] arm64: tegra: Add NVIDIA Jetson AGX Orin Developer Kit support Thierry Reding
2021-11-12 12:35   ` Thierry Reding

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.