Commit Graph

159 Commits

Author SHA1 Message Date
Linux Build Service Account cb152d6920 Merge "clk: qcom: Change gcc_usb3_phy_pipe_clk to gate_clk" 2014-10-07 21:20:41 -07:00
Pushkar Joshi 2126e45937 ARM: dts: msm: Add dummy cpu clocks for MSM8992
Add the DT entry for the dummy cpu clocks. Also modify the cpu
clock list as per the updated clock diagram.

Change-Id: I45f62b780ab6b9a47af1e4084c41af3873936380
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2014-10-03 13:55:09 -07:00
Junjie Wu c32533e8c1 clk: qcom: Change gcc_usb3_phy_pipe_clk to gate_clk
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.

Change-Id: Id26c4c69af8b8b66f83fd6e160e4080494f25191
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-10-03 12:04:25 -07:00
Linux Build Service Account a2c8b47982 Merge "ARM: dts: msm: Add A7 subsystem clocks for MSM ZIRC" 2014-10-02 15:58:21 -07:00
Tianyi Gou 57f8f742ee ARM: dts: msm: Add A7 subsystem clocks for MSM ZIRC
A7 subsystem contains a cpu clock PLL and a cpu clock.
Add their data in device tree to define these clocks.
Also, add a A7 measurement clock to allow measuring
the A7 cpu clock.

Change-Id: Ie991abc7fde5ada22eb9cc39fdaa39ed41bf5a37
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2014-09-30 19:49:38 -07:00
Linux Build Service Account 23862142d6 Merge "ARM: dts: msm: Add clock data for MSM ZIRC" 2014-09-30 14:42:56 -07:00
Linux Build Service Account 790fd7e419 Merge "drivers: clk: qcom: Add support for the MSM8994 V2 CPU clock tree" 2014-09-30 14:41:21 -07:00
Tianyi Gou 8cb4e813aa ARM: dts: msm: Add clock data for MSM ZIRC
Add clocks definition for MSM ZIRC to allow the clock
driver to control them.

Change-Id: I5692b1b68efb730db7f5019ce865e32d715f0933
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2014-09-29 11:28:41 -07:00
Vikram Mulukutla 6d98217e0c drivers: clk: qcom: Add support for the MSM8994 V2 CPU clock tree
The MSM8994 V2 CPU clock tree sports a new divider
configuration and also supports higher frequencies
compared to V1. Add the necessary clock structures
and code to support the new clock tree.

Change-Id: Ie424ac0621afea7a7994de51de80432c733322f6
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
2014-09-29 11:27:31 -07:00
Linux Build Service Account 98e08575a8 Merge "msm: clock-8992: Add GCC clock controller for MSM8992" 2014-09-29 07:55:29 -07:00
Linux Build Service Account c57860e6a3 Merge "clk: qcom: clock-debug-8994: Change debug clocks to use orphan list" 2014-09-26 18:42:20 -07:00
Pushkar Joshi 05b55e0ae4 msm: clock-8992: Add GCC clock controller for MSM8992
Add support for the GCC clock controller for MSM8992

Change-Id: Ia409af8747e9d701a2dbdd0e5021380550277864
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2014-09-25 12:23:23 -07:00
Junjie Wu 9c27abfd60 clk: qcom: clock-debug-8994: Change debug clocks to use orphan list
Some debug mux parents might not be ready until the clock driver
providing it becomes ready. Use orphan list support to handle external
debug clocks, instead of failing the probe of clock_debug controller.

In addition, move external debug clock registration from
clock-gcc-8994 to clock-debug-8994.

Change-Id: I764d1fd3cab1af878bd567e30e02d62143204711
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-09-24 12:48:36 -07:00
Kishan Kumar 01033d20d5 ARM: dts: msm: Rename msmferrum to msm8909
Rename all device tree files and usages of msmferrum
to its official name msm8909.

