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

From: Sebastian Reichel

Date: Thu Sep 17 2026 - 10:30:21 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 | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)

diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml
index d6e06a9bea19..964f1827496a 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:
@@ -68,6 +69,28 @@ allOf:
- clocks
- clock-names

+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - rockchip,rk3576-dfi
+ then:
+ properties:
+ clocks:
+ items:
+ - description:
+ clock driving the DDR monitoring logic for memory channel 0
+ - description:
+ clock driving the DDR monitoring logic for memory channel 1
+ clock-names:
+ items:
+ - const: pclk_ddr_mon_ch0
+ - const: pclk_ddr_mon_ch1
+ required:
+ - clocks
+ - clock-names
+
- if:
properties:
compatible:

--
2.53.0