Commit graph

574525 commits

Author SHA1 Message Date
Linux Build Service Account
6e22b01c91 Merge "input: touchscreen: Goodix gt915 driver cleanup" 2016-08-18 12:03:54 -07:00
Linux Build Service Account
a18fa34ff2 Merge "input: msg21xx_ts: Mstar touch driver optimization" 2016-08-18 12:03:54 -07:00
Linux Build Service Account
86f3aea3e0 Merge "soc: qcom: smem: Renaming smem item SMEM_SMEM_SLOW_CLOCK_SYNC" 2016-08-18 12:03:53 -07:00
David Collins
66f962b149 ARM: dts: msm: add VDD_GFX CPR configurations for msmcobalt v2
Various CPR parameters and the set of supported GPU frequencies
change between MSMCOBALT v1 and v2.  Specify the v2 values for
the VDD_GFX CPR regulator device.

Change-Id: Ia96fdead344e45fa90b57f43c4bf624f90dc5d37
CRs-Fixed: 1054539
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-08-18 10:30:49 -07:00
David Collins
41bf8c626f regulator: cpr3-mmss-regulator: add support for msmcobalt v2 fuses
MSMCOBALT v2 uses different open-loop fuse reference voltages
than MSMCOBALT v1.  Update the cpr3-mmss-regulator driver so that
it uses the proper set of reference voltages for v1 and v2.  Also
change the compatible string of existing MSMCOBALT
cpr3-mmss-regulator devices to be for v1 explicitly so that the
v2 reference voltages are not erroneously used on v1 boards.

Change-Id: I6afda07bb4f37fc753d11e0c142175b962069f0c
CRs-Fixed: 1054539
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-08-18 10:28:37 -07:00
Subhash Jadavani
64e8b93b0a scsi: ufs: kick start clock scaling only after device detection
UFS clock scaling might start kicking in even before the device
is running at the fastest interface speed which is undesirable.
This change moves the clock scaling kick start only after the
device is detected and running at the fastest interface speed.

Change-Id: Id9af7b31eab5b67f4cf2eb38c4e90a568e7968c5
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-08-18 09:45:38 -07:00
Avaneesh Kumar Dwivedi
503eb88359 soc: qcom: Fix compilation error
Fix compilation error for service-locator when Kconfig option
is not enabled as in perf build.

Change-Id: I42bfe4417de8ed7a2e74500bf4f3aee0bedc811c
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
2016-08-18 17:46:45 +05:30
Linux Build Service Account
fa0dc60444 Merge "ARM: dts: msm: add SSC to MDSS DSI PLL for msmcobalt" 2016-08-18 04:59:22 -07:00
Linux Build Service Account
6d2d0bbeba Merge "ASoC: msm: Enable use of noirq playback and capture" 2016-08-18 04:59:21 -07:00
Linux Build Service Account
a6adf04605 Merge "ARM: dts: msm: Add new pcm device node for msmcobalt" 2016-08-18 04:59:20 -07:00
Linux Build Service Account
e14fcb2cff Merge "soc: qcom: irq-helper: Change the sysfs print function" 2016-08-18 04:59:20 -07:00
Linux Build Service Account
b88ee6f933 Merge "spcom: avoid false error message on spcom_device_release()" 2016-08-18 04:59:15 -07:00
Linux Build Service Account
b2397d388f Merge "NFC: Fix unbalanced irq warning stack trace" 2016-08-18 04:59:14 -07:00
Linux Build Service Account
559e948c14 Merge "quick selinux support for tracefs" 2016-08-18 04:59:13 -07:00
Linux Build Service Account
48025d57b5 Merge "defconfig: msm: Create new defconfig for msmfalcon" 2016-08-18 04:59:12 -07:00
Amir Samuelov
8b156ca84f spcom: move some messages to debug
cleanup, avoid printing messages on normal behavior.

