Commit graph

571152 commits

Author SHA1 Message Date
Manu Gautam
f5bf2e9314 usb: gadget: f_mtp: Make RX buffer size aligned to EP's MTU
Synopsys USB3 Controller (DWC3) has a restriction where size
of OUT requests (TRB) queued to the controller must be aligned
with the endpoint's max packet size. Generally, MTP userspace
module submits RX requests aligned to 512 bytes which works
fine in High speed mode. But, fails in Super-speed mode where
max packet size can be 1024 bytes.
To overcome this just change the size of RX request buffer
while submitting to DCD as the buffers are already allocated
with the size of 16KB.

Change-Id: I68c32ef3d08b2cf943b52a7269785d0a00146953
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
2016-06-07 16:01:30 -07:00
Hemant Kumar
2142069a88 usb: dwc3: Fix extcon notification for non-type-c usb cable
In case of non-type-c usb cable extcon cable state for
EXTCON_USB_CC returns error and driver bails out. This
causes usb enumeration failure. Hence set the typec_orientation
to ORIENTATION_NONE and continue with usb enumeration.
In case of super speed mode with type-c usb cable even if extcon
cable state return error for EXTCON_USB_CC then also usb device
will get enumerated falling back to high speed mode.

Change-Id: Ibc0b0506b2090f4c090d649f6e3ae7d42b102c93
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-06-07 16:01:17 -07:00
Amar Singhal
aab29b0769 msm: wlan: Regulatory updates
Regulatory updates for countries Egypt, Russia, Namibia
Indonesia, Guam and Pakistan.

Change-Id: I96345f025e0da99d595e60b37f34bf581927c153
CRs-Fixed: 1023830
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
2016-06-07 16:01:04 -07:00
Amar Singhal
59db44ae8c msm: wlan: Change Tx Power for ETSI1 regulatory domain
Increase the Tx Power for ETSI1 regulatory domain countries. ETSI1
controls the Tx Power for 5 GHz channels. Due to presence of TPC,
the Tx power can be increased by 3 dBm.

Change-Id: I3c450ceae589ec8758eb0f0323140faab0cbc43b
CRs-Fixed: 1023830
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
2016-06-07 16:00:51 -07:00
Maya Erez
acaa2d6326 wil6210: add support for device led configuration
Add the ability to configure the device led to be used for notifying
the AP activity (60G device supports leds 0-2).
The host can also configure the blinking frequency of the led in
three states.

Change-Id: I3b7770b0cbaec634ca566a82ccc648b6835d75a0
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
git-commit: 10d599ad84a1b98450c8867ce548ea4bf0f6df1a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1015627
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-06-07 16:00:38 -07:00
Maya Erez
6150997f5a wil6210: prevent deep sleep of 60G device in critical paths
In idle times 60G device can enter deep sleep and turn off
its XTAL clock.
Host access triggers the device power-up flow which will hold
the AHB during XTAL stabilization until device switches from
slow-clock to XTAL clock.
This behavior can stall the PCIe bus for some arbitrary period
of time.
In order to prevent this stall, host can vote for High Latency
Access Policy (HALP) before reading from PCIe bus.
This vote will wakeup the device from deep sleep and prevent
deep sleep until unvote is done.

Change-Id: Ic6bbe8b2aee53d019013159cd21597c2fa0f298f
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
git-commit: 349214c1e7d718684e19dc3559dffe4e62f55296
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1015627
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-06-07 16:00:20 -07:00
Maya Erez
d8e8748d73 wil6210: unmask RX_HTRSH interrupt only when connected
RX_HTRSH interrupt sometimes triggered during device reset
procedure.
To prevent handling this interrupt when not required, unmask
this interrupt only if we are connected and mask it when
disconnected.

Change-Id: I9fa0e28d91d0962fc7f05b2cf92c99c2431a2295
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 54eaa8c69e72dca4c824cd390b616cb48b2c4e30
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1015627
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-06-07 16:00:08 -07:00
Maya Erez
0960153f1b wil6210: print debug message when transmitting while disconnected
Network stack can try to transmit data while AP / STA is
disconnected.
Change this print-out to debug level as this should not be
handled as error.
This patch also adds wil_dbg_ratelimited, used to limit the
above print-out.

