Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1298459
| From | Bjorn Andersson <bjorn@kryo.se> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 1/6] clk: qcom: Add support for SMD-RPM Clocks |
| Date | 2015-12-28 03:50 +0100 |
| Message-ID | <qKw3e-3Io-637@gated-at.bofh.it> (permalink) |
| References | <qBCK6-6bi-3@gated-at.bofh.it> <qBCK6-6bi-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu 03 Dec 06:02 PST 2015, Georgi Djakov wrote: > This adds initial support for clocks controlled by the Resource > Power Manager (RPM) processor on some Qualcomm SoCs, which use > the qcom_smd_rpm driver to communicate with RPM. > Such platforms are msm8916, apq8084 and msm8974. > > The RPM is a dedicated hardware engine for managing the shared > SoC resources in order to keep the lowest power profile. It > communicates with other hardware subsystems via shared memory > and accepts clock requests, aggregates the requests and turns > the clocks on/off or scales them on demand. > > This driver is based on the codeaurora.org driver: > https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/drivers/clk/qcom/clock-rpm.c > > Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Hi Georgi, I added the 8974 clocks to this to make the WNCSS core happy (need CXO_A2 for XO calibration), but I have a few issues: *) msm_serial acquires a handle to GCC_BLSP1_UART2_APPS_CLK which is parented by "xo"; the clock framework returns a clock, as the gcc driver is probed, but as the rpmcc driver isn't probed clk_get_rate() returns 0. Do you have any patches in your tree to fix the ordering or making the clk_get() implement probe deferral in this case? *) If I let the code call clk_smd_rpm_enable_scaling() my eMMC becomes very unstable, with a rather high occurrence of timeouts during boot (like 80% of boots fail to mount my rootfs). Part of these (unrelated to your code) issues I think this looks good, and hacking around these two issues allows me to get CXO_A2 ticking :) Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v5 1/6] clk: qcom: Add support for SMD-RPM Clocks Bjorn Andersson <bjorn@kryo.se> - 2015-12-28 03:50 +0100
csiph-web