Change-Id: Ie17e62046ed8b9626a59e393076a3ff00934c0fe
Signed-off-by: Kishan Kumar <kishank@codeaurora.org>
2014-09-24 20:49:38 +05:30
Taniya Das 457190e338 clk: qcom: clock-gcc: Add support for CPU clocks for MSM8909
Support A7PLL cpu clock and the frequencies supported. Add support to
measure frequencies of each of the sync cpu clocks.

Change-Id: Ib5e0dca29a240caa7533ff3981393dcc40a2c105
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-09-22 21:05:29 -07:00
Linux Build Service Account 92ea09505d Merge "msm: clock-8992: Add RPM clock controller for MSM8992" 2014-09-20 13:37:44 -07:00
Taniya Das 0f5f2ff958 clk: qcom: Add reset clocks and rpm clocks for USB for MSM8909
Reset clocks usb2_hs_phy_only and gcc_qusb2 are added for USB on MSM8909.
USB driver also requests for clock frequencies when active on snoc/pcnoc
and bimc.

Change-Id: Id7be052c944f7a01ef7bdaf45621f2bdde29e0c9
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-09-17 22:07:33 -07:00
Pushkar Joshi 361ce36ee8 msm: clock-8992: Add RPM clock controller for MSM8992
Add support for the RPM clock controller for MSM8992. Also
add additional clocks needed by the RPM controller to the
clock list.

Change-Id: Ica6fd73426e7cb779d743c25ffad4d1b00b90b5a
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2014-09-16 13:01:26 -07:00
Linux Build Service Account 7121cf05ce Merge "clk: qcom: clock-8994: Move gcc_mss_cfg_ahb_clk to RPM" 2014-09-14 20:46:42 -07:00
Linux Build Service Account 4cdcab8ae9 Merge "clk: qcom: 8939: Add clock definitions" 2014-09-13 13:29:17 -07:00
Junjie Wu ecebc317d2 clk: qcom: clock-8994: Move gcc_mss_cfg_ahb_clk to RPM
gcc_mss_cfg_ahb_clk is now controlled by RPM. Remove it from
clock-gcc-8994 and add mss_cfg_ahb_clk in clock-rpm-8994.

Change-Id: I03293fe4f9bf1d97e38999d38229c838e869fb7c
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-09-12 18:12:02 -07:00
Sujeet Kumar d398782cfe clk: qcom: 8939: Add clock definitions
Add pcnoc_usb_a_clk, snoc_usb_a_clk, bimc_usb_a_clk clocks
for nominal voting support on 8939 target.

CRs-Fixed: 722888
Change-Id: I53ff40b25a06c35b67ac07134f5937c4d4573e7a
Signed-off-by: Sujeet Kumar <ksujeet@codeaurora.org>
2014-09-11 12:06:56 +05:30
Linux Build Service Account 2093cfa0c1 Merge "ARM: dts: msm: Introduce bus topology for msmzirc" 2014-09-09 04:48:33 -07:00
Linux Build Service Account aadd4f0dd0 Merge "clk: qcom: clock-gcc-ferrum: Add rpm and gcc clocks for msmferrum" 2014-09-09 00:55:45 -07:00
Siddhartha Agrawal 86a6184481 clk: msm: mdss: Add support for DSI PLL 1 clock registration
Setup DSI 1 PLL clock heirarchy. This is needed for instances
where we need to turn off the second pll in case of current
leak issue.

Change-Id: I694af1fa9591b2345709687c9e7b1d69f15b56a9
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
2014-09-05 10:49:55 -07:00
Girish Mahadevan 179a160bf3 ARM: dts: msm: Introduce bus topology for msmzirc
Bus scaling driver allows clients to make bandwidth requests between end
points. The bus topology allows bus scaling driver to honor these requests
by representing in software the device connections.

