[PATCH v2 0/5] Add support for LPASS Core and Audio Clock for SC7280

From: Taniya Das
Date: Mon Dec 20 2021 - 11:44:13 EST


[v2]
* Drop code for "Add support for clock voting from GDSC" from
drivers/clk/qcom/gdsc.c
* Add support for runtime PM get/put from clk_summary.
* Update commit message for PLL detect lock timeout increase.
* Fix documentation bindings errors reported by DT_CHECKER_FLAGS.
* Update the driver code to take care of the following
- KCONFIG to add "select QCOM_GDSC"
- Use of "const" for pll_vco and clk_init_data
- Use of index instead of fw_name.
- Fix extra space, remove 'lpass_create_pm_clks' and corresponding code.
- cleanup 'lpass_hm_core_probe' and 'lpass_hm_sc7280_match_table'.

[v1]
This patchset supports the following.
- Few PLLs might require to a higher time to detect lock, thus increase the
polling time.
- GDSC which require clocks to be explicitly enabled before access.
- LPASS core and audio clock driver support for SC7280.


Taniya Das (5):
clk: qcom: clk-alpha-pll: Increase PLL lock detect poll time
clk: Enable/Disable runtime PM for clk_summary
clk: qcom: gcc-sc7280: Mark gcc_cfg_noc_lpass_clk always enabled
dt-bindings: clock: Add YAML schemas for LPASS clocks on SC7280
clk: qcom: lpass: Add support for LPASS clock controller for SC7280

.../bindings/clock/qcom,sc7280-lpasscorecc.yaml | 169 +++++
drivers/clk/clk.c | 2 +
drivers/clk/qcom/Kconfig | 10 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/clk-alpha-pll.c | 2 +-
drivers/clk/qcom/gcc-sc7280.c | 2 +-
drivers/clk/qcom/lpassaudiocc-sc7280.c | 832 +++++++++++++++++++++
drivers/clk/qcom/lpasscorecc-sc7280.c | 433 +++++++++++
.../dt-bindings/clock/qcom,lpassaudiocc-sc7280.h | 43 ++
.../dt-bindings/clock/qcom,lpasscorecc-sc7280.h | 26 +
10 files changed, 1518 insertions(+), 2 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml
create mode 100644 drivers/clk/qcom/lpassaudiocc-sc7280.c
create mode 100644 drivers/clk/qcom/lpasscorecc-sc7280.c
create mode 100644 include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
create mode 100644 include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h

--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member
of the Code Aurora Forum, hosted by the Linux Foundation.