Re: [thermal: thermal/linux-next] thermal/drivers/samsung: acpm-tmu: Rename platform driver to "exynos-acpm-tmu"
From: Tudor Ambarus
Date: Wed Nov 11 2026 - 05:17:43 EST
On 11/11/26 2:42 AM, Alexey Klimov wrote:
> On Thu Nov 5, 2026 at 3:49 PM GMT, thermal-bot for Tudor Ambarus wrote:
>> The following commit has been merged into the thermal/linux-next branch of thermal:
>>
>> Commit-ID: ba446bdd27d4a2a6c0cb267f51a6ecc47cf19cf9
>> Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//ba446bdd27d4a2a6c0cb267f51a6ecc47cf19cf9
>> Author: Tudor Ambarus <tudor.ambarus@xxxxxxxxxx>
>> AuthorDate: Mon, 26 Oct 2026 16:01:28
>> Committer: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
>> CommitterDate: Tue, 03 Nov 2026 19:51:51 +01:00
>>
>> thermal/drivers/samsung: acpm-tmu: Rename platform driver to "exynos-acpm-tmu"
>
> Also, the fix for this problem was sent here earlier:
> https://lore.kernel.org/linux-samsung-soc/20261020-acpm-thermal-drv-name-fix-v1-1-71f72280583b@xxxxxxxxxx/
>
> Why taking this one and ignoring the fix that was sent earlier -- this
> should be at least explained.
I guess it slipped through the cracks, as it did for me.
>
>> Rename the platform driver from "gs-tmu" to "exynos-acpm-tmu" to reflect
>> that the ACPM TMU architecture is shared across Samsung Exynos SoCs
>> (such as GS101, AutoV920, and Exynos850) rather than being specific to
>> GS101, matching "exynos-acpm-protocol" in drivers/firmware/samsung/.
>>
>> Suggested-by: Alexey Klimov <alexey.klimov@xxxxxxxxxx>
>
> I don't recall suggesting this. Reporting -- yes, but not renaming to
> "exynos-acpm-tmu".
my apologies, it wasn't intended. If you have a strong opinion on the
tag type, I guess Daniel can drop it.
>
> This was reported months ago and was never fixed in the updated
> series for acpm-tmu.c.
>
>> Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxx>
>> Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
>> Link: https://patch.msgid.link/20261026-acpm-tmu-fixes-v1-11-0637431b7268@xxxxxxxxxx
>> ---
>> drivers/thermal/samsung/acpm-tmu.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/thermal/samsung/acpm-tmu.c b/drivers/thermal/samsung/acpm-tmu.c
>> index 42b338d..2324efc 100644
>> --- a/drivers/thermal/samsung/acpm-tmu.c
>> +++ b/drivers/thermal/samsung/acpm-tmu.c
>> @@ -597,7 +597,7 @@ static const struct dev_pm_ops acpm_tmu_pm_ops = {
>>
>> static struct platform_driver acpm_tmu_driver = {
>> .driver = {
>> - .name = "gs-tmu",
>> + .name = "exynos-acpm-tmu",
>
> It is minor but it potentially clashes with exynos-acpm-tmu firmware
There's no driver name for the firmware tmu commands helpers but I see
your point.
> file name. All other names in file acpm-tmu.c are "acpm-tmu".
I think "exynos-acpm-tmu" is fine, it aligns with "exynos-acpm-protocol"
from drivers/firmware/samsung/exynos-acpm.c. I guess you may rename
"acpm-clocks" (drivers/clk/samsung/clk-acpm.c) to "exynos-acpm-clocks",
but I wouldn't bother too much. If you have a strong opinion on
"acpm-tmu" send a patch on top please.
Cheers,
ta