Re: [PATCH v3 3/3] clk: qcom: Add global clock controller driver for SM6375

From: Christophe JAILLET
Date: Sat Jul 23 2022 - 06:26:16 EST


Le 23/07/2022 à 12:01, Konrad Dybcio a écrit :
Add support for the global clock controller found on SM6375.

Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx>
---
Changes since v2:
- use parent_hws where applicable

drivers/clk/qcom/Kconfig | 8 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/gcc-sm6375.c | 3931 +++++++++++++++++++++++++++++++++
3 files changed, 3940 insertions(+)
create mode 100644 drivers/clk/qcom/gcc-sm6375.c

diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index 415ae4ffab48..ef81eda01649 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -672,6 +672,14 @@ config SM_GCC_6350
Say Y if you want to use peripheral devices such as UART,
SPI, I2C, USB, SD/UFS, PCIe etc.
+config SM_GCC_6375
+ tristate "SM6350 Global Clock Controller"

Nit: SM6375?

+ select QCOM_GDSC
+ help
+ Support for the global clock controller on SM6375 devices.
+ Say Y if you want to use peripheral devices such as UART,
+ SPI, I2C, USB, SD/UFS etc.
+