Re: [PATCH v6 1/5] dt-bindings: thermal: sun8i: Add A523 THS0/1 controllers

From: Mikhail Kalashnikov

Date: Wed Sep 30 2026 - 22:31:05 EST


On 9/24/26 23:17, Rob Herring wrote:
On Sun, Sep 13, 2026 at 10:55:23PM +0800, Mikhail Kalashnikov wrote:
From: Mikhail Kalashnikov <iuncuim@xxxxxxxxx>

Add dt-bindings description of the thermal sensors in the A523 processor.

The calibration data for both thermal controllers (THS0, THS1) is split
across two nvmem cells at different offsets, requiring the two cells
to be read and merged. To maintain backward compatibility, the name of
the old cell remains "calibration" and the new cell is named
"calibration-second-part".

Signed-off-by: Mikhail Kalashnikov <iuncuim@xxxxxxxxx>
---
.../thermal/allwinner,sun8i-a83t-ths.yaml | 34 +++++++++++++++++--
1 file changed, 31 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
index 3e61689f6..792081af5 100644
--- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
+++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
@@ -24,6 +24,8 @@ properties:
- allwinner,sun50i-h5-ths
- allwinner,sun50i-h6-ths
- allwinner,sun50i-h616-ths
+ - allwinner,sun55i-a523-ths0
+ - allwinner,sun55i-a523-ths1

Why the 2 compatibles? What's the difference between them?

Surely this has been asked already, but nothing *in this patch* answers
it.
English isn't my native language, and I don't quite understand what you're asking. It would be better if you just said, “I'd like the commit message (or somewhere else) explaining why two compatible string are required.”
Thank you.>
Rob