Luca Weiss
8c6481b738
clk/qcom: sc7280: Fix variable name of msm_clk_data
...
Update the variable name to sc7280_gcc_data as it's in the sc7280
driver.
Fixes: f50e7be6bb ("clk/qcom: add initial clock driver for sc7280")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com >
Reviewed-by: Casey Connolly <casey.connolly@linaro.org >
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com >
Link: https://lore.kernel.org/r/20250611-qcom-clk-variable-names-v1-1-37615b74daad@fairphone.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org >
2025-06-24 07:54:51 -06:00
Caleb Connolly
2c1462e38b
clk/qcom: sc7280: add missing UFS and MMC clocks
...
These are all usually enabled, hence we don't (yet) bother configuring
their RCG src clocks.
Add them to remove the errors about missing clocks when the UFS and MMC
drivers probe.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20250317-sc7280-mmc-ufs-clocks-v1-2-38e05c16511b@linaro.org
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org >
2025-04-10 15:43:10 +02:00
Caleb Connolly
1a28852467
clk/qcom: sc7280: add GENI, PCIe, and more USB clocks
...
Add support for a bunch of new clocks, including PCIe, GENI (for all
peripherals used on the RB3 Gen 2), and some missing USB clocks.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20250314-sc7280-more-clocks-v1-3-ead54487c38e@linaro.org
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org >
2025-03-17 15:12:23 +00:00
Caleb Connolly
f305f33fad
clk/qcom: sc7280: add some debug data
...
Dump a few PCIe and USB clocks
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20250314-sc7280-more-clocks-v1-2-ead54487c38e@linaro.org
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org >
2025-03-17 15:12:20 +00:00
Caleb Connolly
7c5460afec
clk/qcom: bubble up qcom_gate_clk_en() errors
...
If we try to enable a gate clock that doesn't exist, we used to just
fail silently. This may make sense for early bringup of some core
peripherals that we know are already enabled, but it only makes
debugging missing clocks more difficult.
Bubble up errors now that qcom_gate_clk_en() can return an error code to
catch any still-missing clocks and make it easier to find missing ones
as more complicated peripherals are enabled.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20250314-sc7280-more-clocks-v1-1-ead54487c38e@linaro.org
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org >
2025-03-17 15:12:15 +00:00
Caleb Connolly
f50e7be6bb
clk/qcom: add initial clock driver for sc7280
...
We don't actually need any clocks to get UFS up and running, resets are
useful though.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Reviewed-by: Simon Glass <sjg@chromium.org >
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org >
2024-09-06 10:47:46 +02:00