clk: qcom: Add MSM8976/56 Global Clock Controller (GCC) driver
PATCH 1/1 clk: qcom: Add MSM8976/56 Global Clock Controller (GCC) driver
Quoted 1 line
From
50465f2a4454625aac622bb84dbecdeaf5a50904Mon Sep 17 00:00:00 2001
From: "Angelo G. Del Regno" <[email protected]>
Date: Sat, 12 Jan 2019 10:52:18 +0100
Subject: [PATCH] clk: qcom: Add MSM8976/56 Global Clock Controller (GCC)
driver
Add support for the global clock controller found on MSM8976 and MSM8976 SoCs.
Since the multimedia clocks are actually in the GCC on these SoCs, this will allow drivers to probe and control basically all the required clocks.
--- .../devicetree/bindings/clock/qcom,gcc.txt | 1 + drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-msm8976.c | 4208 +++++++++++++++++ include/dt-bindings/clock/qcom,gcc-msm8976.h | 293 ++ 5 files changed, 4511 insertions(+) create mode 100644 drivers/clk/qcom/gcc-msm8976.c create mode 100644 include/dt-bindings/clock/qcom,gcc-msm8976.h
Documentation/devicetree/bindings/clock/qcom,gcc.txt +1 -0
@@ -15,6 +15,7 @@ Required properties : "qcom,gcc-msm8974" "qcom,gcc-msm8974pro" "qcom,gcc-msm8974pro-ac" + "qcom,gcc-msm8976" "qcom,gcc-msm8994" "qcom,gcc-msm8996" "qcom,gcc-msm8998"
drivers/clk/qcom/Kconfig +8 -0
@@ -189,6 +189,14 @@ config MSM_MMCC_8974 Say Y if you want to support multimedia devices such as display, graphics, video encode/decode, camera, etc. +config MSM_GCC_8976 + tristate "MSM8956/76 Global Clock Controller" + select QCOM_GDSC + help + Support for the global clock controller on msm8956/76 devices. + Say Y if you want to use peripheral devices such as UART, SPI, + i2c, USB, SD/eMMC, SATA, PCIe, etc. + config MSM_GCC_8994 tristate "MSM8994 Global Clock Controller" help
drivers/clk/qcom/Makefile +1 -0
@@ -29,6 +29,7 @@ obj-$(CONFIG_MSM_GCC_8660) += gcc-msm8660.o obj-$(CONFIG_MSM_GCC_8916) += gcc-msm8916.o obj-$(CONFIG_MSM_GCC_8960) += gcc-msm8960.o obj-$(CONFIG_MSM_GCC_8974) += gcc-msm8974.o +obj-$(CONFIG_MSM_GCC_8976) += gcc-msm8976.o obj-$(CONFIG_MSM_GCC_8994) += gcc-msm8994.o obj-$(CONFIG_MSM_GCC_8996) += gcc-msm8996.o obj-$(CONFIG_MSM_LCC_8960) += lcc-msm8960.o
drivers/clk/qcom/gcc-msm8976.c new file +4208 -0
2,972 lines not on this page · raw message
include/dt-bindings/clock/qcom,gcc-msm8976.h new file +293 -0
293 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.19.1
Part of the diff is not shown here. View the raw message.
Rob Herring
maintainerQuoted 5 lines · AngeloGioacchino Del Regno
From
50465f2a4454625aac622bb84dbecdeaf5a50904Mon Sep 17 00:00:00 2001
From: "Angelo G. Del Regno" <[email protected]>
Date: Sat, 12 Jan 2019 10:52:18 +0100
Subject: [PATCH] clk: qcom: Add MSM8976/56 Global Clock Controller (GCC)
driver
Looks like your patch is corrupted.
Quoted 7 lines
Add support for the global clock controller found on MSM8976 and MSM8976 SoCs.
Since the multimedia clocks are actually in the GCC on these SoCs, this will allow drivers to probe and control basically all the required clocks.
Quoted 7 lines
Signed-off-by Angelo G. Del Regno <[email protected]>--- .../devicetree/bindings/clock/qcom,gcc.txt | 1 + drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-msm8976.c | 4208 +++++++++++++++++ include/dt-bindings/clock/qcom,gcc-msm8976.h | 293 ++
The binding doc and this header should be in a separate patch.
Quoted 3 lines
5 files changed, 4511 insertions(+) create mode 100644 drivers/clk/qcom/gcc-msm8976.c create mode 100644 include/dt-bindings/clock/qcom,gcc-msm8976.h
Stephen Boyd
maintainerQuoting AngeloGioacchino Del Regno (2019-01-12 07:03:18)
Quoted 6 lines
From
50465f2a4454625aac622bb84dbecdeaf5a50904Mon Sep 17 00:00:00 2001
From: "Angelo G. Del Regno" <[email protected]>
Date: Sat, 12 Jan 2019 10:52:18 +0100
Subject: [PATCH] clk: qcom: Add MSM8976/56 Global Clock Controller (GCC)
driver
Quoted 7 lines
Add support for the global clock controller found on MSM8976 and MSM8976 SoCs.
Since the multimedia clocks are actually in the GCC on these SoCs, this will allow drivers to probe and control basically all the required clocks.Signed-off-by Angelo G. Del Regno <[email protected]>
Are you going to send out DTS bits and provide platform support? I'm not interested in merging the clk bits and then having to support a driver that never gets used.
Also, is this copy/pasted from some downstream kernel sources? Would be good to have a pointer to that so we can compare and see if you've changed anything.