[PATCH v2 3/7] dt-bindings: devfreq: event: rockchip,dfi: add rk3576

From: Sebastian Reichel

Date: Mon Sep 21 2026 - 17:16:07 EST


From: Nicolas Frattaroli <nicolas.frattaroli@xxxxxxxxxxxxx>

The RK3576 has DFI hardware for monitoring the DDR's bandwidth much
like other rockchip SoCs do. Unlike the RK3588 however, it only has two
memory channels, so only two per-channel pclks for DFI.

Add a compatible for this SoC's variant, and add it to the conditionals
at the bottom of the bindings file.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@xxxxxxxxxxxxx>
Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
---
.../bindings/devfreq/event/rockchip,dfi.yaml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml
index 3450e28b4020..dcf3bbde3e8d 100644
--- a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml
+++ b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml
@@ -14,6 +14,7 @@ properties:
enum:
- rockchip,rk3399-dfi
- rockchip,rk3568-dfi
+ - rockchip,rk3576-dfi
- rockchip,rk3588-dfi

clocks:
@@ -64,6 +65,24 @@ allOf:
- clocks
- clock-names

+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - rockchip,rk3576-dfi
+ then:
+ properties:
+ clocks:
+ minItems: 2
+ maxItems: 2
+ clock-names:
+ minItems: 2
+ maxItems: 2
+ required:
+ - clocks
+ - clock-names
+
- if:
properties:
compatible:

--
2.53.0