From: Rob Herring <robh@kernel.org>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
Jon Hunter <jonathanh@nvidia.com>,
devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/5] dt-bindings: memory: tegra210: Mark EMC as cooling device
Date: Wed, 22 Dec 2021 13:20:30 -0400 [thread overview]
Message-ID: <YcNeXgRyxvIkcgiD@robh.at.kernel.org> (raw)
In-Reply-To: <20211217165919.2700920-5-thierry.reding@gmail.com>
On Fri, Dec 17, 2021 at 05:59:19PM +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
>
> The external memory controller found on Tegra210 can use throttling of
> the EMC frequency in order to reduce the memory chip temperature. Mark
> the memory controller as a cooling device to take advantage of this
> functionality.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> .../bindings/memory-controllers/nvidia,tegra210-emc.yaml | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml
> index bc8477e7ab19..95c14deb8941 100644
> --- a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml
> +++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml
> @@ -44,6 +44,11 @@ properties:
> description:
> phandle of the memory controller node
>
> +allOf:
> + - $ref: ../thermal/thermal-cooling-devices.yaml
/schemas/thermal/...
With that,
Reviewed-by: Rob Herring <robh@kernel.org>
> +
> +unevaluatedProperties: false
> +
> required:
> - compatible
> - reg
> @@ -51,8 +56,6 @@ required:
> - clock-names
> - nvidia,memory-controller
>
> -additionalProperties: false
> -
> examples:
> - |
> #include <dt-bindings/clock/tegra210-car.h>
> @@ -79,4 +82,5 @@ examples:
> interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
> memory-region = <&emc_table>;
> nvidia,memory-controller = <&mc>;
> + #cooling-cells = <2>;
> };
> --
> 2.34.1
>
>
next prev parent reply other threads:[~2021-12-22 17:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-17 16:59 [PATCH 1/5] dt-bindings: memory: Document Tegra210 EMC table Thierry Reding
2021-12-17 16:59 ` [PATCH 2/5] dt-bindings: memory: Add Tegra210 memory controller bindings Thierry Reding
2021-12-18 10:59 ` Krzysztof Kozlowski
2021-12-17 16:59 ` [PATCH 3/5] dt-bindings: memory: Add Tegra114 " Thierry Reding
2021-12-18 11:02 ` Krzysztof Kozlowski
2021-12-18 18:08 ` Rob Herring
2021-12-17 16:59 ` [PATCH 4/5] dt-bindings: memory: tegra: Fix Tegra132 compatible string Thierry Reding
2021-12-18 18:08 ` Rob Herring
2022-01-04 19:13 ` Rob Herring
2021-12-17 16:59 ` [PATCH 5/5] dt-bindings: memory: tegra210: Mark EMC as cooling device Thierry Reding
2021-12-22 17:20 ` Rob Herring [this message]
2022-01-04 19:13 ` [PATCH 1/5] dt-bindings: memory: Document Tegra210 EMC table Rob Herring
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=YcNeXgRyxvIkcgiD@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jonathanh@nvidia.com \
--cc=krzysztof.kozlowski@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.