mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
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> Reviewed-by: Dragan Simic <dsimic@manjaro.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20250820-thermal-rockchip-grf-warning-v2-3-c7e2d35017b8@kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
This commit is contained in:
committed by
Daniel Lezcano
parent
c268a9d8c1
commit
e881662aa0
@@ -119,6 +119,21 @@ required:
|
|||||||
- resets
|
- resets
|
||||||
|
|
||||||
allOf:
|
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:
|
- if:
|
||||||
not:
|
not:
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
Reference in New Issue
Block a user