dt-bindings: power: Add power domain IDs for Tegra264
Subsystems (2)
PATCH v3 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 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
include/dt-bindings/power/nvidia,tegra264-bpmp.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_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 */
Signature · 1 line
2.51.0
Quoted 10 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.
Signed-off-by Thierry Reding <[email protected]>---
Changes in v3:
- rename to match the nvidia,tegra264-bpmp compatible string
Quoted 7 lines
Changes in v2:
- remove_MAXdefinition 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
Thierry Reding
AppliedQuoted 10 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.
Signed-off-by Thierry Reding <[email protected]>---
Changes in v3:
- rename to match the nvidia,tegra264-bpmp compatible string
Quoted 6 lines
Changes in v2:
- remove_MAXdefinition 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