[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210911121340.261920-1-marijn.suijten@somainline.org>
Date: Sat, 11 Sep 2021 14:13:32 +0200
From: Marijn Suijten <marijn.suijten@...ainline.org>
To: phone-devel@...r.kernel.org
Cc: ~postmarketos/upstreaming@...ts.sr.ht,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...ainline.org>,
Konrad Dybcio <konrad.dybcio@...ainline.org>,
Martin Botka <martin.botka@...ainline.org>,
Jami Kettunen <jami.kettunen@...ainline.org>,
Marijn Suijten <marijn.suijten@...ainline.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Taniya Das <tdas@...eaurora.org>,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/8] msm8998 clock-controller cleanup
Clean up the clock-controllers for msm8998 similar to sdm660 by:
- Using parent_data/hws for internal relations;
- Removing the "xo" fixed-factor clock that only existed for drivers
that rely on this global name (the DT only provides "xo_board");
- Using ARRAY_SIZE for num_parents instead of hardcoding array length;
- Removing unnecessary fallbacks to global names of parent clocks, these
are already specified in the DT;
- Updating DT-bindings to reflect the clocks used by gcc.
Note that this should land some time after [1] to give users time to
update their firmware (DT) before updating the kernel. Additionally [2]
should make it in before DSI PLL nodes are added.
[1]: https://lore.kernel.org/linux-arm-msm/20210911120101.248476-1-marijn.suijten@somainline.org/
[2]: https://lore.kernel.org/linux-arm-msm/20210830182445.167527-2-marijn.suijten@somainline.org/
Marijn Suijten (8):
clk: qcom: gcc-msm8998: Move parent names and mapping below GPLLs
clk: qcom: gcc-msm8998: Use parent_data/hws for internal clock
relations
clk: qcom: gcc-msm8998: Remove transient global "xo" clock
clk: qcom: gpucc-msm8998: Use ARRAY_SIZE for num_parents
clk: qcom: mmcc-msm8998: Use ARRAY_SIZE for num_parents
dt-bindings: clocks: qcom,gcc-msm8998: Reflect actually referenced
clks
clk: qcom: gpucc-msm8998: Remove unnecessary fallbacks to global
clocks
clk: qcom: mmcc-msm8998: Remove unnecessary fallbacks to global clocks
.../bindings/clock/qcom,gcc-msm8998.yaml | 26 +-
drivers/clk/qcom/gcc-msm8998.c | 705 ++++++++++--------
drivers/clk/qcom/gpucc-msm8998.c | 13 +-
drivers/clk/qcom/mmcc-msm8998.c | 183 +++--
4 files changed, 475 insertions(+), 452 deletions(-)
--
2.33.0
Powered by blists - more mailing lists