Message ID | 20231121-ipq5332-nsscc-v2-0-a7ff61beab72@quicinc.com |
---|---|
Headers | show |
Series | Add NSS clock controller support for Qualcomm IPQ5332 | expand |
On 11/21/23 15:30, Kathiravan Thirumoorthy wrote: > Add Networking Sub System Clock Controller(NSSCC) driver for Qualcomm > IPQ5332 based devices. > > Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com> > --- LGTM except a single nit > +MODULE_DESCRIPTION("QTI NSS_CC MIAMI Driver"); Konrad
On 11/21/23 15:30, Kathiravan Thirumoorthy wrote: > Add support for gpll0_out_aux clock which acts as the parent for > certain networking subsystem (NSS) clocks. > > Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com> > --- Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad
Add bindings, driver and devicetree node for networking sub system clock controller on IPQ5332. Some of the nssnoc clocks present in GCC driver is enabled by default and its RCG is configured by bootloaders, so enable those clocks in driver probe. The NSS clock controller driver depends on the below patchset which adds support for multiple configurations for same frequency. https://lore.kernel.org/linux-arm-msm/20230531222654.25475-1-ansuelsmth@gmail.com/ Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com> --- Changes in v2: - Change logs are in respective patches - Link to v1: https://lore.kernel.org/r/20231030-ipq5332-nsscc-v1-0-6162a2c65f0a@quicinc.com --- Kathiravan Thirumoorthy (9): clk: qcom: ipq5332: add const qualifier to the clk_init_data structure clk: qcom: ipq5332: enable few nssnoc clocks in driver probe dt-bindings: clock: ipq5332: drop the few nss clocks definition dt-bindings: clock: ipq5332: add definition for GPLL0_OUT_AUX clock clk: qcom: ipq5332: add gpll0_out_aux clock dt-bindings: clock: add Qualcomm IPQ5332 NSSCC clock and reset definitions clk: qcom: add NSS clock Controller driver for Qualcomm IPQ5332 arm64: dts: qcom: ipq5332: add support for the NSSCC arm64: defconfig: build NSS Clock Controller driver for Qualcomm IPQ5332 .../bindings/clock/qcom,ipq5332-nsscc.yaml | 60 ++ arch/arm64/boot/dts/qcom/ipq5332.dtsi | 28 + arch/arm64/configs/defconfig | 1 + drivers/clk/qcom/Kconfig | 7 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-ipq5332.c | 122 +-- drivers/clk/qcom/nsscc-ipq5332.c | 1035 ++++++++++++++++++++ include/dt-bindings/clock/qcom,ipq5332-gcc.h | 4 +- include/dt-bindings/clock/qcom,ipq5332-nsscc.h | 86 ++ 9 files changed, 1264 insertions(+), 80 deletions(-) --- base-commit: 07b677953b9dca02928be323e2db853511305fa9 change-id: 20231030-ipq5332-nsscc-aeac9e153045 Best regards,