Change-Id: I281a58259e4a09eab49bc796975c17d36ad4192d
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2014-09-05 09:02:17 -06:00
Janani Venkataraman a418c9b3ef clk: qcom: clock-gcc-ferrum: Add rpm and gcc clocks for msmferrum
Add support for rpm and gcc clocks according to the
hardware and software clock plan for msmferrum.

Change-Id: I6d4359773ceafc114985c593ae450fb06b7e14a7
Signed-off-by: Janani Venkataraman <jananiv@codeaurora.org>
2014-09-03 17:38:37 +05:30
Linux Build Service Account 0896a91c8d Merge "clk: qcom: 8916: Add clock definitions" 2014-08-31 04:41:00 -07:00
Sujeet Kumar 53f7b76302 clk: qcom: 8916: Add clock definitions
Add pcnoc_usb_a_clk, snoc_usb_a_clk, bimc_usb_a_clk clocks
for nominal voting support on 8916 target.

Change-Id: Ic60c8ffe646dd192d438faddd75d27f9a0850083
Signed-off-by: Sujeet Kumar <ksujeet@codeaurora.org>
2014-08-28 17:41:27 +05:30
Linux Build Service Account 2fc90df956 Merge "clk: qcom: Add support for more BIMC measurement on MSM8994" 2014-08-24 20:01:50 -07:00
Linux Build Service Account c70996882f Merge "clk: qcom: mdss: add mdss shadow DSI 20nm pll clock support" 2014-08-22 23:34:46 -07:00
Jeevan Shriram 7ef6289d74 clk: qcom: mdss: add mdss shadow DSI 20nm pll clock support
Add support for shadow DSI PLL implementation for 20nm PLL
to handle dynamic refresh feature.

Change-Id: I88f20ef8f360d04991dd97d80041fb3cec68c411
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2014-08-22 11:45:02 -07:00
Junjie Wu f47f7bedab clk: qcom: Add support for more BIMC measurement on MSM8994
BIMC measurement is more complicated on MSM8994 than previous targets.
Add BIMC KPSS and GFX measurement support.

Change-Id: Ia637470339a56a805b20a9042537918201a4d5c0
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-08-21 17:28:09 -07:00
Pushkar Joshi acaa8fcc8e ARM: dts: msm: Update the clock header file for MSM8992
Until now the clock header file being used was the same across
MSM8994 and MSM8992. However, MSM8992 does not have some of the
clocks present on MSM8994. Hence, create a new MSM8992 specific
clock header file.

Change-Id: If03059647778050179e33ee9ad14e353ac1c3764
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2014-08-19 10:57:51 -07:00
Linux Build Service Account d43f04e9ce Merge "ARM: dts: msm: Add hash value for pcie gpio ldo gate clk" 2014-08-14 19:44:57 -07:00
Venkatesh Yadav Abbarapu 1e7ccd439e ARM: dts: msm: Add initial device tree for FSM9010
Add the device tree support for FSM9010 RUMI platform.

Change-Id: I6a91a3d784e5ae4eb79bec809c632a69f7d89650
Acked-by: Kaushik Sikdar <ksikdar@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
2014-08-06 20:29:09 +05:30
Linux Build Service Account 9a61549f9f Merge "msm: msm_bus: Rules engine for adhoc driver" 2014-07-26 12:41:37 -07:00
Tianyi Gou c2577acab6 ARM: dts: msm: Add hash value for pcie gpio ldo gate clk
Add hash values for pcie_gpio_ldo gate clock to allow the
driver to use it.

Change-Id: I260a33c9d99682f886528f25c28d5c7bc23e58ee
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2014-07-23 15:54:28 -07:00
Girish Mahadevan 9adb8ab178 msm: msm_bus: Rules engine for adhoc driver
Introduce rules engine module for adhoc driver. This module
allows creating rules based on client votes that can be used
to throttle certain master ports or to receive callbacks when
certain combinations of votes have been made.