Change-Id: I41eecc91730c60a1851969f8fecf7c201b8b2050
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: d8ed043accdee611bce8be7c4224b4e26bdc2ab5
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1015627
Signed-off-by: Maya Erez <merez@codeaurora.org>
[merez@codeaurora.org: fixed merge conflicts]
2016-06-07 15:59:54 -07:00
Maya Erez
0a13eae84c wil6210: change RX_HTRSH interrupt print level to debug
When using interrupt moderation RX_HTRSH interrupt can occur
frequently during high throughput and should not be considered
as error.
Such print-outs can degrade the performance hence should be printed
in debug print level.

Change-Id: I570b66886edf949c3d77027d0dc8baf820c5cf0f
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: b523d35b5bffda70bf149cb6ae87c7eb1013dcdd
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1015627
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-06-07 15:59:41 -07:00
Lior David
89e374f4e8 wil6210: support regular scan on P2P_DEVICE interface
P2P search can only run on the social channel (channel 2).
When issuing a scan request on the P2P_DEVICE interface,
driver ignored the channels argument and always performed a P2P
search.
Fix this by checking the channels argument, if it is
not specified (meaning full scan) or if a non-social channel
was specified, perform a regular scan and not a P2P search.

Change-Id: If1cdfdb2086ff7e3dbf02e9a5920ef3ed0a31280
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 321a000bfadd5535089a198b42d714a8bf8469b7
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1015627
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-06-07 15:59:28 -07:00
Maya Erez
951247b1f6 wil6210: add function name to wil log macros
Add __func__ to wil_err and wil_info for easier
debugging.

Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 290206fa7e04ea4c1620aea2624e4d998bc27a0a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
CRs-Fixed: 1015627
Signed-off-by: Maya Erez <merez@codeaurora.org>
[merez@codeaurora.org: fixed merge conflicts]
Change-Id: Ib7ff8f1debd6873069df42efd7d832db64701258
2016-06-07 15:59:15 -07:00
Runmin Wang
33323b1e32 edac: cortex: Update the function name to reflect Kryo2xx processor
Update the error parsing function name to reflect Kryo2xx silver
and gold processors.

CRs-Fixed: 1024276
Change-Id: Iffdefa9536352dcaf411622b1d99b01b40100ce0
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-06-07 11:58:40 -07:00
Chinmay Sawarkar
e5d9430d7f ARM: dts: msm: enable SW power collapse for venus on msmcobalt
Enable software controlled power collapse of venus cores.

Change-Id: Ibf30b1ea533ab7480950d3e255de74e2324561f5
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
2016-06-07 11:58:28 -07:00
Chinmay Sawarkar
7f4e5b9951 ARM: dts: msm: Fix the clocks for Venus VMEM on msmcobalt
Enable the VMEM clock dependencies for msmcobalt.
While at it, cleanup the clock names specified before.

Change-Id: I8a7556626035139e67ec3d722b60b6cf60232f6b
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
2016-06-07 11:58:17 -07:00
Yuanyuan Liu
ffb92f5b33 icnss: Export APIs for power on/off WLAN hardware
Export APIs to WLAN driver to power on/off WLAN hardware.

CRs-Fixed: 1017496
Change-Id: I4b09b7e9ee97129f952d737a530fc04205259f24
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-06-07 11:58:05 -07:00
Sachin Ahuja
a1807a0515 cfg80211: avoid restoring the regulatory during disconnect
Driver configures the default country code during bootup.
When STA disconnects, cfg80211 restore the regulatory setting
to world domain.cfg80211 should remain in the default country
code and not restore to world reg domain.

Change-Id: I01ccdc4d2831cf252a4b35f9f856f3256d9b7429
CRs-Fixed: 1023778
Signed-off-by: Sachin Ahuja <sahuja@codeaurora.org>
[joshc: fixed hunk in disconnect_work() - moved
cfg80211_is_all_countryie_ignore() check into new location, collapsed
conditional and use upstream REGULATORY_COUNTRY_IE_IGNORE regulatory
flag]
Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
2016-06-07 11:57:55 -07:00
Vinayak Menon
6cc2fdb17c mm: zcache: fix merge issues
Fix 4.4 merge issues in zero page support, and add the
missing label.

Change-Id: I4bed7add011e0c9b0e148d1b44132ba1873cf607
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-06-07 11:57:44 -07:00
Stephen Boyd
b523018fb0 clk: qcom: Remove CLK_IS_ROOT
This flag is a no-op now. Remove usage of the flag.

Change-Id: I8b44c2b2b5928f3bc9ecd9f67dc014fb3bfb13df
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-06-07 11:57:33 -07:00
Rajendra Nayak
c6c5c7f4d0 clk: qcom: gdsc: Add support for hierarchical power domains
Some qcom SoCs' can have hierarchical power domains. Let the gdsc structs
specify the parents (if any) and the driver add genpd subdomains for them.

Change-Id: Id7faa0b6531ec787484ab17204a524858e6375dd
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-06-07 11:57:21 -07:00
Sudip Mukherjee
d0a5f89165 clk: qcom: common: check for failure
We were not checking the return from devm_add_action() which can fail.
Start using the helper and devm_add_action_or_reset() and return
directly as we know that the cleanup has been done by this helper.

Change-Id: Ie0bb9fed36484bc65b09905bda6b248a17ae2964
(cherry picked from commit 66f5ce2538e06dd6d628e37bbd38c79631274c9f)
Git-commit: 66f5ce2538e06dd6d628e37bbd38c79631274c9f
Git-repo: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-06-07 11:57:08 -07:00
Abhijeet Dharmapurikar
55b262dfa3 qcom-charger: smb2: allow vfloat and fcc via psy properties
Currently the charger driver sets the charge current based on device tree
property. Allow setting fast charge current (fcc) via power supply (psy)
property. Moreover the current voter for fcc is a min voter, change
that to max voter so that values above what device tree has set can
be used.

Similarly, introduce a max voter for battery float voltage (vfloat) and
set it to defaults via device tree.

CRs-Fixed: 1018090
Change-Id: I691984543f8beb3c52d3d578c7cc311c285a1fcc
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2016-06-07 11:56:34 -07:00
Ram Chandrasekar
77fd5db7ee ARM: dts: msm: Add LMH DCVSh interrupt information for msmcobalt
Add information about the interrupt generated by the LMH DCVSh block for
msmcobalt.

This interrupt will be generated whenever the hardware makes a new
decision about the mitigation frequency.

Change-Id: I408fb7e62ef13b21dfea68bb6b878cdbeee411cd
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-06-07 11:56:22 -07:00
Ram Chandrasekar
1884f6ccf9 drivers: thermal: Read the mitigation frequency and notify scheduler
LMH DCVSh hardware can send interrupts whenever the hardware mitigation
blocks make a new frequency mitigation vote. scheduler is not aware of
any of the hardware mitigation.

Add support to listen for this interrupt, read the aggregated mitigation
frequency from all LMH DCVSh block and notify scheduler. After receiving
interrupt, poll the hardware periodically for the mitigation frequency
till the mitigation is cleared by hardware. Once the mitigation is
cleared, interrupt is re-enabled.

Change-Id: I38bc0c80710038f135289420d6b20c1ff0ab06eb
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-06-07 11:56:09 -07:00
Mahesh Sivasubramanian
57e62c7ca5 ARM: dts: msm: Add system stats driver for msm8996
The system stats driver provides the statistics about system low power
modes and the respective masters' votes into system modes. This is a merge
of rpm-stats and rpm-master-stats modules. The rpm-stats and
rpm-master-stats driver would be eventually deprecated in preference to the
system stats driver.

Change-Id: I8a8842250fe459cb523b607ca379f9a036b4c09b
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2016-06-07 11:55:56 -07:00
Mahesh Sivasubramanian
1d321eb86c drivers: soc: qcom: system_stats: Support for System stats
RPM stats and RPM master stats provide the similar information via
different interfaces. Combine them into a single driver to provide a
unified information.

Change-Id: If5a5ef6e080ab6d75139472c5204eb6d5e9c6614
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2016-06-07 11:55:46 -07:00
Gopikrishnaiah Anandan
5b4b23763d msm: mdss: Update the default PP binding
If mdss version is not part of get driver ops function currently we set
the driver ops to NULL. When driver ops is NULL post processing driver
will treat that msm is legacy target and program the post processing
registers. For newer target if get driver ops function is not updated pp
driver will assume it as legacy msm target and programme the registers
incorrectly. Changing the default behaviour to stub function pointers
will ensure that above use-case is gracefully handled.

Change-Id: I03fdf88c741135f83d1939952e76b7460229a284
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-06-07 11:55:36 -07:00
Gopikrishnaiah Anandan
c19f4224ab msm: mdss: Add support for IGC v3 feature
IGC module is updated for mdss V3 version, which needs to be exposed
to user-space. Change adds interface support to expose the IGC module to
user-space clients.

