Skip to content

Commit c110b7e

Browse files
sremmind
authored andcommitted
dt-bindings: soc: rockchip: add clock to RK3588 VO grf
The RK3588 VO GRF needs a clock. This adds the clock to the allowed properties, makes it mandatory for the RK3588 VO grf and disallows it for any other Rockchip grf. Acked-by: Conor Dooley <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 738227a commit c110b7e

File tree

1 file changed

+19
-0
lines changed
  • Documentation/devicetree/bindings/soc/rockchip

1 file changed

+19
-0
lines changed

Documentation/devicetree/bindings/soc/rockchip/grf.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ properties:
6767
reg:
6868
maxItems: 1
6969

70+
clocks:
71+
maxItems: 1
72+
7073
"#address-cells":
7174
const: 1
7275

@@ -249,6 +252,22 @@ allOf:
249252

250253
unevaluatedProperties: false
251254

255+
- if:
256+
properties:
257+
compatible:
258+
contains:
259+
enum:
260+
- rockchip,rk3588-vo-grf
261+
262+
then:
263+
required:
264+
- clocks
265+
266+
else:
267+
properties:
268+
clocks: false
269+
270+
252271
examples:
253272
- |
254273
#include <dt-bindings/clock/rk3399-cru.h>

0 commit comments

Comments
 (0)