Change-Id: I532eb42a9399514131dcda47440f966cfe732f76
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2014-07-18 14:46:59 -06:00
Tianyi Gou 513eaf605c ARM: dts: msm: Add hash values for usb reset and gate clocks
Add hash values for usb reset and gate clocks to allow the
driver to use them.

Change-Id: I2973737ac05ea17e36987f623da9dda4cfac7f88
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2014-07-16 14:37:35 -07:00
Taniya Das cf625e8709 clk: qcom: 8939: Add support for cpp and mdp_rt tbu clocks
new voteable tbu clocks gcc_cpp_tbu_clk and gcc_mdp_rt_tbu_clk added for
clients to vote.

Change-Id: Id97932d6dce21f9f077111de30d129294e5094ad
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-07-09 00:16:50 -07:00
Alok Chauhan d7388f6282 ARM: dts: msm: Bus width adjustment for 8936 BIMC
All BIMC related ports changed to an effective width
of 16 bytes.

Add usb2 slave node also.

Change-Id: I819b771573e82551a480073a80d35e03c22b78f0
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
2014-07-04 19:15:25 +05:30
Linux Build Service Account 11d024793f Merge "ARM: dts: msm: Add hash values for two usb clocks" 2014-06-23 20:16:40 -07:00
Tianyi Gou fd91e9b1c7 ARM: dts: msm: Add hash values for two usb clocks
Add the hash values for ln_bb_clk and cxo_dwc3_clk to
support the control of them through clock apis.

Change-Id: I7e939c3b84d99abb5329ef49c62189a6e577aa76
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2014-06-23 12:38:45 -07:00
Linux Build Service Account 28508e4cb1 Merge "msm: clocks: Add new clocks header file for msmferrum" 2014-06-20 22:59:54 -07:00
Linux Build Service Account e9c03e9619 Merge "clock-rpm-8994: Add CE clock voters" 2014-06-20 05:19:41 -07:00
Taniya Das e6f1961326 msm: clocks: Add new clocks header file for msmferrum
This file contains all the clocks supported on msmferrum.

Change-Id: I579f6de72aded04e093d2221e7a517a16fa9aee4
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-06-19 18:30:38 +08:00
Junjie Wu 15a17655ea clock-rpm-8994: Add CE clock voters
Multiple drivers need to vote for CE clock rate. Add voters for them
to prevent drivers overwriting others' vote.

Also change current users to use the voter clock.

Change-Id: Idf1f67401d2d1c15ba13844669c87040b9713f8b
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-06-16 14:17:38 -07:00
Casey Piper 9dcc744750 clk: qcom: mdss: add hashcode for HDMI 20nm vco clock
Add clock hashcode for HDMI 20nm vco clock entry.

Change-Id: I597639eb7ca9947e58b3b695c2643a66a8d2a15c
Signed-off-by: Casey Piper <cpiper@codeaurora.org>
2014-06-16 13:57:53 -07:00
Linux Build Service Account 6600a01843 Merge "ARM: dts: msm: Add dummy clock controller support for MSMZIRC" 2014-06-15 16:33:44 -07:00
Chandan Uddaraju 384237e53a clk: qcom: mdss: add mdss 20nm pll clock driver support
Add support for new 20nm PLL clock driver to handle
different DSI panel resolutions. Add seperate files
to support this new 20nm PHY PLL block.

Change-Id: I4ee5309449f317daddba7106cb8e1829fd6e76cf
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2014-06-12 15:20:47 -07:00
Tianyi Gou d8f2f3db0a ARM: dts: msm: Add dummy clock controller support for MSMZIRC
Support dummy clock lookups for MSMZIRC through device tree. The list
of clocks are not final.

