[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230504004852.627049-1-nfraprado@collabora.com>
Date: Wed, 3 May 2023 20:48:46 -0400
From: Nícolas F. R. A. Prado
<nfraprado@...labora.com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: kernel@...labora.com, Alexandre Mergnat <amergnat@...libre.com>,
Balsam CHIHI <bchihi@...libre.com>,
Chen-Yu Tsai <wenst@...omium.org>,
Alexandre Bailon <abailon@...libre.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Nícolas F. R. A. Prado
<nfraprado@...labora.com>, Amit Kucheria <amitk@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Zhang Rui <rui.zhang@...el.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org, linux-pm@...r.kernel.org
Subject: [PATCH v2 0/6] thermal/drivers/mediatek/lvts_thermal: Fixes to the interrupt handling
Fixes in the interrupt handling of the LVTS thermal driver noticed while
testing it on the Spherion Chromebook (mt8192-asurada-spherion) with the
MT8192 support series [1].
These are standalone fixes and don't depend on anything else.
While version 1 fixed the interrupt storms that were happening, after
doing some more testing I realized that interrupts still weren't
correctly working when crossing thermal trip points, so I've added a
couple more commits to get that fixed on version 2.
[1] https://lore.kernel.org/all/20230307163413.143334-1-bchihi@baylibre.com/
Thanks,
Nícolas
Changes in v2:
- Added commits 3, 5, 6 to get working interrupts when crossing thermal
trip points
- Updated commit 4 with interrupt flags for the offset
Nícolas F. R. A. Prado (6):
thermal/drivers/mediatek/lvts_thermal: Handle IRQ on all controllers
thermal/drivers/mediatek/lvts_thermal: Honor sensors in immediate mode
thermal/drivers/mediatek/lvts_thermal: Use offset threshold for IRQ
thermal/drivers/mediatek/lvts_thermal: Disable undesired interrupts
thermal/drivers/mediatek/lvts_thermal: Don't leave threshold zeroed
thermal/drivers/mediatek/lvts_thermal: Manage threshold between
sensors
drivers/thermal/mediatek/lvts_thermal.c | 142 ++++++++++++++++++------
1 file changed, 110 insertions(+), 32 deletions(-)
--
2.40.1
Powered by blists - more mailing lists