linux/drivers/clk/qcom
Konrad Dybcio b594e6f660 clk: qcom: branch: Add helper functions for setting retain bits
Most Qualcomm branch clocks come with a pretty usual set of bits that
can enable memory retention by means of not turning off parts of the
memory logic. Add them to the common header file and introduce helper
functions for setting them instead of using magic writes.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230208091340.124641-2-konrad.dybcio@linaro.org
2023-03-13 12:59:44 -07:00
..
a7-pll.c clk: qcom: a7-pll: Add missing MODULE_DEVICE_TABLE 2021-04-09 11:20:52 -07:00
a53-pll.c clk: qcom: a53-pll: convert to use parent_data rather than parent_names 2022-09-13 16:49:15 -05:00
apcs-msm8916.c clk: qcom: Convert to platform remove callback returning void 2023-03-13 05:41:06 -07:00
apcs-msm8996.c clk: qcom: apcs-msm8986: Include bitfield.h for FIELD_PREP 2023-02-22 17:38:56 -08:00
apcs-sdx55.c clk: qcom: Convert to platform remove callback returning void 2023-03-13 05:41:06 -07:00
apss-ipq6018.c clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical 2022-09-26 21:40:10 -05:00
apss-ipq-pll.c clk: qcom: apss-ipq-pll: add support for IPQ8074 2022-09-26 21:40:11 -05:00
camcc-sc7180.c clk: qcom: camcc-sc7180: use parent_hws instead of parent_data 2022-02-10 18:33:30 -06:00
camcc-sc7280.c clk: qcom: camcc-sc7280: switch to parent_hws 2023-01-10 15:58:59 -06:00
camcc-sdm845.c clk: qcom: Revert sync_state based clk_disable_unused 2023-02-22 06:34:08 -08:00
camcc-sm6350.c clk: qcom: camcc-sm6350: Make camcc_sm6350_hws static 2023-01-11 13:35:17 -06:00
camcc-sm8250.c clk: qcom: camcc-sm8250: Fix topology around titan_top power domain 2022-06-30 18:34:55 -05:00
camcc-sm8450.c clk: qcom: camcc-sm8450: switch to parent_hws 2023-01-10 15:58:59 -06:00
clk-alpha-pll.c clk: qcom: clk-alpha-pll: program PLL_TEST/PLL_TEST_U if required 2023-01-18 21:06:51 -06:00
clk-alpha-pll.h clk: qcom: clk-alpha-pll: define alias of LUCID OLE reset ops to EVO reset ops 2023-01-10 12:19:19 -06:00
clk-branch.c
clk-branch.h clk: qcom: branch: Add helper functions for setting retain bits 2023-03-13 12:59:44 -07:00
clk-cbf-8996.c clk: qcom: add msm8996 Core Bus Framework (CBF) support 2023-02-08 16:12:29 -08:00
clk-cpu-8996.c clk: qcom: cpu-8996: add missing cputype include 2023-02-08 16:13:16 -08:00
clk-hfpll.c clk: qcom: clk-hfpll: use poll_timeout macro 2022-06-27 15:41:37 -05:00
clk-hfpll.h
clk-krait.c clk: qcom: clk-krait: fix wrong div2 functions 2022-12-01 17:26:37 -06:00
clk-krait.h clk: qcom: clk-krait: add apq/ipq8064 errata workaround 2022-06-27 15:41:37 -05:00
clk-pll.c
clk-pll.h
clk-rcg2.c Merge branch 'clk-rate-range' into clk-next 2022-10-14 13:44:44 -07:00
clk-rcg.c clk: qcom: clk-rcg: add clk_rcg_floor_ops ops 2022-03-08 16:19:31 -06:00
clk-rcg.h clk: qcom: clk-rcg2: add rcg2 mux ops 2022-09-26 21:40:10 -05:00
clk-regmap-divider.c
clk-regmap-divider.h
clk-regmap-mux-div.c
clk-regmap-mux-div.h
clk-regmap-mux.c Revert "clk: qcom: regmap-mux: add pipe clk implementation" 2022-05-23 12:26:13 -05:00
clk-regmap-mux.h Revert "clk: qcom: regmap-mux: add pipe clk implementation" 2022-05-23 12:26:13 -05:00
clk-regmap-phy-mux.c clk: qcom: regmap: add PHY clock source implementation 2022-06-25 21:36:07 -05:00
clk-regmap-phy-mux.h clk: qcom: regmap: add PHY clock source implementation 2022-06-25 21:36:07 -05:00
clk-regmap.c clk: qcom: clk-regmap: Provide missing description for 'devm_clk_register_regmap()'s dev param 2021-02-10 19:42:51 -08:00
clk-regmap.h clk: define to_clk_regmap() as inline function 2020-10-28 16:34:44 -07:00
clk-rpm.c clk: qcom: Convert to platform remove callback returning void 2023-03-13 05:41:06 -07:00
clk-rpmh.c clk: qcom: rpmh: remove duplicate IPA clock reference 2023-01-17 11:19:02 -06:00
clk-smd-rpm.c clk: qcom: smd-rpm: provide RPM_SMD_XO_CLK_SRC on MSM8996 platform 2023-02-08 16:13:16 -08:00
clk-spmi-pmic-div.c clk: qcom: clk-spmi-pmic-div: convert to use parent_data 2023-01-10 22:12:18 -06:00
common.c clk: qcom: regmap-mux: fix parent clock lookup 2021-12-02 15:07:34 -08:00
common.h clk: qcom: regmap-mux: fix parent clock lookup 2021-12-02 15:07:34 -08:00
dispcc-qcm2290.c clk: qcom: dispcc-qcm2290: get rid of test clock 2023-01-10 22:44:29 -06:00
dispcc-sc7180.c clk: qcom: dispcc-sc7180: switch to parent_hws 2023-01-10 15:58:59 -06:00
dispcc-sc7280.c clk: qcom: dispcc: Update the transition delay for MDSS GDSC 2022-02-24 16:22:11 -08:00
dispcc-sc8280xp.c clk: qcom: Revert sync_state based clk_disable_unused 2023-02-22 06:34:08 -08:00
dispcc-sdm845.c clk: qcom: Revert sync_state based clk_disable_unused 2023-02-22 06:34:08 -08:00
dispcc-sm6115.c clk: qcom: dispcc-sm6115: use parent_hws for disp_cc_mdss_rot_clk 2023-01-10 22:10:51 -06:00
dispcc-sm6125.c clk: qcom: dispcc-sm6125: Fix compatible string to match bindings 2022-12-29 10:57:25 -06:00
dispcc-sm6350.c clk: qcom: dispcc-sm6350: Add CLK_OPS_PARENT_ENABLE to pixel&byte src 2022-11-05 22:21:59 -05:00
dispcc-sm6375.c clk: qcom: dispcc-sm6375: switch to parent_hws 2023-01-10 15:58:59 -06:00
dispcc-sm8250.c clk: qcom: dispcc-sm8250: switch to devm_pm_runtime_enable 2023-01-10 22:05:08 -06:00
dispcc-sm8450.c clk: qcom: dispcc-sm8450: switch to devm_pm_runtime_enable 2023-01-10 22:05:08 -06:00
dispcc-sm8550.c clk: qcom: add SM8550 DISPCC driver 2023-01-10 12:19:19 -06:00
gcc-apq8084.c clk: qcom: gcc-apq8084: add GCC_MMSS_GPLL0_CLK_SRC 2023-01-18 18:27:35 -06:00
gcc-ipq806x.c clk: qcom: gcc-ipq806x: use parent_data for the last remaining entry 2022-11-05 21:47:56 -05:00
gcc-ipq4019.c clk: qcom: gcc-ipq4019: switch to devm_clk_notifier_register 2022-12-05 17:08:20 -06:00
gcc-ipq6018.c clk: qcom: Add ipq6018 Global Clock Controller support 2020-01-09 12:42:55 -08:00
gcc-ipq8074.c clk: qcom: ipq8074: populate fw_name for usb3phy-s 2023-01-18 18:08:09 -06:00
gcc-mdm9607.c clk/qcom: Remove unused variables 2021-06-27 17:04:48 -07:00
gcc-mdm9615.c
gcc-msm8660.c clk: qcom: gcc-msm8660: Drop hardcoded fixed board clocks 2022-10-14 13:39:09 -07:00
gcc-msm8909.c clk: qcom: gcc-msm8909: Increase delay for USB PHY reset 2022-09-13 22:07:25 -05:00
gcc-msm8916.c clk: qcom: gcc-msm8916: use parent_hws/_data instead of parent_names 2022-08-29 15:42:54 -05:00
gcc-msm8939.c clk: qcom: gcc-msm8939: switch to parent_hws 2023-01-10 15:58:59 -06:00
gcc-msm8953.c clk: qcom: Remove redundant .owner 2021-10-07 18:24:40 -07:00
gcc-msm8960.c clk: qcom: Convert to platform remove callback returning void 2023-03-13 05:41:06 -07:00
gcc-msm8974.c clk: qcom: gcc-msm8974: switch from sleep_clk_src to sleep_clk 2023-01-10 22:47:42 -06:00
gcc-msm8976.c clk: qcom: gcc-msm8976: switch to parent_hws 2023-01-10 15:58:59 -06:00
gcc-msm8994.c clk: qcom: gcc-msm8994: use parent_hws for gpll0/4 2022-07-18 21:40:36 -05:00
gcc-msm8996.c clk: qcom: gcc-msm8996: start getting rid of xo clk 2022-02-10 18:33:31 -06:00
gcc-msm8998.c clk: qcom: gcc-msm8998: get rid of test clock 2023-01-10 22:44:29 -06:00
gcc-qcm2290.c clk: qcom: Merge alt alpha plls for qcm2260, sm6115 2022-09-26 22:18:14 -05:00
gcc-qcs404.c clk: qcom: gcc-qcs404: fix duplicate initializer warning 2023-01-30 08:41:06 -06:00
gcc-qdu1000.c clk: qcom: Add QDU1000 and QRU1000 GCC support 2023-01-18 20:47:08 -06:00
gcc-sa8775p.c clk: qcom: gcc-sa8775p: remove unused variables 2023-02-08 16:13:16 -08:00
gcc-sc7180.c clk: qcom: gcc-sc7180: get rid of test clock 2023-01-10 22:44:29 -06:00
gcc-sc7280.c clk: qcom: gcc-sc7280: switch to parent_hws 2023-01-10 15:58:59 -06:00
gcc-sc8180x.c clk: qcom: gcc-sc8180x: use ARRAY_SIZE instead of specifying num_parents 2021-04-07 17:25:52 -07:00
gcc-sc8280xp.c clk: qcom: Revert sync_state based clk_disable_unused 2023-02-22 06:34:08 -08:00
gcc-sdm660.c clk: qcom: gcc-sdm660: Use floor ops for SDCC1 clock 2022-08-29 15:55:57 -05:00
gcc-sdm845.c clk: qcom: Revert sync_state based clk_disable_unused 2023-02-22 06:34:08 -08:00
gcc-sdx55.c clk: qcom: gcc-sdx55: get rid of test clock 2023-01-10 22:44:29 -06:00
gcc-sdx65.c clk: qcom: gcc-sdx65: switch to parent_hws 2023-01-10 15:58:59 -06:00
gcc-sm6115.c clk: qcom: gcc-sm6115: Use floor_ops for SDCC1/2 core clk 2022-12-27 21:26:16 -06:00
gcc-sm6125.c clk: qcom: gcc-sm6125: Remove gpll7 from sdcc2_apps 2022-11-05 22:01:30 -05:00
gcc-sm6350.c clk: qcom: gcc-sm6350: Update the .pwrsts for usb gdscs 2022-09-29 11:42:11 -05:00
gcc-sm6375.c clk: qcom: gcc-sm6375: use parent_hws for gcc_disp_gpll0_div_clk_src 2023-01-10 22:10:51 -06:00
gcc-sm8150.c clk: gcc-sm8150: drop PLL test clock 2023-01-10 22:43:01 -06:00
gcc-sm8250.c clk: qcom: gcc-sm8250: switch to parent_hws 2023-01-10 15:59:00 -06:00
gcc-sm8350.c clk: gcc-sm8350: drop PLL test clock 2023-01-10 22:43:01 -06:00
gcc-sm8450.c clk: qcom: gcc-sm8450: switch to parent_hws 2023-01-10 15:59:00 -06:00
gcc-sm8550.c clk: qcom: gcc-sm8550: switch to parent_hws 2023-01-10 15:59:00 -06:00
gdsc.c clk: qcom: gdsc: Support 'synced_poweroff' genpd flag 2023-01-10 11:07:10 -06:00
gdsc.h clk: qcom: gdsc: Remove direct runtime PM calls 2022-11-04 11:53:49 -07:00
gpucc-msm8998.c clk: qcom: gpucc-msm8998: switch to parent_hws 2023-01-10 16:02:29 -06:00
gpucc-sc7180.c clk: qcom: gpucc-sc7180: fix clk_dis_wait being programmed for CX GDSC 2023-02-08 17:48:55 -08:00
gpucc-sc7280.c clk: qcom: Update the force mem core bit for GPU clocks 2022-10-27 17:23:29 -07:00
gpucc-sc8280xp.c clk: qcom: Add SC8280XP GPU clock controller 2022-09-27 12:07:30 -05:00
gpucc-sdm660.c clk: qcom: gpucc-sdm660: use parent_hws instead of parent_data 2022-02-10 18:33:30 -06:00
gpucc-sdm845.c clk: qcom: Revert sync_state based clk_disable_unused 2023-02-22 06:34:08 -08:00
gpucc-sm6350.c clk: qcom: Add GPU clock controller driver for SM6350 2022-03-08 16:16:47 -06:00
gpucc-sm8150.c clk: qcom: gpucc-sm8150: Add SC8180x support 2021-08-05 18:50:43 -07:00
gpucc-sm8250.c clk: qcom: gpucc-sm8250: use parent_hws where possible 2021-04-07 17:22:54 -07:00
gpucc-sm8350.c clk: qcom: fix build error initializer element is not constant 2022-07-16 21:35:55 -05:00
hfpll.c clk: qcom: hfpll: use devm_platform_get_and_ioremap_resource() 2022-12-01 17:26:40 -06:00
Kconfig clk: qcom: Add QDU1000 and QRU1000 GCC support 2023-01-18 20:47:08 -06:00
kpss-xcc.c clk: qcom: kpss-xcc: register it as clk provider 2022-12-01 17:26:36 -06:00
krait-cc.c clk: qcom: krait-cc: fix wrong pointer passed to IS_ERR() 2023-01-10 09:29:02 -06:00
lcc-ipq806x.c clk: qcom: lcc-ipq806x: use ARRAY_SIZE for num_parents 2022-09-26 11:18:56 -05:00
lcc-mdm9615.c
lcc-msm8960.c clk: qcom: lcc-msm8960: use parent_hws/_data instead of parent_names 2022-09-13 21:58:34 -05:00
lpass-gfm-sm8250.c clk: qcom: use devm_pm_runtime_enable and devm_pm_clk_create 2021-08-26 11:28:11 -07:00
lpassaudiocc-sc7280.c clk: qcom: lpass-sc7280: Fix pm_runtime usage 2022-12-01 17:26:13 -06:00
lpasscc-sc7280.c clk: qcom: lpasscc-sc7280: switch to devm_pm_runtime_enable 2023-01-10 22:05:08 -06:00
lpasscc-sdm845.c clk: qcom: lpasscc-sdm845: explicitly include clk-provider.h 2021-12-20 23:14:50 -06:00
lpasscorecc-sc7180.c clk: qcom: lpasscc-sc7180: switch to parent_hws 2023-01-10 22:05:08 -06:00
lpasscorecc-sc7280.c clk: qcom: lpass: Add support for resets & external mclk for SC7280 2022-09-13 09:48:30 -05:00
Makefile clk: qcom: add msm8996 Core Bus Framework (CBF) support 2023-02-08 16:12:29 -08:00
mmcc-apq8084.c clk: qcom: mmcc-apq8084: use parent_hws/_data instead of parent_names 2023-01-18 18:27:35 -06:00
mmcc-msm8960.c clk: qcom: mmcc-msm8960: use parent_hws/_data instead of parent_names 2022-09-13 21:58:35 -05:00
mmcc-msm8974.c clk: qcom: mmcc-msm8974: use parent_hws/_data instead of parent_names 2022-12-06 12:26:57 -06:00
mmcc-msm8994.c clk: qcom: mmcc-msm8994: Add MSM8992 support 2021-08-26 11:58:17 -07:00
mmcc-msm8996.c clk: qcom: mmcc-msm8996: use parent_hws/_data instead of parent_names 2022-06-25 15:18:15 -05:00
mmcc-msm8998.c clk: qcom: mmcc-msm8998: get rid of test clock 2023-01-10 22:44:53 -06:00
mmcc-sdm660.c clk: qcom: mmcc-sdm660: Add hw_ctrl flag to venus_core0_gdsc 2021-10-13 15:20:24 -07:00
mss-sc7180.c clk: qcom: use devm_pm_runtime_enable and devm_pm_clk_create 2021-08-26 11:28:11 -07:00
q6sstop-qcs404.c clk: qcom: q6sstop-qcs404: explicitly include clk-provider.h 2021-12-20 23:14:50 -06:00
reset.c clk: qcom: reset: support resetting multiple bits 2022-12-01 17:26:35 -06:00
reset.h clk: qcom: reset: support resetting multiple bits 2022-12-01 17:26:35 -06:00
tcsrcc-sm8550.c clk: qcom: Add TCSR clock driver for SM8550 2023-01-06 11:10:37 -06:00
turingcc-qcs404.c clk: qcom: turingcc-qcs404: explicitly include clk-provider.h 2021-12-20 23:14:50 -06:00
videocc-sc7180.c clk: qcom: videocc-sc7180: use parent_hws instead of parent_data 2022-02-10 18:33:31 -06:00
videocc-sc7280.c clk: qcom: Add video clock controller driver for SC7280 2021-07-20 13:46:32 -07:00
videocc-sdm845.c clk: qcom: videocc-sdm845: get rid of the test clock 2021-04-07 17:22:53 -07:00
videocc-sm8150.c clk: qcom: videocc-sm8150: use parent_hws where possible 2021-04-07 17:22:54 -07:00
videocc-sm8250.c clk: qcom: videocc-sm8250: switch to devm_pm_runtime_enable 2023-01-10 22:05:09 -06:00