Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <krzysztof.kozlowski@linaro.org>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Link: https://lore.kernel.org/r/20250502-rk3576-sai-v3-1-376cef19dd7c@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

authored by

Nicolas Frattaroli and committed by
Heiko Stuebner
4210f21c 0af2f6be

+10
+10
include/dt-bindings/clock/rockchip,rk3576-cru.h
··· 594 594 #define SCMI_ARMCLK_B 11 595 595 #define SCMI_CLK_GPU 456 596 596 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 + 597 607 #endif