]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: qcom: Add SM8550 clock driver
authorNeil Armstrong <neil.armstrong@linaro.org>
Thu, 4 Apr 2024 16:46:38 +0000 (18:46 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:10 +0000 (13:29 +0200)
commit458123ca626ec07021948f68180bcbaf00a33793
treeaff4d96cc5be9ad99024f0efcc49ffba1abff5c2
parentf0a08d44594a2a6f28763ccd7826bbd39ce63629
clk: qcom: Add SM8550 clock driver

Add the GCC and TCSRCC clock driver for the SM8550 SoC.

The GCC driver uses the clk-qcom infrastructure to support GDSCs,
Resets and gates. While the TCSRCC is a simpler clock driver which
only supports gates.

The GCC enable and set_rate callbacks contains some tweaks to
setup clocks for Debug UART, SDCard controller and USB.

The TCSRCC gates returns the XO frequency, which is used by the
Synopsys eUSB2 driver to determine the PHY configuration.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/clk/qcom/Kconfig
drivers/clk/qcom/Makefile
drivers/clk/qcom/clock-sm8550.c [new file with mode: 0644]