Skip to content

Commit 97cfa4a

Browse files
saschahauerchanwoochoi
authored andcommitted
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]>
1 parent 7fd6960 commit 97cfa4a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ properties:
1313
compatible:
1414
enum:
1515
- rockchip,rk3399-dfi
16+
- rockchip,rk3568-dfi
1617

1718
clocks:
1819
maxItems: 1
@@ -34,11 +35,21 @@ properties:
3435

3536
required:
3637
- compatible
37-
- clocks
38-
- clock-names
3938
- interrupts
4039
- reg
4140

41+
if:
42+
properties:
43+
compatible:
44+
contains:
45+
enum:
46+
- rockchip,rk3399-dfi
47+
48+
then:
49+
required:
50+
- clocks
51+
- clock-names
52+
4253
additionalProperties: false
4354

4455
examples:

0 commit comments

Comments
 (0)