Change-Id: I9258ae9a0db8028f8bec88c1d56a59c86377f366
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-08-18 02:58:36 -07:00
Anirudh Ghayal
e759633f97 soc: qcom: spm: Poll for the PMIC_STATE after updating the VCTL register
The PMIC_STATE is expected to move to idle after the VCTL register
value is written to the PMIC.

Also update the PMIC_STATE poll timeout to 500us for all the targets.

CRs-Fixed: 1024714
Change-Id: If9d9875a967179c6ee5fced8f019c01f1a2f0583
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2016-08-18 14:10:18 +05:30
Lijuan Gao
cb761170c7 drivers: power: reset: Do warm reset when device reboot to edl
Device reboot to edl, it's for switching device to emergency dload mode.
So it's need to keep device to do warm reset.

Change-Id: I8f5d0845c6f2d37ea740949ce56e02c4cc7412be
Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
2016-08-18 00:11:45 -07:00
Walter Yang
6f89b8c5ed ARM: dts: msm: add node for msmcobalt hardware switches
Add gpio controller node for msmcolbalt, so that we can initialize
and control us_euro/hifi_hph_en switches on board.

Change-Id: I5e39d88ab2e814d7bfb386b0355a65ee166cfbb0
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2016-08-17 22:18:56 -07:00
Walter Yang
669c51e0d9 ASoC: msm: add pinctrl support for wcd934x hifi hph switches
Add pinctrl support in machine driver to control hph_en0/hph_en1
gpios owned by wcd934x.

Change-Id: I99a7746259c563379d060c10bbd602d3e6a65746
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2016-08-17 22:18:41 -07:00
Linux Build Service Account
947004a614 Merge "ASoC: wcd_cpe_services: Process detection events in SEND state" 2016-08-17 20:28:44 -07:00
Linux Build Service Account
22ca7c4d13 Merge "mfd: wcd9xxx-slimslave: Add playback support for 44.1KHz multiples" 2016-08-17 20:28:43 -07:00
Linux Build Service Account
c07b149eee Merge "usb: pd: Fix ERROR_RECOVERY handling" 2016-08-17 20:28:42 -07:00
Linux Build Service Account
bd641c5b2b Merge "usb: pd: Improve timing accuracy" 2016-08-17 20:28:41 -07:00
Linux Build Service Account
f4bdb94431 Merge "usb: qmp: phy: Make sure QMP PHY write completed" 2016-08-17 20:28:41 -07:00
Linux Build Service Account
893c3bc29f Merge "regulator: cpr3-regulator: support disabling CPRh hardware closed-loop" 2016-08-17 20:28:40 -07:00
Linux Build Service Account
53b57a765f Merge "scsi: ufs: disable ah8 during suspend and enable it on resume" 2016-08-17 20:28:39 -07:00
Linux Build Service Account
7232046f64 Merge "scsi: ufs: optimize clock gate work" 2016-08-17 20:28:38 -07:00
Linux Build Service Account
3c240cf2be Merge "slim-msm: Handling resources during port de-allocation" 2016-08-17 20:28:38 -07:00
Linux Build Service Account
d5456c5703 Merge "ARM: dts: msm: Remove clocks listed under video and camera GDSC nodes" 2016-08-17 20:28:37 -07:00
Linux Build Service Account
2165532d6e Merge "msm: sde: shutoff memory and periphery when clock is off" 2016-08-17 20:28:36 -07:00
Srinu Gorle
51c0005150 msm: vidc: Propagate time stamp information even filled length is zero
Few msm targets do not have video concealment support.
As concealment not happening for corrupted frames,
filled length will be zero. But video clients are expecting
time stamp information for corrupted frames as well.
Remove filled length verification to propagate timestamp information.

CRs-Fixed: 1041031
Change-Id: Ic3d204189f9ecb812705f501f269c085c8bbe34f
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org>
2016-08-17 19:09:23 -07:00
Subash Abhinov Kasiviswanathan
44238114a0 defconfig: Enable support for destroying TCP sockets through diag
This enables the SOCK_DESTROY feature for TCP sockets. When changing
networks, this is needed to close all blocking calls on existing
sockets and return ECONNABORTED and close the socket gracefully.
The other end of the connection is sent a RST to notify this event.

