Commit Graph

159 Commits

Author SHA1 Message Date
Pushkar Joshi 1705f69114 clk: qcom: clock-mmss-8992: Support multiple parents for byte/pixel clocks
Add additional parents for the pixel and byte clocks as these can now
switch between those. Also export the sources for the byte and pixel
clocks so that clients can switch between the parents for the relevant
RCGs.

Change-Id: I4e1430778dae4a0b77ecc81836b23b6f8c841197
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2015-05-05 16:49:00 -07:00
Pushkar Joshi 44028e400d clk: qcom: clock-mmss-8994: Support multiple parents for byte/pixel clocks
Add additional parents for the pixel and byte clocks as these can now
switch between those. Also export the sources for the byte and pixel
clocks so that clients can switch between the parents for the relevant
RCGs.

Change-Id: If2c7fe4f12c6ad5a15f13acf71d6dc296b57b665
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2015-05-05 16:49:00 -07:00
Vikram Mulukutla 297beb826b qcom: clock-rpm-8994: Switch modem pnoc vote to an exclusive voter
Switch the clock used for the proxy vote (on the PNOC bus) to
be an exclusive voter, so that other votes do not interfere.

Change-Id: I96dd39c7cc64fac69ea2ae8d6bf4a20c0f912527
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
2015-03-04 14:16:05 -08:00
Pushkar Joshi 3e0f747e7b clk: qcom: clock-8992: Fix hash value for pnoc_modem_clk
The pnoc_modem_clk had the incorrect md5 hash. Fix it.

Change-Id: I72f773d6f37f1310b24f1db031d38b0850988761
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2015-03-03 18:27:16 -08:00
Huaibin Yang 5cf2dbcc7b clk: qcom: mdss: add mdss shadow DSI 20nm pll clock for msm8992
Add support for shadow DSI PLL implementation for 20nm PLL to handle
dynamic refresh feature.

Change-Id: Ic857aca3ddec6febcf76c0ee73e90964017fd81b
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
2015-02-25 23:53:16 -08:00
Linux Build Service Account 6c7fdc7236 Merge "clk: qcom: clock-8992: Move gcc_mss_cfg_ahb_clk control to RPM" 2015-02-10 08:10:45 -08:00
Linux Build Service Account b5eb5cff13 Merge "clk: qcom: 8939: Add support for oxili_timer_clk" 2015-02-10 02:28:26 -08:00
Pushkar Joshi e0b1f91bc8 clk: qcom: clock-8992: Move gcc_mss_cfg_ahb_clk control to RPM
The RPM needs to control the mss_cfg_ahb_clk so that CNOC DCD can
be enabled for MSM8992.

Change-Id: Ibead166bf649983dad115f65da87371c180b4a4d
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2015-02-09 10:52:07 -08:00
Alok Chauhan 1ceca4e893 ARM: dts: msm: Introduce bus topology for msmtellurium
Introduce bus topology for msmtellurium. This is a representation
of the bus connections in the SOC and allows the bus driver
to setup bandwidth requests from clients for the paths desired.

Change-Id: I73e74df29b45f4d95be630c017117b8992c8003a
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
2015-02-06 09:32:25 +05:30
Taniya Das 5ba013dec3 qcom: clk: clock-a7: Introduce device tree lookup for cpu clock
Register using the function of_msm_clock_register that registers a clock
provider with the clock of framework.

Change-Id: I632936ef3f033dd80f93d469d4d921a75ef8e16b
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2015-02-04 22:02:29 -08:00
Tianyi Gou 05a1fc9fed clk: qcom: 8939: Add support for oxili_timer_clk
The gfx driver needs to control the oxili_timer_clk. Add
the support in this change.

Change-Id: I9582c7370f6713828bb010ffb996573f25528657
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2015-01-30 18:10:58 -08:00
Linux Build Service Account 688cb96f01 Merge "clk: qcom: clock-gcc-fsm9010: Initial clock driver" 2015-01-28 22:59:49 -08:00
Venkatesh Yadav Abbarapu 35c46715e9 clk: qcom: clock-gcc-fsm9010: Initial clock driver
Add clock driver support for fsm9010 target.