Change-Id: I159bca8278a1638286cc2392bb5b059e067dbb1b
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-06-07 11:55:23 -07:00
Gopikrishnaiah Anandan
68f301791a msm: mdss: Add PA dither support for msmcobalt
Picture adjustment block on msmcobalt mdss supports dithering module.
Module can be programmed by driver clients for a logical display.
Change adds support for enabling the PA dither block.

Change-Id: I8ae05d0f98a33a8608a4caef93d50e4dabad05a1
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-06-07 11:55:10 -07:00
Subhash Jadavani
9b03c7ad99 defconfig: msmcortex: enable MMC/SD support for msmcobalt
This change enables the MMC/SD driver support for msmcobalt.

Change-Id: I895e70163e54e5f28c97f592cb203c6576215877
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-06-07 11:54:59 -07:00
Kyle Yan
25a0e286ba Merge commit 'refs/changes/41/1640241/2' of ssh://review-android.quicinc.com:29418/kernel/msm-4.4 into kernel.lnx.4.4-160606_new 2016-06-07 11:54:28 -07:00
Sarangdhar Joshi
fa5a089eb6 defconfig: arm64: Enable app specific setting on MSM8996
Enable support for app specific setting on MSM8996. This
is required for providing an interface so that app specific
settings can be applied / cleared.

CRs-Fixed: 981519
Change-Id: Ice69a77b40dbd98bfff0c8095d78a25424527a2f
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-06-07 11:53:39 -07:00
Sarangdhar Joshi
7ab05c20ad arm64: Add support for app specific settings
Add support to provide an interface that can be used from
userspace to decide whether app specific settings need to
be applied / cleared when particular processes are running.

CRs-Fixed: 981519 997757
Change-Id: Id81f8b70de64f291a8586150f4d2c7c8f8b4420f
Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
[satyap@codeaurora.org: trivial merge conflict resolution and pull
fixes for CR: 997757]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-06-07 11:53:27 -07:00
Sathish Ambley
e3ab187d0b msm: ADSPRPC: Handle glink channel errors
Check for error codes returned while opening the glink channel
and unregister for notifications only after the channel has
been closed.

Change-Id: Icb92ab9a430d7c49d4aac2d7c53fc6179407d082
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2016-06-07 11:53:16 -07:00
Skylar Chang
d25d73f2fb msm: ipa: fix the order issue of meq128 equation
Fix the issue of wrong meq128 word order.

Change-Id: Ifb45db29d5475ede42a11613b99c4504fbe10b54
CRs-Fixed: 1018146
Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-06-07 11:53:02 -07:00
Stephen Boyd
667be07068 clk: qcom: common: Add API to register board clocks backwards compatibly
We want to put the XO board clocks into the dt files, but we also
need to be backwards compatible with an older dtb. Add an API to
the common code to do this. This also makes a place for us to
handle the case when the RPM clock driver is enabled and we don't
want to register the fixed factor clock.

Change-Id: Ie06e1bb4e6add624787faf0372bafdf0b1126d1c
Cc: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-06-06 09:14:56 +05:30
Rajendra Nayak
ea26943553 clk: qcom: gdsc: Add GDSCs in msm8996 GCC
Add all data for the GDSCs which are part of msm8996 GCC block

Change-Id: I12323575c44b1a3ba4cb2764a498480b3e62dcaa
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-06-06 09:14:56 +05:30
Arun Menon
32fdbc07dd msm: vidc: Enable blur support for encode
Add v4l2 control extensions to allow the video
driver client to enable/disable blur feature in
the firmware.

CRs-Fixed: 975505
Change-Id: I1b340d13bfef3b71d049d53c9bb79e4effafc79a
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2016-06-03 14:49:39 -07:00
Mihir Shete
3d5422c873 cfg80211: unblock user hint when cfg80211_regdom is intersected
If the driver is loaded when cfg80211_regdom is intersected then
user hint will fail for the first time since cfg80211 does not
have a check to see if cfg80211_regdom is intersected. Add
a check to see if cf80211_regdom is intersected and allow the
user hint to be processed.

Change-Id: Iba9cdd32470e29d35d3bb35012eb404b7c78d601
CRs-Fixed: 639538
Signed-off-by: Mihir Shete <smihir@codeaurora.org>
2016-06-03 14:49:26 -07:00
Runmin Wang
90609828ec arm64: dma-mapping: Export arch_setup_dma_ops symbol
Export arch_setup_dma_ops symbol.
Some test modules need to call "arch_setup_dma_ops" to setup
the proper dma operations.

