From: Conor Dooley <conor@kernel.org>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jon Hunter <jonathanh@nvidia.com>, Sheetal <sheetal@nvidia.com>,
devicetree@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: power: Add power domain IDs for Tegra264
Date: Mon, 18 Aug 2025 18:00:48 +0100 [thread overview]
Message-ID: <20250818-citizen-doornail-324327bc3942@spud> (raw)
In-Reply-To: <20250818135241.3407180-1-thierry.reding@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]
On Mon, Aug 18, 2025 at 03:52:41PM +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>
> ---
> .../power/nvidia,tegra264-powergate.h | 26 +++++++++++++++++++
> 1 file changed, 26 insertions(+)
> create mode 100644 include/dt-bindings/power/nvidia,tegra264-powergate.h
>
> diff --git a/include/dt-bindings/power/nvidia,tegra264-powergate.h b/include/dt-bindings/power/nvidia,tegra264-powergate.h
> new file mode 100644
> index 000000000000..344c669e4a52
> --- /dev/null
> +++ b/include/dt-bindings/power/nvidia,tegra264-powergate.h
> @@ -0,0 +1,26 @@
> +/* 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
> +
> +#define TEGRA264_POWER_DOMAIN_MAX 22
This shouldn't be here, if you need it put it in the driver.
> +
> +#endif /* DT_BINDINGS_POWER_NVIDIA_TEGRA264_H */
> --
> 2.50.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2025-08-18 17:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-18 13:52 [PATCH] dt-bindings: power: Add power domain IDs for Tegra264 Thierry Reding
2025-08-18 17:00 ` Conor Dooley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250818-citizen-doornail-324327bc3942@spud \
--to=conor@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jonathanh@nvidia.com \
--cc=krzk+dt@kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sheetal@nvidia.com \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox