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/20231018061714.3553817-22-s.hauer@pengutronix.de/ Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
1 parent 7fd6960 commit 97cfa4a

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

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)