Re: [RFC PATCH] platform/arm64: lenovo-thinkpad-t14s: Adjust thermal trip with platform profile

From: Daniel Lezcano

Date: Thu Oct 15 2026 - 03:11:07 EST


On 10/15/26 07:08, Kurt Borja wrote:
On Wed Oct 14, 2026 at 10:03 AM -03, Daniel Lezcano wrote:

[ ... ]

Yes but I have a series I'm about to send decoupling the
platform_profile from ACPI

The platform-profile already has a platform agnostic interface at
/sys/class/platform-profile-N. Unless I'm missing something, I believe
that interface should already cover your use case and its also the
recommended way to expose interfaces to user-space.

I was not around here when this functionality was exposed to
/sys/firmware/acpi so I don't really know the context, but I personally
don't see a reason to duplicate this at /sys/firmware/devicetree or
something like that.

Yes, I agree, thanks for pointing this out.

The platform_profile is however tied with ACPI because if acpi_disabled is set then platform profile is not usable. It uses also a acpi_kobj.

The aforementioned series [1] decouples both so it can be used on any platform.

[1] https://lore.kernel.org/all/20261014132500.3817549-1-daniel.lezcano@xxxxxxxxxxxxxxxx/