Add Global clock controller support for IPQ6018
Subsystems (6)
v2 cover Add Global clock controller support for IPQ6018
The IPQ6018 is Qualcomm’s 802.11ax/u2019s SoC for Routers, Gateways and Access Points.
[V2]
* Addressed sparse warnings reported by Kbuild test robot.
This series adds Global clock controller support for ipq6018.
Sricharan R (2):
clk: qcom: Add DT bindings for ipq6018 gcc clock controller
clk: qcom: Add ipq6018 Global Clock Controller support
.../devicetree/bindings/clock/qcom,gcc.yaml | 3 +- drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-ipq6018.c | 4643 ++++++++++++++++++++ include/dt-bindings/clock/qcom,gcc-ipq6018.h | 262 ++ include/dt-bindings/reset/qcom,gcc-ipq6018.h | 157 + 6 files changed, 5073 insertions(+), 1 deletion(-) create mode 100644 drivers/clk/qcom/gcc-ipq6018.c create mode 100644 include/dt-bindings/clock/qcom,gcc-ipq6018.h create mode 100644 include/dt-bindings/reset/qcom,gcc-ipq6018.h
Signature · 1 line
1.9.1
PATCH v2 1/2 clk: qcom: Add DT bindings for ipq6018 gcc clock controller
Add the compatible strings and the include file for ipq6018 gcc clock controller.
--- .../devicetree/bindings/clock/qcom,gcc.yaml | 3 +- include/dt-bindings/clock/qcom,gcc-ipq6018.h | 262 +++++++++++++++++++++ include/dt-bindings/reset/qcom,gcc-ipq6018.h | 157 ++++++++++++ 3 files changed, 421 insertions(+), 1 deletion(-) create mode 100644 include/dt-bindings/clock/qcom,gcc-ipq6018.h create mode 100644 include/dt-bindings/reset/qcom,gcc-ipq6018.h
Documentation/devicetree/bindings/clock/qcom,gcc.yaml +2 -1
@@ -19,8 +19,9 @@ properties: enum: - qcom,gcc-apq8064 - qcom,gcc-apq8084 - - qcom,gcc-ipq8064 - qcom,gcc-ipq4019 + - qcom,gcc-ipq6018 + - qcom,gcc-ipq8064 - qcom,gcc-ipq8074 - qcom,gcc-msm8660 - qcom,gcc-msm8916
include/dt-bindings/clock/qcom,gcc-ipq6018.h new file +262 -0
262 lines not on this page · raw message
include/dt-bindings/reset/qcom,gcc-ipq6018.h new file +157 -0
157 lines not on this page · raw message
Signature · 1 line
2.7.4
Re: [PATCH V2 1/2] clk: qcom: Add DT bindings for ipq6018 gcc clock controller
Quoting Sricharan R (2020-01-09 00:05:20)
Quoted 11 lines
Add the compatible strings and the include file for ipq6018 gcc clock controller.
Co-developed-by Anusha Canchi Ramachandra Rao <[email protected]>Signed-off-by Anusha Canchi Ramachandra Rao <[email protected]>Co-developed-by Abhishek Sahu <[email protected]>Signed-off-by Abhishek Sahu <[email protected]>Co-developed-by Sivaprakash Murugesan <[email protected]>Signed-off-by Sivaprakash Murugesan <[email protected]>Reviewed-by Rob Herring <[email protected]>Signed-off-by Sricharan R <[email protected]>
Quoted 1 line
---
Applied to clk-next
PATCH v2 2/2 clk: qcom: Add ipq6018 Global Clock Controller support
In reply to Sricharan RThis patch adds support for the global clock controller found on the ipq6018 based devices.
Also fixed the sparse warnings reported by,
---
[V2]
* Addressed sparse warnings reported by Kbuild test robot.
drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-ipq6018.c | 4635 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 4644 insertions(+) create mode 100644 drivers/clk/qcom/gcc-ipq6018.c
drivers/clk/qcom/Kconfig +8 -0
@@ -96,6 +96,14 @@ config IPQ_GCC_4019 Say Y if you want to use peripheral devices such as UART, SPI, i2c, USB, SD/eMMC, etc. +config IPQ_GCC_6018 + tristate "IPQ6018 Global Clock Controller" + help + Support for global clock controller on ipq6018 devices. + Say Y if you want to use peripheral devices such as UART, SPI, + i2c, USB, SD/eMMC, etc. Select this for the root clock + of ipq6018. + config IPQ_GCC_806X tristate "IPQ806x Global Clock Controller" help
drivers/clk/qcom/Makefile +1 -0
@@ -20,6 +20,7 @@ clk-qcom-$(CONFIG_QCOM_GDSC) += gdsc.o obj-$(CONFIG_APQ_GCC_8084) += gcc-apq8084.o obj-$(CONFIG_APQ_MMCC_8084) += mmcc-apq8084.o obj-$(CONFIG_IPQ_GCC_4019) += gcc-ipq4019.o +obj-$(CONFIG_IPQ_GCC_6018) += gcc-ipq6018.o obj-$(CONFIG_IPQ_GCC_806X) += gcc-ipq806x.o obj-$(CONFIG_IPQ_GCC_8074) += gcc-ipq8074.o obj-$(CONFIG_IPQ_LCC_806X) += lcc-ipq806x.o
drivers/clk/qcom/gcc-ipq6018.c new file +4635 -0
2,979 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.7.4
Part of the diff is not shown here. View the raw message.
Re: [PATCH V2 2/2] clk: qcom: Add ipq6018 Global Clock Controller support
Quoting Sricharan R (2020-01-09 00:05:21)
Quoted 12 lines
This patch adds support for the global clock controller found on the ipq6018 based devices.
Also fixed the sparse warnings reported by,
Reported-by kbuild test robot <[email protected]>Co-developed-by Anusha Canchi Ramachandra Rao <[email protected]>Signed-off-by Anusha Canchi Ramachandra Rao <[email protected]>Co-developed-by Abhishek Sahu <[email protected]>Signed-off-by Abhishek Sahu <[email protected]>Co-developed-by Sivaprakash Murugesan <[email protected]>Signed-off-by Sivaprakash Murugesan <[email protected]>Signed-off-by Sricharan R <[email protected]>
Quoted 1 line
---
Applied to clk-next