Change-Id: I3154687c29e927aa814878d1445afa7b935f081f
Acked-by: Kaushik Sikdar <ksikdar@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
2015-01-27 10:11:41 +05:30
Tianyi Gou a4108d42a2 ARM: dts: msm: Merge RPM clocks with GCC clock controller on MDM9640
In HW, the rpm clocks reside in the GCC clock controller.
The separation of rpm and gcc clocks is from SW perspective.
However, this separation is not required for the clock
definition. So merge the rpm clocks with the GCC clock
controller.

Change-Id: I0be67855fc67c9d4016cdd8f11c174018855d14d
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2015-01-21 12:33:26 -08:00
Linux Build Service Account 06b70a92ab Merge "clk: qcom: clock-gcc-tellurium: Add reset clock register for usb_fs" 2015-01-20 08:13:27 -08:00
Linux Build Service Account 70ff4dcd57 Merge "ARM: dts: msm: Export axi sleep clocks for MDM9640" 2015-01-06 02:46:20 -08:00
Tianyi Gou 0290d89224 ARM: dts: msm: Export axi sleep clocks for MDM9640
The apss_axi_clk and bimc_apss_axi_clk needs to be gated
on/off during power collapse. Therefore, export their handles
to allow pm driver control them and also make them not always
on clocks.

Change-Id: Ic514aa02888820d87bc516d61193b9caeb52af6f
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2015-01-05 17:06:52 -08:00
Arun KS 74b710bb4e clk: qcom: clock-gcc-tellurium: Add reset clock register for usb_fs
This enables clock reset feature so that clock consumers driver
can call clk_reset.

Change-Id: I7945b4bb740164d7c8b2b8696f67d2a259d3e7f7
Signed-off-by: Arun KS <arunks@codeaurora.org>
2015-01-02 14:24:44 +05:30
Girish Mahadevan 855f769218 msm: msm_bus: Add NoC limiter and regulator mode for adhoc driver
Add the ability to switch NoC masters to be in limiter and regulator mode
for the adhoc bus driver. These modes offer differing degrees of
throttling the io traffic from NoC master ports if needed.

Change-Id: If2f868430ebccff1a11aad7d90fa5b352ea2c876
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2014-12-29 20:25:08 -07:00
Linux Build Service Account 0c35e77d6c Merge "msm: clocks: Add blsp1_uart3 clock for fsm9010" 2014-12-29 14:30:01 -08:00
Arun KS 8ddb1e85b3 clk: qcom: clock-gcc-tellurium: Add support for A53PLLs
Big cluster uses HFPLL as clock source.
Little cluster and CCI use SR2PLL as clock source.

Change-Id: Iaf990f0e0f360b3ccac2162584fc286e5b7a54ca
Signed-off-by: Arun KS <arunks@codeaurora.org>
2014-12-29 21:06:30 +05:30
Rajkumar Raghupathy e2396dbf71 clk: qcom: clock-gcc-tellurium: Add support for lpass pil xo clock
The xo_pil_lpass_clk clock is required to support lpass pil.

Change-Id: Iea86af0de02537e89b6b2384aad0035eb30a14de
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
2014-12-23 18:21:07 +05:30
Venkatesh Yadav Abbarapu d7be04f92e msm: clocks: Add blsp1_uart3 clock for fsm9010
UART3 will be used as a console in FSM9010 targets.

Change-Id: I1f9307cdd76f8541ae3b9c3b579c310542e8f2ba
Acked-by: Kaushik Sikdar <ksikdar@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
2014-12-19 18:18:53 +05:30
Taniya Das 33e913a619 msm: clock-gcc: Add support for QOS ref clock
This is a control register to generate the QOS signal from XO/4
clock. Add a gate clock to allow enable/disable of the clock.

