[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241125-extend_power_limit-v2-0-c3266a86e9b1@chromium.org>
Date: Mon, 25 Nov 2024 16:31:15 +0800
From: Sung-Chi Li <lschyi@...omium.org>
To: Benson Leung <bleung@...omium.org>, Guenter Roeck <groeck@...omium.org>,
Sebastian Reichel <sre@...nel.org>, Lee Jones <lee@...nel.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: chrome-platform@...ts.linux.dev, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Sung-Chi Li <lschyi@...omium.org>
Subject: [PATCH v2 0/2] Extend the cros_usbpd-charger to make it a passive
thermal cooling device
The cros_usbpd-charger already supports limiting input current, so we
can easily extend it as a passive thermal cooling device. By limiting
the current flow into the system, we can reduce the heat generated by
related chips, which results in reserving more thermal budget for the
system.
This series will only works on making it a OF style thermal cooling
device, so related code are guarded by #ifdef macros.
---
Changes in v2:
- Revise commit message for including the reason of change for this
series.
- Remove uses of `ifdef CONFIG_THERMAL_OF`, and use
`IS_ENABLED(CONFIG_THERMAL_OF)` when needed.
- Does not failing the driver probing if failed to register the usbpd
device as a cooling device.
---
Sung-Chi Li (2):
power: supply: cros_usbpd-charger: extend as a thermal of cooling device
dt-bindings: mfd: cros-ec: add properties for thermal cooling cells
.../devicetree/bindings/mfd/google,cros-ec.yaml | 3 +
drivers/power/supply/cros_usbpd-charger.c | 84 +++++++++++++++++++++-
2 files changed, 85 insertions(+), 2 deletions(-)
---
base-commit: ac24e26aa08fe026804f678599f805eb13374a5d
change-id: 20241122-extend_power_limit-62c2d9aabfa7
Best regards,
--
Sung-Chi Li <lschyi@...omium.org>
Powered by blists - more mailing lists