From: Xianwei Zhao <xianwei.zhao@amlogic.com>
Add the compatible properties for Amlogic C3 SoC family.
C3 family supports only one thermal node - CPU thermal
sensor.
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
index 70b273271754..095b92aa5ace 100644
--- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
@@ -22,6 +22,7 @@ properties:
- amlogic,g12a-ddr-thermal
- const: amlogic,g12a-thermal
- const: amlogic,a1-cpu-thermal
+ - const: amlogic,c3-cpu-thermal
reg:
maxItems: 1
--
2.37.1
On Fri, Jul 18, 2025 at 02:37:41PM +0800, Xianwei Zhao wrote: > Add the compatible properties for Amlogic C3 SoC family. > C3 family supports only one thermal node - CPU thermal > sensor. > > Signed-off-by: Liming Xue <liming.xue@amlogic.com> > Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com> > --- > Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml > index 70b273271754..095b92aa5ace 100644 > --- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml > +++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml > @@ -22,6 +22,7 @@ properties: > - amlogic,g12a-ddr-thermal > - const: amlogic,g12a-thermal > - const: amlogic,a1-cpu-thermal > + - const: amlogic,c3-cpu-thermal Combine with the a1 entry using 'enum'. > > reg: > maxItems: 1 > > -- > 2.37.1 >
Hi Rob,
Thanks for your reply.
On 2025/7/21 07:41, Rob Herring wrote:
> [ EXTERNAL EMAIL ]
>
> On Fri, Jul 18, 2025 at 02:37:41PM +0800, Xianwei Zhao wrote:
>> Add the compatible properties for Amlogic C3 SoC family.
>> C3 family supports only one thermal node - CPU thermal
>> sensor.
>>
>> Signed-off-by: Liming Xue <liming.xue@amlogic.com>
>> Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
>> ---
>> Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
>> index 70b273271754..095b92aa5ace 100644
>> --- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
>> +++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
>> @@ -22,6 +22,7 @@ properties:
>> - amlogic,g12a-ddr-thermal
>> - const: amlogic,g12a-thermal
>> - const: amlogic,a1-cpu-thermal
>> + - const: amlogic,c3-cpu-thermal
>
> Combine with the a1 entry using 'enum'.
>
Will do.
>>
>> reg:
>> maxItems: 1
>>
>> --
>> 2.37.1
>>
© 2016 - 2026 Red Hat, Inc.