This feature was earlier implemented using IOCTL SIOCKILLADDR and
called a custom function tcp_nuke_addr internally. This
functionality will be deprecated going forward in favor of
SOCK_DESTROY.

CRs-Fixed: 1056029
Change-Id: Ibdba6c1a4fc4ce75d8ba1b6c61353ab6662e7914
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2016-08-17 19:40:21 -06:00
Mayank Rana
e449829951 usb: phy: qusb: reset size to zero before getting next property size
For emulation platform, there are multiple PHY init sequence passed
through device tree. On some platform all PHY init sequence is not
required. This results into using zero as value and offset with PHY
init sequence which is not passed through device tree as of_get_property()
doesn't update size variable if property is not found. Hence reset size
variable to zero before querying next property size.

CRs-Fixed: 1056000
Change-Id: I0c1af2e3a4f3d530af8d8bbec2f41408ab78ed96
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-08-17 18:01:40 -07:00
Tony Truong
437464bf8d msm: pcie: config core and peripheral memory for PCIe clocks
Some PCIe clocks require PCIe bus driver to enable/disable
core and peripheral memory settings. To achieve optimal power
when the link is off, these settings should be set to disabled.
Add support to configure core and peripheral memory for PCIe
clocks.

Change-Id: I23ef75dd8bbf0f0b1c01fd30b8bae4116e106cc2
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-08-17 17:48:14 -07:00
Chinmay Sawarkar
76ae186001 ARM: dts: msm: Update venus clock frequencies on msmcobalt v2
Aligns the frequencies to the FMAX values defined by clock
driver for venus on msmcobalt v2 target. Also link these
frequencies to appropriate load values and imem ab levels.

CRs-Fixed: 1053136
Change-Id: I755d1ad62de97ded55f73148e1a56bc3afafc03b
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
2016-08-17 17:43:35 -07:00
Satya Durga Srinivasu Prabhala
04f6ba95d3 ARM: dts: msm: Add support for msmcobalt v2.1
This commit adds support for msmcobalt v2.1 chip on mtp, cdp and
qrd platforms.

CRs-Fixed: 1053410
Change-Id: I877e9816a226a54b16167cc6978e97fd0b298fb8
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-08-17 16:59:20 -07:00
Amir Vajid
137bab8eec ARM: dts: msm: add initial cpu mapping table for memlat
Add an initial core-dev mapping table for memlat to
improve power and performance.

Change-Id: I90b400adb7607aa9833a39e0d58e978336b6c1bc
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
2016-08-17 16:57:03 -07:00
Shubhraprakash Das
26ea3057fc msm: camera: isp: Add code for new request frame command
Add code to handle the new request frame command that takes
a buffer index

CRs-Fixed: 1012335
Change-Id: I9dfdc185fda547eea8fccd8d463911a93e582931
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
Signed-off-by: Harsh Shah <harshs@codeaurora.org>
2016-08-17 16:52:57 -07:00
Harsh Shah
06108b52b7 msm: camera: isp: Create union for update command payload
The update command can take different types of commands, new commands
may have a different structure requirements. Create union for
the payload so new commands can be added with their own payload
structure.

CRs-Fixed: 1012335
Change-Id: Ia43e47f13c112122baec87ee7b639c17b49366c4
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
Signed-off-by: Harsh Shah <harshs@codeaurora.org>
2016-08-17 16:52:45 -07:00
Hemant Kumar
a03c51a137 usb: gadget: composite: Return bcdUSB 0x0310 for Superspeed and higher
As per USB 3.1 Specification, Revision 1.0, Section 9.6 all new
devices running at SuperSpeed or higher speeds must report a
bcdUSB of 0x0310.

Change-Id: I253d0114fadb33456c7a0eb823d29aade1f33dc1
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-17 16:51:54 -07:00
Satya Durga Srinivasu Prabhala
1ebe55efef ARM: dts: msm: Add support for msmcobalt v2 on qrd platform
This commit adds support for msmcobalt v2 chip on qrd platform.

