From: Maksim Kiselev <hidden> Date: 2023-12-17 21:09:09
This series adds support for Allwinner D1/T113s thermal sensor controller.
THIS controller is similar to the one on H6, but with only one sensor and
uses a different scale and offset values.
v6:
- Rebased onto 6.7.0-rc5
v5:
- Dropeed 'thermal-zones' node from sunxi-d1s-t113.dtsi
v4:
- Dropeed DT bindings example
v3:
- Fixed SoB tag again
v2:
- Fixed SoB tag
- Moved binding patch before driver changes
v1:
- Initial version
Maxim Kiselev (3):
dt-bindings: thermal: sun8i: Add binding for D1/T113s THS controller
thermal: sun8i: Add D1/T113s THS controller support
riscv: dts: allwinner: d1: Add thermal sensor
.../thermal/allwinner,sun8i-a83t-ths.yaml | 7 ++++++-
.../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 17 +++++++++++++++++
drivers/thermal/sun8i_thermal.c | 13 +++++++++++++
3 files changed, 36 insertions(+), 1 deletion(-)
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Maksim Kiselev <hidden> Date: 2023-12-17 21:09:22
From: Maxim Kiselev <redacted>
This patch adds a thermal sensor controller support for the D1/T113s,
which is similar to the one on H6, but with only one sensor and
different scale and offset values.
Signed-off-by: Maxim Kiselev <redacted>
---
drivers/thermal/sun8i_thermal.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
From: Maksim Kiselev <hidden> Date: 2023-12-17 21:09:29
From: Maxim Kiselev <redacted>
This patch adds a thermal sensor controller node for the D1/T113s.
Also it adds a THS calibration data cell to efuse node.
Signed-off-by: Maxim Kiselev <redacted>
---
.../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
From: Andre Przywara <andre.przywara@arm.com> Date: 2023-12-18 00:57:48
On Mon, 18 Dec 2023 00:06:23 +0300
Maksim Kiselev [off-list ref] wrote:
Hi Maksim,
From: Maxim Kiselev <redacted>
This patch adds a thermal sensor controller support for the D1/T113s,
which is similar to the one on H6, but with only one sensor and
different scale and offset values.
That looks alright to me, the offset and scale values match the
converted values in the manual, and the rest looks indeed the same as
used on the H6.
Signed-off-by: Maxim Kiselev <redacted>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Thanks,
Andre
From: Andre Przywara <andre.przywara@arm.com> Date: 2023-12-18 01:09:40
On Mon, 18 Dec 2023 00:06:24 +0300
Maksim Kiselev [off-list ref] wrote:
Hi,
quoted hunk
From: Maxim Kiselev <redacted>
This patch adds a thermal sensor controller node for the D1/T113s.
Also it adds a THS calibration data cell to efuse node.
Signed-off-by: Maxim Kiselev <redacted>
---
.../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
Any reason this is disabled? We typically don't disable those internal
devices in the SoC .dtsi, the THS is one example (check the instances
in other SoCs' .dtsi files).
The rest looks alright, compared to the manual, so with this line
removed:
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cheers,
Andre
Dne nedelja, 17. december 2023 ob 22:06:23 CET je Maksim Kiselev napisal(a):
From: Maxim Kiselev <redacted>
This patch adds a thermal sensor controller support for the D1/T113s,
which is similar to the one on H6, but with only one sensor and
different scale and offset values.
Signed-off-by: Maxim Kiselev <redacted>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Best regards,
Jernej
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Daniel Lezcano <hidden> Date: 2023-12-19 17:43:04
On 17/12/2023 22:06, Maksim Kiselev wrote:
This series adds support for Allwinner D1/T113s thermal sensor controller.
THIS controller is similar to the one on H6, but with only one sensor and
uses a different scale and offset values.
v6:
- Rebased onto 6.7.0-rc5
From: Sam Edwards <hidden> Date: 2024-09-09 17:17:01
Hi Maksim,
Apologies if I have failed to find a v7 of this patch in my searching,
but I'm seeing that patch #3 here was never applied, so Linux still does
not enable the thermal sensor in these chips. I just thought I'd give
you a heads-up in case you weren't aware. :)
Thanks for all your hard work,
Sam
From: Andre Przywara <andre.przywara@arm.com> Date: 2024-09-09 19:23:34
On Mon, 9 Sep 2024 10:16:56 -0700
Sam Edwards [off-list ref] wrote:
Hi,
Hi Maksim,
Apologies if I have failed to find a v7 of this patch in my searching,
but I'm seeing that patch #3 here was never applied, so Linux still does
not enable the thermal sensor in these chips. I just thought I'd give
you a heads-up in case you weren't aware. :)
There is an unaddressed comment on this patch: to remove the "disabled"
status line. Sam, feel free to fix this and send the patch again,
unless Maksim beats you to it.
Cheers,
Andre