Change-Id: Ie20ed3d507adc3b5b5922e8cb77071fe913b8e3a
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2014-06-09 17:11:46 -07:00
Linux Build Service Account 2711004373 Merge "clock-mmss-8994: Remove clock-mmss-mdss driver" 2014-06-07 02:34:30 -07:00
Linux Build Service Account 1ae3c551b8 Merge "clock-gcc-8994: Add reset support for PCIE PHY" 2014-06-05 08:37:40 -07:00
Junjie Wu 448c48d456 clock-mmss-8994: Remove clock-mmss-mdss driver
Clock framework now has support for orphan clocks, which means clocks
can register even if their parents are not available. Switch to new
implementation and remove clock MMSS MDSS driver. Display related
clocks will be registered together with other MMSS clocks. They will
be available once their parents are registered.

Change-Id: I962175cf7cdfd22058c2024decdefa7430ad643b
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-06-04 19:49:29 -07:00
Linux Build Service Account 2ca05abaf8 Merge "clock-gcc-8994: Add MSS_GPLL0 gate clock" 2014-06-04 13:37:46 -07:00
Linux Build Service Account 31fc5af9ce Merge "qcom: clock-cpu-8994: Add measurement support" 2014-06-04 07:08:33 -07:00
Junjie Wu 9cad40de81 clock-gcc-8994: Add reset support for PCIE PHY
Add reset support for PCIE PHY.

Change-Id: I66f5caa40d756d2f77f7eaa3526644b2af7f214a
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-06-03 16:32:29 -07:00
Junjie Wu b544ed992f clock-gcc-8994: Add MSS_GPLL0 gate clock
MSS needs to vote for GPLL0 before its output can reach MSS clock
controller. Model this vote bit as gate clock.

Change-Id: Ia13ed3847597ac757734cad9ff62a982c61ef91f
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-06-03 16:32:28 -07:00
Taniya Das ebcd1000f8 qcom: clk: clock-gcc-8936: Rename gpll0_usbfs to gpll0_misc
gpll0_misc source select value is now used for camss and usbfs rcg
muxes.

Change-Id: Iffb7e5798e32798072e1ae0a77642f92f522cb4e
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-06-03 14:11:48 +05:30
Linux Build Service Account 87cd4d2322 Merge "clk: qcom: clock-gcc-8936: add display clock support for MSM8936" 2014-06-02 03:59:58 -07:00
Junjie Wu d7b84769d1 clock-gcc-8994: Associate reset with gcc_usb3_phy_pipe_clk
A standalone reset was provided for USB3PHY_PHY_BCR. Associate it
with gcc_usb3_phy_pipe_clk instead to keep it consistent with other
targets.

Change-Id: I9fe5965f59e8dff1e30967ecd9872054d5a48c52
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-06-01 16:39:07 -07:00
Vikram Mulukutla 701d6a5e00 qcom: clock-cpu-8994: Add measurement support
Add the necessary clocks and muxes to allow
measurement of the A53 and A57 cluster clocks.

Change-Id: Idacd2d042d96e8ebbf6e098057c684fd08c254ed
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
2014-05-31 14:20:13 -07:00
Taniya Das 24544ccbc5 clk: qcom: clock-gcc-8936: add display clock support for MSM8936
Model the DSI clocks in GCC as a separate device. The byte and pixel clocks
exposed by the DSI PLL device is needed by the GCC DSI clocks. Finally, the
DSI controller can get the clocks exposed by GCC DSI. So, the order of
probes for this to work is GCC->DSI PLL->GCC_MDSS_DSI->DSI controller.

Change-Id: Iee6f1f6db3e52d434d2066374b504a9dc6630e22
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-05-30 15:37:40 +05:30
Junjie Wu 02d9777f5d clock-mmss-8994: Add oxili_rbbmtimer_clk for MSM8994
Add oxili_rbbmtimer_clk and its root clock to clock-mmss-8994 driver.