CRs-Fixed: 1053410
Change-Id: I8aa775e15105d1508e387076d7ca127b7204d755
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-08-17 16:49:32 -07:00
Ajay Singh Parmar
683b047d9e msm: mdss: dp: add connected sysfs node
Add sysfs node to provide the status of display-port's cable
connection. Framework may query about the interface connection
status before powering it on.

Change-Id: I43d0d18b875c4516727f91c57cfb571e3ac91706
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-08-17 16:41:30 -07:00
Rohit Gupta
3087c5f20d PM / devfreq: memlat: Add a core to memory frequency mapping table
Add a core to memory frequency mapping table, which establishes
a relationship between the core frequency and its corresponding
bandwidth vote.

The governor expects a "qcom,core-dev-table" table as part of a given
memlat hardware monitor's device tree node.

This table is read upon registration of the memlat governor. The table
is then used to determine the memory bandwidth vote corresponding to the
maximum of the core frequencies.

CRs-Fixed: 1054146
Change-Id: I9df118da1433125b02c937bf1799a0944b110fac
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
Suggested-by: Saravana Kannan <skannan@codeaurora.org>
2016-08-17 16:37:23 -07:00
Ajay Singh Parmar
68b901051b msm: mdss: hdcp: change the name of hdmi_hdcp to generic one
Currently hdcp 1.x is being used by HDMI only. But it can be
used by other interfaces like DP (Display Port). Change the
name of the hdmi_hdcp module to hdcp_1x so that different
interfaces uses more generic name for hdcp 1.x instead of
the interface specific name.

Change-Id: I0cb88c5715dd10c4fad5491e5f05ea489a7ab175
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-08-17 16:22:23 -07:00
Ajay Singh Parmar
7038f0a697 msm: mdss: dp: add hdcp support to display-port
Initialize the hdcp 1.x module and get hdcp operations.
On DP power, start the hdcp authentication and handle
the result in a call back. Re-authenticate in case
authentication failed. When DP is powered off, tear down
the hdcp session.

Change-Id: Ia321ab17bc9f9aeec1078d6f5199582f9b410b94
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-08-17 16:22:15 -07:00
Shashank Mittal
311355d2d1 defconfig: msm: disable CoreSight ETM support for msmcobalt
Disable CoreSight ETM and remote ETM configuration for perf defconfig.
ETM configuration requires jtag save and restore configuration to be
enabled which requires QDSS core clock to be on all the time.

Change-Id: I57019e9b6be7f9020eed3cf730bf5b37ea4a1f98
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-08-17 16:20:50 -07:00
Shiv Maliyappanahalli
e41138f310 ASoC: codecs: fix edid error when hdmi ops is null
When edid mixer control is executed, if the hdmi ops is
not set, the mixer control get_info() returns error.
This error is treated as fatal by the caller.

Fix by returning valid mixer control info when hdmi ops
is null.

Change-Id: I0097a75d94690b199fab1adc7f2ff3faa2d82e7b
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
2016-08-17 16:12:58 -07:00
Phani Kumar Uppalapati
bb017be51a ASoC: msm: Add Slimbus6 playback dai-link
Add slimbus6 playback back-end dai-link on msmcobalt
platform with wcd934x audio codec. This dai-link enables
audio playback over headphones.

Change-Id: I83c2291909bda2473d7d0b3147b4a0244f7450b0
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-08-17 16:08:59 -07:00
Hemant Kumar
98aecd6043 usb: gadget: f_gsi: Fix alternate index returned by gsi_get_alt
RNDIS, RMNET and DPL only supports alternate index 0. Instead of
returning value of data_interface_up which is used for interfaces
supporting non-zero alternate index, simply return 0.

Change-Id: I7fe6c7c636207cd4f85d468f61c87e5a4e12b0ac
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-17 15:55:09 -07:00