mbox series

[0/2] Extend the cros_usbpd-charger to make it a passive thermal cooling device

Message ID 20241122-extend_power_limit-v1-0-a3ecd87afa76@chromium.org (mailing list archive)
Headers show
Series Extend the cros_usbpd-charger to make it a passive thermal cooling device | expand

Message

Sung-Chi Li Nov. 22, 2024, 3:47 a.m. UTC
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.

---
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          | 98 ++++++++++++++++++++--
 2 files changed, 96 insertions(+), 5 deletions(-)
---
base-commit: ac24e26aa08fe026804f678599f805eb13374a5d
change-id: 20241122-extend_power_limit-62c2d9aabfa7

Best regards,