aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Hauer <[email protected]>2023-10-18 08:17:09 +0200
committerChanwoo Choi <[email protected]>2023-10-19 21:25:50 +0900
commit97cfa4ae843ebfb2ba541e78ce190e2d1481cf3f (patch)
tree047e0b04791864f05beee9df13ce42656834bf88
parent7fd696076e0f441c1a6415619c3c96afecb513aa (diff)
dt-bindings: devfreq: event: rockchip,dfi: Add rk3568 support
This adds the rockchip,rk3568-dfi compatible to the binding. Make clocks optional for this SoC as the RK3568 doesn't have a kernel controllable PCLK. Link: https://lore.kernel.org/all/[email protected]/ Reviewed-by: Conor Dooley <[email protected]> Acked-by: Chanwoo Choi <[email protected]> Signed-off-by: Sascha Hauer <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml15
1 files changed, 13 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml
index 7a82f6ae0701..e8b64494ee8b 100644
--- a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml
+++ b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml
@@ -13,6 +13,7 @@ properties:
compatible:
enum:
- rockchip,rk3399-dfi
+ - rockchip,rk3568-dfi
clocks:
maxItems: 1
@@ -34,11 +35,21 @@ properties:
required:
- compatible
- - clocks
- - clock-names
- interrupts
- reg
+if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - rockchip,rk3399-dfi
+
+then:
+ required:
+ - clocks
+ - clock-names
+
additionalProperties: false
examples: