Commit graph

575134 commits

Author SHA1 Message Date
Linux Build Service Account
f6ee052d80 Merge "BACKPORT: perf tools: Document the perf sysctls" 2016-09-19 23:27:57 -07:00
Linux Build Service Account
646ce8a905 Merge "cpuset: handle race between CPU hotplug and cpuset_hotplug_work" 2016-09-19 23:27:56 -07:00
Linux Build Service Account
a8f7b70106 Merge "qcom-charger: handle get prop errors graciously" 2016-09-19 23:27:55 -07:00
Linux Build Service Account
8935f4d83f Merge "ASoC: msm: qdsp6v2: fix crash during flac superset clip playback" 2016-09-19 23:27:54 -07:00
Linux Build Service Account
f641230ee8 Merge "config: msmcortex: enable qnovo driver" 2016-09-19 23:27:53 -07:00
Hemant Kumar
a778927e2c usb: gadget: Enable L1 suspend by default
Currently L1 suspend is disabled. Superspeed capable
device needs to support L1 suspend in HS/FS/LS mode.
Also, add module parameter to disable L1 suspend in
High speed mode.

Change-Id: Ie8e7f3949d276325305799640f2775343bd6b9da
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-09-19 17:35:44 -07:00
Vamsi Krishna Samavedam
982bc86081 usb: phy: qusb: Reset clock mux to avoid leakage on vdd rail
Reset the clock mux when cable is disconnected and suspended
to avoid leakage on vdd rail. Also, add missing clock reset
when usb cable connect is notified.

Change-Id: If5485379934a222f19f5dd20b8d4f44769470e8d
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2016-09-19 15:17:23 -07:00
Ingrid Gallardo
fc1216dd7c msm: mdss: consider ib to commit the bw vote for mdp
For some use cases, the calculation of the ib
bandwidth prevails over the ab bandwidth. For
such use cases, we must consider the ib as well
as the ab before reducing/increasing the vote,
so the correct sequence to apply the bw vote
is executed along with the HW changes.
Current driver only considers the ab bw and
misses to consider the ib bw during the decision
of when to apply the bw vote.
This change includes ib into the consideration of
when to apply the bw vote.

CRs-Fixed: 1057105
Change-Id: I0822f2e60c4ac22b1636d1d5988ba322dafcdb49
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-09-19 12:53:30 -07:00
Tony Truong
fb1b48f3d8 ARM: dts: msm: update PCIe reset clks for MSM8996 and msmcobalt
API for clock reset is moving to use the reset framework.
To comply with this change, PCIe reset clocks need to be
updated in its devicetree node for MSM8996 and msmcobalt.

Change-Id: I92d6e80898f63700f040f43d133fe461ff458937
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-09-19 10:34:36 -07:00
Tony Truong
8963c2ab15 msm: pcie: add support for reset controller framework
The current api which performs the clock reset is moved
to use the reset framework, so support the changes in PCIe
driver for the same. The reset framework requires to get
reset handle and perform assert/deassert of the resets.

Change-Id: I1ca8bb386673f0db020554659f69c71b540e3dcc
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-09-19 10:34:16 -07:00
Xiaojun Sang
5c65c86e28 ARM: dts: msm: add sound support for msmcobalt skuk
Add sound node entry for msmcobalt qrd skuk to enable audio
components like wsa, earpiece and microphones.

CRs-Fixed: 1062729
Change-Id: I40166e423618f5e78093b22efb5ab5def517a051
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2016-09-19 13:22:24 +08:00
Amir Samuelov
4fa8f96ae6 soc: qcom: spss_utils: fix test_fuse_state_show()
Remove new-line char (\n) when showing attribute.
User space app is expecting "test" or "prod" string,
without the new-line char.

Change-Id: Id44e63dab2fe68398c7b5ecdc423598ad4a27faa
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-09-18 07:53:55 -07:00
Linux Build Service Account
4e2a8a0fa1 Merge "Revert "usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers"" 2016-09-17 21:07:23 -07:00
Linux Build Service Account
d39931458e Merge "Revert "usb: gsi: Queue control notification on gsi_resume"" 2016-09-17 21:07:20 -07:00
Linux Build Service Account
72c2d923b9 Merge "msm: sde: Move SDE rotator timeout evtlog outside of spinlock" 2016-09-17 21:07:20 -07:00
Linux Build Service Account
a8db147fc1 Merge "USB: f_accessory: Fix NULL pointer dereference in acc_read()" 2016-09-17 21:07:16 -07:00
Linux Build Service Account
f18d5b789d Merge "msm: camera: Add support for camera on version 2 of msmcobalt" 2016-09-17 12:59:53 -07:00
Linux Build Service Account
1befebc47d Merge "icnss: Handle multiple PD down notifications" 2016-09-17 12:59:52 -07:00
Linux Build Service Account
c93a92750e Merge "icnss: Top level reset if clocks are dead" 2016-09-17 12:59:52 -07:00
Skylar Chang
a1d527f88f msm: ipa: add support for new QMI IDL
Add support for new QMI IDL in IPA driver for new message
QMI_IPA_INSTALL_FILTER_RULE_EX_REQ_V01 which allows to send
at most 128 rules.

Change-Id: I886e40f597169939ce4598863fd80145743d8db7
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-09-16 17:21:59 -07:00
Mayank Rana
eeddeda6f7 usb: gadget: gsi: Set NUM_OF_TRB as 15 for IN and OUT GSI endpoints
It is recommended to use NUM_OF_TRB greater than USB controller's
TRB cache size. Currently USB controller's TRB cache size on GSI
available platform is 12. TRB ring base address must be aligned to
TRB ring length rounded to power of two. Hence set NUM_OF_TRB as
15 for both IN and OUT GSI endpoints.

CRs-Fixed: 1067833
Change-Id: Iab8b0bc6fd17183fc6056f06a90421cde24987c8
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-09-16 16:21:44 -07:00
Prashanth Bhatta
7b2f56361b icnss: Handle multiple PD down notifications
During recovery, if another PD down notification received because
of crash then handle the case. If debug enabled then BUG_ON to
debug the second crash.

CRs-fixed: 1067873
Change-Id: I6e8e92ca0ee11830f933e198fea502c915d36e59
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-09-16 16:15:30 -07:00
Prashanth Bhatta
7f94163f80 icnss: Top level reset if clocks are dead
During recovery, if not able to force enable hardware clocks then
do top level reset only.

CRs-fixed: 1067868
Change-Id: Ie23ca022c94cd214a9e415e9fb774055cfaf881d
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-09-16 16:15:11 -07:00
Runmin Wang
95a1ccc130 defconfig: msmcortex: Remove panic on SBE
Remove panic on single bit cache error because single bit error
can be corrected.

Change-Id: Id14ffa45a1326e47adc847c012e9ac21c6954990
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-09-16 15:29:55 -07:00
Runmin Wang
a9a0da48eb edac: cortex: Remove WARN_ON messages
Remove warn_on message since the required CPUMERRSR and L2MERRSR
info is already printed in the dmesg.

Change-Id: I2e93bcd1e84d43bc7a58af0be02d5337d936d4ee
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-09-16 15:24:07 -07:00
Venkat Gopalakrishnan
c3d29d4864 phy: qcom-ufs: remove warnings for optional clocks
tx_iface_clk and rx_iface_clk does not exist in newer version
of ufs-phy HW, hence remove the missing clk warnings for them.

Change-Id: Ic8dd3e9521159ce8da064da38cfa12e75f07209f
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-16 15:14:08 -07:00
Tony Truong
e218ba7d2e msm: pcie: initialize var in GPIO init function
It is possible a variable will be accessed before
it is ever initialized. Properly initialize this
variable when it is declared.

Change-Id: Id1523786f1c87449ed3943f1726766dad6a4ade2
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-09-16 14:39:18 -07:00
Ingrid Gallardo
362342211d msm: mdss: avoid shutting down PHY PMIC regulators
As part of the PHY shut down sequence, current driver
disable the phy pmic regulators. This is not the
expected sequence, so make sure the pmic phy
regulators stay enabled.

Change-Id: Ia65a71347666ed9fa3f6bf92fe7c573638301254
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-09-16 14:36:48 -07:00
Avaneesh Kumar Dwivedi
85689f1c26 soc: qcom: ssr: Return from acknowledgment wait if modem is crashed
During graceful shutdown we await acknowledgment before executing
reset sequence for subsystem, adding check to evaluate if subsys is
crashed in between so that we dont spend time for hopeless ack wait.

Change-Id: I34bba1ebc417a3d6daa3b6e0a38c4b519c82c606
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
2016-09-16 22:33:03 +05:30
Linux Build Service Account
8a8abceb69 Merge "ARM: dts: msm: add new clk for native playback on msmcobalt" 2016-09-16 09:22:04 -07:00
Linux Build Service Account
a146b61be9 Merge "ASoC: wcd9335: Add ANC support on speaker path" 2016-09-16 09:22:04 -07:00
Linux Build Service Account
6635751452 Merge "ASoC: wcd934x: update TX modes" 2016-09-16 09:22:01 -07:00
Linux Build Service Account
eb79baaa6b Merge "ASoC: wcd934x: add handset speaker gain mixer control" 2016-09-16 09:22:01 -07:00
Linux Build Service Account
504c6dd5d1 Merge "drivers: mfd: set IIR and ANC registers as volatile" 2016-09-16 09:22:00 -07:00
Linux Build Service Account
7ba1c55052 Merge "ARM: dts: msm: enable bwmon4 for cpubw monitor for msmcobalt" 2016-09-16 09:21:59 -07:00
Linux Build Service Account
93470de0ae Merge "msm: kgsl: Trigger preemption from preemption complete interrupt" 2016-09-16 09:21:58 -07:00
Benjamin Chan
870adafb68 msm: sde: Move SDE rotator timeout evtlog outside of spinlock
During an timeout event in the SDE rotator driver, a spinlock with IRQ
is disabled in order to capture the rotator hw status registers. If
during this time performs an evtlog timeout logging, a mutex_lock
within the logging sequence will cause a panic. We must and only should
perform the evtlog timeout logging after the spinlock is released.

CRs-Fixed: 1067811
Change-Id: I56b7e5713069ad8ac8d5ae43a492a0ab0f4e82ff
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-09-16 08:55:22 -07:00
Linux Build Service Account
6c104f8d40 Merge "ASoC: audio-ext-clk: avoid multiple initialization of pinctrl_info" 2016-09-15 22:51:56 -07:00
Linux Build Service Account
a97736505b Merge "ASoc: wcd934x: correct High-Z mode for dmic pins" 2016-09-15 22:51:55 -07:00
Linux Build Service Account
e3aa58fcc0 Merge "coresight-tmc: save TMC registers during abort" 2016-09-15 22:51:54 -07:00
Linux Build Service Account
cd31b17afd Merge "ASoC: wcd_cpe_core: add arch_setup_dma_ops call" 2016-09-15 22:51:53 -07:00
Linux Build Service Account
5025a44c78 Merge "ASoc: wcd9335: correct native playback widget on msmcobalt" 2016-09-15 22:51:52 -07:00
Linux Build Service Account
144554c35d Merge "msm: ipa: Allocate memory on send message" 2016-09-15 22:51:52 -07:00
Linux Build Service Account
38f8a6a313 Merge "input: touchscreen: pull down reset and interrupt pin before GT9xx powerup" 2016-09-15 22:51:49 -07:00
Linux Build Service Account
4ab368becd Merge "usb: gadget: gsi: Kick state machine with MESSAGE_PACKET_FILTER for RNDIS" 2016-09-15 22:51:48 -07:00
Linux Build Service Account
27332002f8 Merge "sound: usb: Send explicit device disconnect to clients" 2016-09-15 22:51:48 -07:00
Sudheer Papothi
865796aea8 ASoC: wcd9335: Add ANC support on speaker path
On msmcobalt reference platform, earpiece path is not connected
to receiver, instead speaker path is used as receiver. So handset
AANC(Adaptive Active Noise cancellation) needs to be supported
on speaker path. Change enables ANC support on speaker path.

Change-Id: I8104994adc30810085cce73662f5abd5e15106ad
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-09-15 22:20:30 -07:00
Vidyakumar Athota
fd2b9f1daf ASoC: wcd934x: add handset speaker gain mixer control
In msmcobalt platform, speaker path is used for handset mode also.
Add the mixer control to change gain in handset mode.

Change-Id: Ia291f7449cd04a855102a03324f7cdcb6f13dad0
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-09-15 22:09:15 -07:00
Meng Wang
35b034ff27 ASoC: audio-ext-clk: avoid multiple initialization of pinctrl_info
Dynamic detection between wcd9335 and wcd934x codecs is supported on
msmcobalt. Probe sequence of the two codec drivers can occur in any
order. MCLK initialization is common for the two codecs which gets
called twice. Avoid wcd934x codec's probe sequence from resetting
wcd9335 codec's native mclk pinctrl if the pinctrl is already
initialized.

CRs-Fixed: 1066167
Change-Id: Idf65e15e08bb856d65b992b996cffa6ef2e6f974
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2016-09-15 20:49:30 -07:00
Bingzhe Cai
45e3baf40b input: touchscreen: pull down reset and interrupt pin before GT9xx powerup
According to vendor's suggestion, reset pin and interrupt pin must be
pulled down before touchpanel controller power up. This is required
for all Goodix devices.

Change-Id: If16fab02967abbd0c2a6e4365fed76f9e8729bc2
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2016-09-15 20:49:04 -07:00