Message ID | 20210612204317.11691-1-konrad.dybcio@somainline.org |
---|---|
State | New |
Headers | show |
Series | [v2,1/2] dt-bindings: clock: qcom,gcc: Document MSM8976 compatibles | expand |
On Sat, Jun 12, 2021 at 10:43:16PM +0200, Konrad Dybcio wrote: > From: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> > > Add support for the global clock controller found on MSM8956 > 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: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> > Co-developed-by: Marijn Suijten <marijn.suijten@somainline.org> > Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> > Co-developed-by: Konrad Dybcio <konrad.dybcio@somainline.org> > Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> > --- > Changes since v1: > - Remove the bool in probe function > - Clean up ".name =" clk lookup > - Add a comment under gpll0_vote clarifying that it's crucial > - Removed CLK_GET_RATE_NOCACHE from display clocks, it still works \o/ > > drivers/clk/qcom/Kconfig | 8 + > drivers/clk/qcom/Makefile | 1 + > drivers/clk/qcom/gcc-msm8976.c | 4173 ++++++++++++++++++ > include/dt-bindings/clock/qcom,gcc-msm8976.h | 243 + This belongs in the binding patch and dual license it please. > 4 files changed, 4425 insertions(+) > create mode 100644 drivers/clk/qcom/gcc-msm8976.c > create mode 100644 include/dt-bindings/clock/qcom,gcc-msm8976.h
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc.yaml index 490edad25830..c5fbe9ab0097 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gcc.yaml @@ -45,6 +45,8 @@ properties: - qcom,gcc-msm8939 - qcom,gcc-msm8960 - qcom,gcc-msm8974 + - qcom,gcc-msm8976 + - qcom,gcc-msm8976-v1.1 - qcom,gcc-msm8974pro - qcom,gcc-msm8974pro-ac - qcom,gcc-msm8994