Change-Id: I34f9e1ea179aeb8442967c142673491ec0d77681
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-05-29 11:42:59 -07:00
Linux Build Service Account 190cb00dfa Merge "qcom: clock-gcc-8994: Add gcc_qusb2_phy_reset" 2014-05-27 14:55:46 -07:00
Junjie Wu e2974c5d5b qcom: clock-gcc-8994: Add gcc_qusb2_phy_reset
USB driver needs gcc_qusb2_phy_reset to reset part of their HW.
Add support for gcc_qusb2_phy_reset.

Change-Id: I7cc468f90081ff28a8b921fb2179162822cb5c55
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-05-20 15:19:34 -07:00
Hanumath Prasad 735521fe01 msm: clock-cpu-8939: Add cpu clocks for 8939
Add support for a53 clocks for big cluster and
little cluster and for cci clock.

Change-Id: I26e66f79b561c662e08db821ab30a39a112da241
Signed-off-by: Hanumath Prasad <hpprasad@codeaurora.org>
2014-05-20 19:10:15 +05:30
Linux Build Service Account f580aad2a9 Merge "msm: clock-gcc-8936: Add support for A53PLLs" 2014-05-15 02:36:52 -07:00
Vikram Mulukutla 2019f85be6 qcom: clock-cpu-8994: Introduce a CPU scaling driver for the MSM8994
Introduce a driver that models the cluster and CCI
clock trees in the MSM8994, and provides clocks to
various drivers that decide the frequency of those
clocks.

Change-Id: I63da505d159bb2bb1cddbd8dfba747a07ea9fd27
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
2014-05-13 11:47:26 -07:00
Hanumath Prasad 572fac4113 msm: clock-gcc-8936: Add support for A53PLLs
A53(apss) uses the HFPLL as clock source for bigcluster
and SR2PLL as source for little cluster and
CCI to switch frequencies.

Change-Id: I62bb8c17b7381ef7d28f1d8e2728cede28d0dc5c
Signed-off-by: Hanumath Prasad <hpprasad@codeaurora.org>
2014-05-13 00:30:09 +05:30
Girish Mahadevan ddc9d6ce77 ARM: dts: Introduce bus topology for msm8939
Introduce bus topology for MSM8939. 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: If68dfb571efc0ece04c12256f7aa224e51507344
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2014-05-09 12:40:24 -06:00
Hanumath Prasad 215c3009db msm: clock-8936: Add clock controller driver for 8936
8936 has only global clock controller, add support
for the same and the RPM clock controller.

Change-Id: I476823f9dd6bdf5d1d0c9a95e75de7fd58a9a897
Signed-off-by: Hanumath Prasad <hpprasad@codeaurora.org>
2014-05-01 21:46:34 +05:30
Vikram Mulukutla 648a12f829 qcom: clock-gcc-8994: Add dummy clocks for the A53/57 and CCI
Low power mode and cpufreq drivers need to obtain
references to the CPU and CCI clocks. Add dummy
clocks to allow them to probe.

Change-Id: I11d4b7959b5abcf992bade9a18217fbfb51761e4
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
2014-04-29 17:45:37 -07:00
Rohit Vaswani 4e29bc3ff7 msm8994: Rename plutonium to 8994
Introduce msm8994 as the official name for msmplutonium.

Change-Id: I9e87c8c8356becb1841cf476c4c2bcfa2c5d58b2
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
2014-04-11 11:07:22 -07:00
Junjie Wu e63198976b clock-mmss: Add display clock driver for MSMPLUTONIUM
Add MDSS clock driver. MDSS clocks consist of pixel and byte clocks for
display. They are part of MMSS clock controller on MSMPLUTONIUM.

Change-Id: Ifb8e6f1f83f367e1cc3d479433c793be5fbca251
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-04-10 18:51:36 -07:00
Girish Mahadevan bc36c4ca0c ARM: dts: msm: Add TCU nodes and correct QoS params for msm8916
Add the TCU nodes to the bus topology and correct the QoS related params
for the other nodes as this could result in system performance degradation.

