diff mbox series

[thermal:,thermal/fixes] dt-bindings: thermal: amlogic: add support for A1 thermal sensor

Message ID 171568193553.10875.492298160549864205.tip-bot2@tip-bot2
State New
Headers show
Series [thermal:,thermal/fixes] dt-bindings: thermal: amlogic: add support for A1 thermal sensor | expand

Commit Message

thermal-bot for Julien Panis May 14, 2024, 10:18 a.m. UTC
The following commit has been merged into the thermal/fixes branch of thermal:

Commit-ID:     63d96b1253169126a791d6b1b0ef2e708ffb0d75
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//63d96b1253169126a791d6b1b0ef2e708ffb0d75
Author:        Dmitry Rokosov <ddrokosov@salutedevices.com>
AuthorDate:    Thu, 28 Mar 2024 22:13:10 +03:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Tue, 23 Apr 2024 12:40:29 +02:00

dt-bindings: thermal: amlogic: add support for A1 thermal sensor

Provide right compatible properties for Amlogic A1 Thermal Sensor
controller. A1 family supports only one thermal node - CPU thermal
sensor.

Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20240328191322.17551-2-ddrokosov@salutedevices.com
---
 Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml | 12 ++++---
 1 file changed, 7 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
index 20f8f9b..01fccdf 100644
--- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
@@ -13,11 +13,13 @@  description: Binding for Amlogic Thermal
 
 properties:
   compatible:
-    items:
-      - enum:
-          - amlogic,g12a-cpu-thermal
-          - amlogic,g12a-ddr-thermal
-      - const: amlogic,g12a-thermal
+    oneOf:
+      - items:
+          - enum:
+              - amlogic,g12a-cpu-thermal
+              - amlogic,g12a-ddr-thermal
+          - const: amlogic,g12a-thermal
+      - const: amlogic,a1-cpu-thermal
 
   reg:
     maxItems: 1