devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] dt-bindings: power: Add power domain IDs for Tegra264
@ 2025-10-09 16:10 Thierry Reding
  2025-10-10 18:32 ` Rob Herring (Arm)
  2025-10-16  9:46 ` Thierry Reding
  0 siblings, 2 replies; 3+ messages in thread
From: Thierry Reding @ 2025-10-09 16:10 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jon Hunter,
	Sheetal, devicetree, linux-tegra

From: Thierry Reding <treding@nvidia.com>

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

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
Changes in v3:
- rename to match the nvidia,tegra264-bpmp compatible string

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

 .../dt-bindings/power/nvidia,tegra264-bpmp.h  | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 include/dt-bindings/power/nvidia,tegra264-bpmp.h

diff --git a/include/dt-bindings/power/nvidia,tegra264-bpmp.h b/include/dt-bindings/power/nvidia,tegra264-bpmp.h
new file mode 100644
index 000000000000..2eef4a2a02b0
--- /dev/null
+++ b/include/dt-bindings/power/nvidia,tegra264-bpmp.h
@@ -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_BPMP_H
+#define DT_BINDINGS_POWER_NVIDIA_TEGRA264_BPMP_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_BPMP_H */
-- 
2.51.0


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

* Re: [PATCH v3] dt-bindings: power: Add power domain IDs for Tegra264
  2025-10-09 16:10 [PATCH v3] dt-bindings: power: Add power domain IDs for Tegra264 Thierry Reding
@ 2025-10-10 18:32 ` Rob Herring (Arm)
  2025-10-16  9:46 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-10-10 18:32 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Jon Hunter, devicetree, Conor Dooley, linux-tegra,
	Krzysztof Kozlowski, Sheetal


On Thu, 09 Oct 2025 18:10:39 +0200, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> Add the set of power domain IDs available on the Tegra264 SoC so that
> they can be used in device tree files.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> Changes in v3:
> - rename to match the nvidia,tegra264-bpmp compatible string
> 
> Changes in v2:
> - remove _MAX definition since it isn't needed
> 
>  .../dt-bindings/power/nvidia,tegra264-bpmp.h  | 24 +++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 include/dt-bindings/power/nvidia,tegra264-bpmp.h
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


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

* Re: [PATCH v3] dt-bindings: power: Add power domain IDs for Tegra264
  2025-10-09 16:10 [PATCH v3] dt-bindings: power: Add power domain IDs for Tegra264 Thierry Reding
  2025-10-10 18:32 ` Rob Herring (Arm)
@ 2025-10-16  9:46 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2025-10-16  9:46 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Jon Hunter,
	Sheetal, devicetree, linux-tegra

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

On Thu, Oct 09, 2025 at 06:10:39PM +0200, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> Add the set of power domain IDs available on the Tegra264 SoC so that
> they can be used in device tree files.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> Changes in v3:
> - rename to match the nvidia,tegra264-bpmp compatible string
> 
> Changes in v2:
> - remove _MAX definition since it isn't needed
> 
>  .../dt-bindings/power/nvidia,tegra264-bpmp.h  | 24 +++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 include/dt-bindings/power/nvidia,tegra264-bpmp.h

Applied, thanks.

Thierry

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

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

end of thread, other threads:[~2025-10-16  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-09 16:10 [PATCH v3] dt-bindings: power: Add power domain IDs for Tegra264 Thierry Reding
2025-10-10 18:32 ` Rob Herring (Arm)
2025-10-16  9:46 ` 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).