Change-Id: Ifa63e235bc057bb1746b7cee3a92957631dbc859
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-12-18 11:28:57 +05:30
Linux Build Service Account 12489dbf54 Merge "clk: qcom: clock-gcc-tellurium: Add rpm and gcc clocks" 2014-12-12 08:49:37 -08:00
Linux Build Service Account 76b175f95d Merge "ARM: dts: msm: vp-ipa simulation dts" 2014-12-11 15:04:37 -08:00
Arun KS b4fc063937 clk: qcom: clock-gcc-tellurium: Add rpm and gcc clocks
Add support for rpm and gcc clocks according to the
hardware and software clock plan for msmtellurium.

Change-Id: I60c17bf6af7fefe7c727cc7bd7007a8e62634882
Signed-off-by: Arun KS <arunks@codeaurora.org>
2014-12-11 10:09:35 +05:30
Linux Build Service Account a4f1be7c76 Merge "qcom: clock-rpm-8992: switch modem pnoc vote to an exclusive voter" 2014-12-09 20:45:29 -08:00
Gidon Studinski 4a6e3ea14a ARM: dts: msm: vp-ipa simulation dts
Create new dts for IPA off-target regression and development, dedicated
to the vp simulation.


Change-Id: I17a9f3ab53c62015330f6dbf56e4547e36ec0c79
Acked-by: Shay Baram <sbaram@qti.qualcomm.com>
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
2014-12-09 13:35:53 +02:00
Pushkar Joshi 84ba734532 qcom: clock-rpm-8992: switch modem pnoc vote to an exclusive voter
Switch the clock used for the proxy vote (on the pnoc bus) to be
an exclusive voter, so that other votes do not interfere.

Change-Id: I168ed65441950536d27f7f9134bd74ed74ad9324
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2014-12-06 13:03:10 -08:00
Pushkar Joshi 3ad0409b2a msm: clock-8992: Remove ce3 clock
There is no ce3 clock on MSM8992 so remove the same.

Change-Id: I9588d28f6595d33a6b0ed69bf7332342d0aea90d
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2014-12-05 10:49:53 -08:00
Linux Build Service Account 79e4d41111 Merge "msm: clocks: Update usb clock list for fsm9010" 2014-12-03 16:31:36 -08:00
Linux Build Service Account 3b4821ed52 Merge "clk: qcom: mdss: Add 8992 to 20nm pll supported devices" 2014-12-02 17:40:32 -08:00
Linux Build Service Account 496885503c Merge "msm: msm_bus: Introduce new debug module to set bus clocks" 2014-12-02 17:40:01 -08:00
Venkatesh Yadav Abbarapu ed07bea42e msm: clocks: Update usb clock list for fsm9010
Add clocks required by usb3 driver. FSM9010 targets must support usb3.

Change-Id: Iab68ec922aaf4d6c8ced49198fb81d7a18176358
Acked-by: Kaushik Sikdar <ksikdar@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
2014-12-02 09:54:39 +05:30
Girish Mahadevan 202ac7bbb9 msm: msm_bus: Introduce new debug module to set bus clocks
Introduce a new module to allow clients to set a floor vote on bus clocks
either using an API or via sysfs interface. Clients are still always
recommended to use standard bus scaling APIs , these new APIs are a debug
feature and a meant for debugging system performance issues.

Change-Id: I7688e391413c23d9024a7b525f60c90f317d0847
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2014-12-01 16:12:35 -07:00
Linux Build Service Account 1c5e5b17c9 Merge "qcom: clock-cpu-8994: Add support for MSM8992" 2014-11-26 22:28:21 -08:00
Jeykumar Sankaran 0f9b9ddfbc clk: qcom: mdss: Add 8992 to 20nm pll supported devices
Add 8992 to 20nm pll supported devices.

Change-Id: Ic5ca0dc72b83da7a559cfbad1c748b25d1542919
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
2014-11-25 15:12:15 -08:00
Joonwoo Park 4944cd99d2 mdm9640: rename msmzirc to mdm9640
Introduce mdm9640 as the official name for msmzirc.

Update msm-tsens and clock-a7 bindings to make checkpatch happy along with
renaming.

