Skip to content

Commit 4210f21

Browse files
Nicolas Frattarolimmind
authored andcommitted
dt-bindings: clock: rk3576: add IOC gated clocks
Certain clocks on the RK3576 are additionally essentially "gated" behind some bit toggles in the IOC GRF range. Downstream ungates these by adding a separate clock driver that maps over the GRF range and leaks their implementation of this into the DT. Instead, define some new clock IDs for these, so that consumers of these types of clocks can properly articulate which clock they're using, so that we can then add them to the clock driver for SoCs that need them. Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Nicolas Frattaroli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 0af2f6b commit 4210f21

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

include/dt-bindings/clock/rockchip,rk3576-cru.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,4 +594,14 @@
594594
#define SCMI_ARMCLK_B 11
595595
#define SCMI_CLK_GPU 456
596596

597+
/* IOC-controlled output clocks */
598+
#define CLK_SAI0_MCLKOUT_TO_IO 571
599+
#define CLK_SAI1_MCLKOUT_TO_IO 572
600+
#define CLK_SAI2_MCLKOUT_TO_IO 573
601+
#define CLK_SAI3_MCLKOUT_TO_IO 574
602+
#define CLK_SAI4_MCLKOUT_TO_IO 575
603+
#define CLK_SAI4_MCLKOUT_TO_IO 575
604+
#define CLK_FSPI0_TO_IO 576
605+
#define CLK_FSPI1_TO_IO 577
606+
597607
#endif

0 commit comments

Comments
 (0)