Change-Id: I00751704cefc5c3c7b96309e2efb3faea15254ba
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2014-04-07 07:33:04 -07:00
Dan Sneddon c10ca57b00 ARM: dts: msm: bus scaling configuration for msmplutonium
Fix invalid paths in plutonium bus topology.

CRs-Fixed: 643839
Change-Id: Ia51d6a737c7bd43c620639f1179058e7a795240d
Signed-off-by: Dan Sneddon <dsneddon@codeaurora.org>
2014-04-07 08:27:55 -06:00
Linux Build Service Account f972a13df8 Merge "ARM: dts: Introduce plutonium bus topology" 2014-04-02 21:45:20 -07:00
Dan Sneddon 3ae9442d83 ARM: dts: Introduce plutonium bus topology
Introduces the bus topology for MSM-plutonium.  Also moves
the client-ids to a file accessible by the device-tree.

Change-Id: I5deb33e867eb40ef90fecfb650109871edb4948d
Signed-off-by: Dan Sneddon <dsneddon@codeaurora.org>
2014-04-02 11:51:29 -06:00
Junjie Wu 78bae4b6a8 clock-gcc-plutonium: Add reset clocks for USB3 PHY
Add USB3 PHY reset clocks for MSMPLUTONIUM.

Change-Id: I2c4d753bb82faa2061038a8cd085e878170d56e3
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-03-31 15:30:54 -07:00
Junjie Wu bf091b7a9e clock-plutonium: Fix gcc_debug_mux registration location
gcc_debug_mux is part of debug clock controller, not global clock
controller. When GCC registers, the base pointer of gcc_debug_mux
might not be mapped yet. Remove it from msm_clocks_gcc_plutonium.
gcc_debug_mux is already correctly registered in debug controller.

Change-Id: If0d1c0ffc32e118677046f4664aa98fa31a33ef0
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-03-27 11:51:09 -07:00
Junjie Wu 230b63b66e clock-mmss-plutonium: Add measurement for mmsscc_mmssnoc_ahb
Support measurement for mmsscc_mmssnoc_ahb clock. Also external clocks
in MMSS into lookup table.

Change-Id: Ia6bfc61ea2dc7264c71ddbe33650f312fe755357
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-03-24 11:56:51 -07:00
Taniya Das 8733edabfc clk: qcom: clock-8916: Add support for APSS cpu debug mux
The GLB_CLK_DIAG register selects the test clock to be
output from the APCS to the chip's clock controller.
APSS debug mux will allow to measure the current cpu
and l2 frequency.

Change-Id: Ifa48719124e7abbdda2aaa36af60216502de75a8
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-03-22 05:42:28 -07:00
Linux Build Service Account 3e9b7fcdd9 Merge "ARM: dts: qcom: Use correct XO clock for GCC" 2014-03-15 10:08:19 -07:00
Linux Build Service Account e4aece1f2c Merge "clock-rpm-plutonium: Remove unused cxo_gcc/mmss clocks" 2014-03-14 17:50:43 -07:00
Taniya Das 194f18a760 ARM: dts: qcom: Use correct XO clock for GCC
GCC use XO clock to derive the correct rate of PLLs. cxo_gcc
used previously are dummy voter clocks that have a fixed rate
of 1000. This leads to wrong calculation of PLL rate.
Use the correct XO clock for GCC.

Change-Id: Ib03c27a6447016e349e08c40f4e379c8fd26d69a
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-03-14 18:46:17 +05:30
Linux Build Service Account 2bf7e8cbdc Merge "msm: clock-krait-8974: Add support for DT clock lookup" 2014-03-12 17:32:13 -07:00
Linux Build Service Account bb0669082a Merge "clock-gcc-plutonium: Add gcc_boot_rom_ahb_clk for MSMPLUTONIUM" 2014-03-12 17:31:59 -07:00
Junjie Wu e48de1aaa1 clock-gcc-plutonium: Add gcc_boot_rom_ahb_clk for MSMPLUTONIUM
gcc_boot_rom_ahb_clk is used by drivers on MSMPLUTONIUM. Add support
for this clock.

