[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230821-ths-h616-v2-0-cda60d556798@somainline.org>
Date: Mon, 21 Aug 2023 16:03:45 +0200
From: Martin Botka <martin.botka@...ainline.org>
To: Vasily Khoruzhick <anarsoul@...il.com>,
Yangtao Li <tiny.windzz@...il.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Amit Kucheria <amitk@...nel.org>,
Zhang Rui <rui.zhang@...el.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>
Cc: linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Andre Przywara <andre.przywara@....com>,
Alan Ma <tech@...u3d.com>,
Luke Harrison <bttuniversity@...u3d.com>,
Marijn Suijten <marijn.suijten@...ainline.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...ainline.org>,
Konrad Dybcio <konrad.dybcio@...ainline.org>,
Martin Botka <martin@...u3d.com>,
Martin Botka <martin.botka@...ainline.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: [PATCH v2 0/3] Add support for H616 Thermal system
Hello,
This patch series adds support to thermal system
found in H616 SoC.
There are 4 thermal sensors in this SoC.
One for GPU, CPU, DRAM and VE.
Trips while unused for now until cpufreq is implemented
(WIP) are required by dt-bindings and thus included here.
Cheers,
Martin
---------------
Hello,
Im very much not sure if the trips should be included or not.
Since they are not optional part I decided to add them but
please let me know.
Cheers,
Martin
Signed-off-by: Martin Botka <martin.botka@...ainline.org>
---
Changes in v2:
- Fix typos
- Remove h616 calc and init functions
- Use TEMP_CALIB_MASK insteaf of 0xffff
- Adjust calibration function to new offset and scale
- Add proper comment to bindings patch
- Split delta calculations to 2 lines
- Add parentheses around caldata[2|3] >> 12
- Negate bindings if for clocks
- Link to v1: https://lore.kernel.org/r/20230818-ths-h616-v1-0-0e1e058b9c7a@somainline.org
---
Martin Botka (3):
dt-bindings: thermal: sun8i: Add binding for H616 THS controller
thermal: sun8i: Add support for H616 THS controller
arm64: dts: allwinner: h616: Add thermal sensor and thermal zones
.../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 18 ++---
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 87 ++++++++++++++++++++++
drivers/thermal/sun8i_thermal.c | 74 ++++++++++++++++++
3 files changed, 169 insertions(+), 10 deletions(-)
---
base-commit: df6283416a280d17609f5e55388601458241348c
change-id: 20230815-ths-h616-77b2db565249
Best regards,
--
Martin Botka <martin.botka@...ainline.org>
Powered by blists - more mailing lists