Change-Id: I364cc0feab4cf4a1bac03dc08eec0214e09f40f7
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2014-11-24 18:27:32 -08:00
Pushkar Joshi dc86bd21f3 qcom: clock-cpu-8994: Add support for MSM8992
The cpu clock trees for MSM8994v2 and MSM8992 are very similar. Hence,
add support in the MSM8994 cpu clock driver for MSM8992 and use the
same driver on both.

Change-Id: I04579b4467cafc9b8e4fc70cb8f1f01130f54c16
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2014-11-24 17:38:07 -08:00
Jack Pham 382b97be6d clk: qcom: Change gcc_usb3_phy_pipe_clk to gate_clk for MSM8992
gcc_usb3_phy_pipe_clk's source could be dynamically gated off at any
time. Thus checking branch_clk status bit could result in stuck on/off
warnings. Since the HW design can handle clock input glitch, model
gcc_usb3_phy_pipe_clk as gate clock instead of branch_clk.

Also add gcc_usb3phy_phy_reset for asserting reset bit previously
associated to gcc_usb3_phy_pipe_clk branch.

This patch is simply a carbon copy of commit c32533e8 (clk: qcom:
Change gcc_usb3_phy_pipe_clk to gate_clk) which was for MSM8994.

Change-Id: I04acef3c936d9591f7517677f8ed382269ad74c7
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2014-11-17 16:36:12 -08:00
Taniya Das 98a4c8419c clk: qcom: clock-rpm-8909: Add voter clocks for SNOC MM
Bus driver will vote on snoc_mm_msmbus_clk and snoc_mm_msmbus_a_clk for
multimedia clients.

Change-Id: Idc21e7bd031a1295d5126eb4e1db9549cb1af75c
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-11-06 10:37:24 +05:30
Linux Build Service Account 3f895cac2d Merge "msm: clocks: Add new clocks header file for msmtellurium" 2014-11-03 02:34:49 -08:00
Arun Ks e278a9d520 msm: clocks: Add new clocks header file for msmtellurium
This file contains all the clocks supported on msmtellurium.

Change-Id: I9db3da8400c22c241aca50c67c713e4a2081323c
Signed-off-by: Arun Ks <arunks@codeaurora.org>
2014-10-30 18:40:12 +05:30
Venkatesh Yadav Abbarapu b9cb327c1d msm: clocks: Define clock used by crypto in fsm9010
Define clock used by crypto in fsm9010.

Change-Id: Ic0ba6cefff043cda70b0efba04477e239fe75505
Acked-by: Chemin Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
2014-10-30 09:51:39 +05:30
Linux Build Service Account 35b5919cd7 Merge "msm: clocks: Define clock used by PCIe in fsm9010" 2014-10-26 08:13:47 -07:00
Tianyi Gou b5a12967cd ARM: dts: msm: Add voter clocks for ce clocks on MSM ZIRC
Both qcedev and qcrypto drivers need to vote on the ce
clocks. Therefore, create the voter clocks for them to
allow aggregation of their requests.

In addition, export the phandles for these ce clocks
to allow the clients use them.

Change-Id: I4f026dae7c802a96d10692be1bf74028156fb080
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2014-10-22 11:55:12 -07:00
Venkatesh Yadav Abbarapu 5d7231aaf5 msm: clocks: Define clock used by PCIe in fsm9010
Add clocks used by PCIe in fsm9010 chipset.

Change-Id: I9cac428d8de5eb116e68f3c83d50b29935d50d9e
Acked-by: Chemin Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
2014-10-22 08:27:26 -07:00
Tianyi Gou 52817fb122 ARM: dts: msm: Add prng ahb clock support on MSM ZIRC
Add the prng ahb clock data to allow client control this
clock.

Change-Id: I0a68943ddbf9bcd71c7c792cf726b53b457b6ae9
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2014-10-20 19:06:05 -07:00
Linux Build Service Account 0742207472 Merge "ARM: dts: msm: Add dummy cpu clocks for MSM8992" 2014-10-11 14:53:54 -07:00