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

Add the GCC and TCSRCC clock driver for the SM8650 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-sm8650.c [new file with mode: 0644]