Change-Id: I66606ff40298c802be2ea01d81549b311fb71bc5
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-03-11 19:25:53 -07:00
Tianyi Gou b85da8d24f msm: clock-krait-8974: Add support for DT clock lookup
Register the clock-krait driver as the provider of the
krait clocks and introduce the of_index values for krait
clocks so that the clock clients can use the DT clock lookup
features.

Note that this change also provides the backward compatibility
for table based lookup.

Change-Id: I104385269d2d9b989171a9ea7722e3ba4293d09f
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2014-03-11 17:54:59 -07:00
Junjie Wu 8b9ca0f557 clock-rpm-plutonium: Remove unused cxo_gcc/mmss clocks
GCC/MMSS clock driver uses cxo_clk_src instead of cxo_gcc/mmss. Remove
unused cxo_gcc/mmss from RPM clock driver.

Change-Id: I0ff1eb8547d33a72f217f6a9d0c850fd211e19d2
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-03-06 01:51:55 -08:00
Junjie Wu 99b16ba9ba clock-plutonium: Model GPLL0 gating from GCC to MMSS
MMSS needs to vote enable one bit in GCC before GPLL0 signal is propagated
to MMSS clock controller. Model this bit as a gate clock.

Change-Id: Iff8a228655cb778e4cc880ce9693ac756d41dda0
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-03-06 01:51:54 -08:00
Padmanabhan Komanduru 0ae2c09f62 clk: qcom: mdss: add DSI PLL clock driver support for 8916
This change adds the DSI PLL clock driver support for
8916. In addition, it adds support of DSI PLL programming
of different MDSS revisions using the same DSI PLL driver.
Also rename the compatibility string of the DSI
PLL handle so that the detection and support of DSI
PLL driver for 8974 and 8916 happens dynamically.

Change-Id: I169ebeaf23e4be8ff4b533fce1057144edd8b692
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2014-03-04 06:12:21 -08:00
Junjie Wu 90d01e205a clock-plutonium: Add clock controller drivers for MSMPLUTONIUM
Introduce RPM/GCC/MMSS clock drivers for MSMPLUTONIUM.

Change-Id: I9a5d4713a326191901c82e500d08ba0a310b70f4
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-02-19 17:27:11 -08:00
Linux Build Service Account e8427c9a30 Merge "msm: clock-gcc-8974: Support the USB UTMI clock source divider" 2014-02-11 20:09:13 -08:00
Junjie Wu c127282928 msm-clocks-plutonium: Update clock list for plutonium
Rename some RPM clocks, and add missing clocks for RPM/GCC/MMSS.

Change-Id: I2a86772b6f22bb7cabd058315894e9fc6a1fe90a
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-02-10 18:27:25 -08:00
Junjie Wu e240029061 msm-clocks-plutonium: Update clock list for plutonium
Add more clocks need on this platform, and remove ones that are
not needed or controlled by clock driver.

Change-Id: I7367d20927d9688aabed83675edbc6616d99728e
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
2014-02-05 09:34:15 -08:00
Taniya Das ae6bf51e29 msm: clock-gcc-8916: Add support for SR2PLL
A53(apss) uses the SR2PLL as the source to
switch frequencies.

Change-Id: I5ba8c6516fd1066b2c6c7af3c7a06e7c069ddc7f
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-02-05 09:34:13 -08:00
Taniya Das f75658b7a4 msm: clock-8916: Add wcnss debug support and cleanup
cleanup for 8916
	- gpll1 frequency has changed.
	- pronto gpll is not configure by Apps
	- gfx frequency has modified.
WCSS debug support is added.

Change-Id: Ia1ec8bce56d975a31512a62d7725b01fd72d6471
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-02-05 09:34:12 -08:00