mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
47 lines
1.5 KiB
Diff
47 lines
1.5 KiB
Diff
From 2398581c3a37209c66ca731da60bb998b593fccb Mon Sep 17 00:00:00 2001
|
|
From: Sebastian Reichel <sebastian.reichel@collabora.com>
|
|
Date: Wed, 20 Aug 2025 19:40:49 +0200
|
|
Subject: [PATCH 043/110] FROMLIST(v2): dt-bindings: thermal: rockchip: tighten
|
|
grf requirements
|
|
|
|
Instead of having an optional rockchip,grf property, forbid using it on
|
|
platforms without registers in a GRF being needed for thermal monitoring
|
|
and make it mandatory on the platforms actually needing it.
|
|
|
|
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
|
|
Acked-by: Conor Dooley <conor.dooley@microchip.com>
|
|
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
|
|
---
|
|
.../bindings/thermal/rockchip-thermal.yaml | 15 +++++++++++++++
|
|
1 file changed, 15 insertions(+)
|
|
|
|
diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml
|
|
index 573f447cc26e..9fa5c4c49d76 100644
|
|
--- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml
|
|
+++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml
|
|
@@ -119,6 +119,21 @@ required:
|
|
- resets
|
|
|
|
allOf:
|
|
+ - if:
|
|
+ properties:
|
|
+ compatible:
|
|
+ contains:
|
|
+ enum:
|
|
+ - rockchip,px30-tsadc
|
|
+ - rockchip,rk3366-tsadc
|
|
+ - rockchip,rk3399-tsadc
|
|
+ - rockchip,rk3568-tsadc
|
|
+ then:
|
|
+ required:
|
|
+ - rockchip,grf
|
|
+ else:
|
|
+ properties:
|
|
+ rockchip,grf: false
|
|
- if:
|
|
not:
|
|
properties:
|
|
--
|
|
2.34.1
|
|
|