CRs-Fixed: 1021445
Change-Id: Ieb8aca4dab96ee8bad7c5ad0a47f83e4316bf990
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-06-03 14:49:14 -07:00
Manaf Meethalavalappu Pallikunhi
ae40e64b2d msm: thermal: Check clients request just after frequency thread init
KTM frequency mitigation thread initializes during late init call.
Prior to this, client can request frequency mitigation. But request
will not be processed, since frequency mitigation thread won't be
initialized. Notify frequency mitigation thread to aggregate clients
current request immediately after thread initialization.

Change-Id: Id2425041b14554d58f944794e1b5db273f5ded26
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2016-06-03 14:49:03 -07:00
Tatenda Chipeperekwa
02dd3066a8 defconfig: msmcortex: add hdmi support
Enable compilation of HDMI related files.

CRs-Fixed: 1022772
Change-Id: Id5b275a6c7aabd835e94e2acd338dea14d2d8f57
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-06-03 14:48:50 -07:00
Tatenda Chipeperekwa
463e892e68 defconfig: msmcortex: enable qseecom hdcp
Enable QSEECOM and HDCP modules compilation.

CRs-Fixed: 1022772
Change-Id: Ib694339fa9f7cca5e2882277bcc5888c4db9ecde
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-06-03 14:48:38 -07:00
Viswanadha Raju Thotakura
93dd7f4807 ARM: dts: msm: Add missing clocks for csid on msmcobalt
Add missing clocks for csid node. Update csiphytimer clock
to 269MHz.

CRs-Fixed: 1021009
Change-Id: I9242849d4da84007d1384de0e3e2bf63e7f57ea9
Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
2016-06-03 14:48:27 -07:00
Joonwoo Park
42ab5394f4 Revert "sched: warn/panic upon excessive scheduling latency"
This reverts commit 8f90803a45 ("sched: warn/panic upon excessive
scheduling latency") as this feature is no longer used.

Change-Id: I200d0e9e8dad5047522cd02a68de25d4a70a91a4
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-06-03 14:48:17 -07:00
Joonwoo Park
9103cfbaa1 Revert "sched: add scheduling latency tracking procfs node"
This reverts commit b40bf941f6 ("sched: add scheduling latency
tracking procfs node") as this feature is no longer used.

Change-Id: I5de789b6349e6ea78ae3725af2a3ffa72b7b7f11
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-06-03 14:48:05 -07:00
Joonwoo Park
11ad3c4f92 sched: eliminate sched_early_detection_duration knob
Kill unused scheduler knob sched_early_detection_duration.

Change-Id: I36b7a10982367f9c7ab8eefcb8ef1d0f9955601d
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-06-03 14:47:51 -07:00
Joonwoo Park
eedf0821f6 sched: Remove the sched heavy task frequency guidance feature
This has always been unused feature given its limitation of adding
phantom load to the system. Since there are no immediate plans of
using this and the fact that it adds unnecessary complications to
the new load fixup mechanism, remove this feature for now. It can
be revisited later in light of the new mechanism.

Change-Id: Ie9501a898d0f423338293a8dde6bc56f493f1e75
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-06-03 14:47:39 -07:00
Joonwoo Park
6b2c4343e7 sched: eliminate sched_migration_fixup knob
Kill unused scheduler knob sched_migration_fixup.  With this change
scheduler always adjusts CPU's busy time during migration.

Change-Id: I5d59e89d5cc0f2c705c40036cd7b47f5d3f89e58
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-06-03 14:47:25 -07:00
Ingrid Gallardo
5039c9bc7a msm: mdss: fix pipe cleanup for multi-rect pipes
For multi-rect pipes, driver tries to release the
pipe only when both pipes for both rectangles
are in the destroy list. Current code always
detects that there are two pipes with the same
number in the list, since the first iteration to
look for the pipe in the list always correspond to
the same pipe used as the initial index.
This causes that driver unnecesary halt the dma pipe
when still in use for the second rect that is still not
freed. Fix this issue by making sure the same pipe
objects are not used to check if there are two pipes
with the same index in the release list.

Change-Id: I19268009e76b8535fa4a7aa742a1cfc957f8aece
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-06-03 14:47:06 -07:00
Chandan Uddaraju
cea962b52f ARM: dts: msm: fix DP PHY and PLL register base address for msmcobalt
Update the DP PLL node with the correct base address
for PHY and PLL registers.

CRs-Fixed: 1009740
Change-Id: I7194e72a191f2f52dd708c84d5a8ab55f03729fe
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-06-03 14:46:56 -07:00