Chrome platform driver development
 help / color / mirror / Atom feed
From: Sung-Chi Li <lschyi@chromium.org>
To: Benson Leung <bleung@chromium.org>,
	Guenter Roeck <groeck@chromium.org>,
	 Sebastian Reichel <sre@kernel.org>, Lee Jones <lee@kernel.org>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: chrome-platform@lists.linux.dev, linux-pm@vger.kernel.org,
	 linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	 Sung-Chi Li <lschyi@chromium.org>
Subject: [PATCH 2/2] dt-bindings: mfd: cros-ec: add properties for thermal cooling cells
Date: Fri, 22 Nov 2024 11:47:22 +0800	[thread overview]
Message-ID: <20241122-extend_power_limit-v1-2-a3ecd87afa76@chromium.org> (raw)
In-Reply-To: <20241122-extend_power_limit-v1-0-a3ecd87afa76@chromium.org>

The cros_ec supports limiting the input current to act as a passive
thermal cooling device. Add the property '#cooling-cells' bindings, such
that thermal framework can recognize cros_ec as a valid thermal cooling
device.

Signed-off-by: Sung-Chi Li <lschyi@chromium.org>
---
 Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
index aac8819bd00b..2b6f098057af 100644
--- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
+++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
@@ -96,6 +96,9 @@ properties:
   '#gpio-cells':
     const: 2
 
+  '#cooling-cells':
+    const: 2
+
   gpio-controller: true
 
   typec:

-- 
2.47.0.371.ga323438b13-goog


  parent reply	other threads:[~2024-11-22  3:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-22  3:47 [PATCH 0/2] Extend the cros_usbpd-charger to make it a passive thermal cooling device Sung-Chi Li
2024-11-22  3:47 ` [PATCH 1/2] power: supply: cros_usbpd-charger: extend as a thermal of " Sung-Chi Li
2024-11-22 10:21   ` Thomas Weißschuh
2024-11-25  2:37     ` Sung-Chi, Li
2024-11-25  8:50       ` Thomas Weißschuh
2024-11-22  3:47 ` Sung-Chi Li [this message]
2024-11-22  7:49   ` [PATCH 2/2] dt-bindings: mfd: cros-ec: add properties for thermal cooling cells Krzysztof Kozlowski
2024-11-25  2:50     ` Sung-Chi, Li
2024-11-25  7:32       ` Krzysztof Kozlowski
2024-11-25  7:35         ` Krzysztof Kozlowski
2024-11-25  8:36           ` Sung-Chi, Li
2024-11-25  8:43         ` Sung-Chi, Li
2024-11-25  8:48           ` Krzysztof Kozlowski
2024-11-25 10:48             ` Krzysztof Kozlowski

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=20241122-extend_power_limit-v1-2-a3ecd87afa76@chromium.org \
    --to=lschyi@chromium.org \
    --cc=bleung@chromium.org \
    --cc=chrome-platform@lists.linux.dev \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=groeck@chromium.org \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    /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