Skip to contentSkip to conversation

dt-bindings: power: Add power domain IDs for Tegra264

PATCH Superseded Thierry Reding 2 participants 3 messages Aug 28, 2025 – Sep 11, 2025

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: power: Add power domain IDs for Tegra264

From: Thierry Reding <[email protected]>

Add the set of power domain IDs available on the Tegra264 SoC so that they can be used in device tree files.

---
Changes in v2:
- remove _MAX definition since it isn't needed

 .../power/nvidia,tegra264-powergate.h         | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 include/dt-bindings/power/nvidia,tegra264-powergate.h
include/dt-bindings/power/nvidia,tegra264-powergate.h new file +24 -0
new file mode 100644
index 000000000000..1e2acd50c099
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)  */
+/* Copyright (c) 2022-2024, NVIDIA CORPORATION.  All rights reserved. */
+
+#ifndef DT_BINDINGS_POWER_NVIDIA_TEGRA264_H
+#define DT_BINDINGS_POWER_NVIDIA_TEGRA264_H
+
+#define TEGRA264_POWER_DOMAIN_DISP	1
+#define TEGRA264_POWER_DOMAIN_AUD	2
+/* reserved 3:9 */
+#define TEGRA264_POWER_DOMAIN_XUSB_SS	10
+#define TEGRA264_POWER_DOMAIN_XUSB_DEV	11
+#define TEGRA264_POWER_DOMAIN_XUSB_HOST	12
+#define TEGRA264_POWER_DOMAIN_MGBE0	13
+#define TEGRA264_POWER_DOMAIN_MGBE1	14
+#define TEGRA264_POWER_DOMAIN_MGBE2	15
+#define TEGRA264_POWER_DOMAIN_MGBE3	16
+#define TEGRA264_POWER_DOMAIN_VI	17
+#define TEGRA264_POWER_DOMAIN_VIC	18
+#define TEGRA264_POWER_DOMAIN_ISP0	19
+#define TEGRA264_POWER_DOMAIN_ISP1	20
+#define TEGRA264_POWER_DOMAIN_PVA0	21
+#define TEGRA264_POWER_DOMAIN_GPU	22
+
+#endif /* DT_BINDINGS_POWER_NVIDIA_TEGRA264_H */
Signature · 1 line
2.50.0
maintainer
#1 lore raw
Quoted 4 lines · Thierry Reding

From: Thierry Reding <[email protected]>

Add the set of power domain IDs available on the Tegra264 SoC so that they can be used in device tree files.

What binding is this part of? 'git grep nvidia,tegra264-powergate' gives nothing.

Quoted 43 lines

---
Changes in v2:
- remove _MAX definition since it isn't needed

 .../power/nvidia,tegra264-powergate.h         | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 include/dt-bindings/power/nvidia,tegra264-powergate.h
include/dt-bindings/power/nvidia,tegra264-powergate.h new file +24 -0
new file mode 100644
index 000000000000..1e2acd50c099
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)  */
+/* Copyright (c) 2022-2024, NVIDIA CORPORATION.  All rights reserved. */
+
+#ifndef DT_BINDINGS_POWER_NVIDIA_TEGRA264_H
+#define DT_BINDINGS_POWER_NVIDIA_TEGRA264_H
+
+#define TEGRA264_POWER_DOMAIN_DISP	1
+#define TEGRA264_POWER_DOMAIN_AUD	2
+/* reserved 3:9 */
+#define TEGRA264_POWER_DOMAIN_XUSB_SS	10
+#define TEGRA264_POWER_DOMAIN_XUSB_DEV	11
+#define TEGRA264_POWER_DOMAIN_XUSB_HOST	12
+#define TEGRA264_POWER_DOMAIN_MGBE0	13
+#define TEGRA264_POWER_DOMAIN_MGBE1	14
+#define TEGRA264_POWER_DOMAIN_MGBE2	15
+#define TEGRA264_POWER_DOMAIN_MGBE3	16
+#define TEGRA264_POWER_DOMAIN_VI	17
+#define TEGRA264_POWER_DOMAIN_VIC	18
+#define TEGRA264_POWER_DOMAIN_ISP0	19
+#define TEGRA264_POWER_DOMAIN_ISP1	20
+#define TEGRA264_POWER_DOMAIN_PVA0	21
+#define TEGRA264_POWER_DOMAIN_GPU	22
+
+#endif /* DT_BINDINGS_POWER_NVIDIA_TEGRA264_H */
Signature · 1 line
2.50.0
#2 lore raw
Quoted 8 lines · Rob Herring
Quoted 4 lines · Thierry Reding

From: Thierry Reding <[email protected]>

Add the set of power domain IDs available on the Tegra264 SoC so that they can be used in device tree files.

What binding is this part of? 'git grep nvidia,tegra264-powergate' gives nothing.

These are the IDs used for the power domain provider exposed by the BPMP, so it's technically part of "nvidia,tegra264-bpmp" but because that also exposes clocks and resets, the IDs are split into separate files.

Thierry