dt-bindings: power: Add power domain IDs for Tegra264
Subsystems (2)
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
@@ -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
Rob Herring
maintainerQuoted 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
Signed-off-by Thierry Reding <[email protected]>---
Changes in v2:
- remove_MAXdefinition 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.hinclude/dt-bindings/power/nvidia,tegra264-powergate.h new file +24
-0@@ -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
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