Commit graph

572478 commits

Author SHA1 Message Date
Bingzhe Cai
633e973e5f input: touchpanel: Move Goodix GT915 driver to drivers folder
Goodix GT915 driver was provided by vendor and cherry-picked into
our project, it need to be placed to right location.

Change-Id: Idf191144354426233eca41727a41e26ddbf92f95
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Pan Fang <fangpan@codeaurora.org>
2016-08-01 21:25:25 -07:00
Linux Build Service Account
0fdb8c8eae Merge "ASoC: msmcobalt: Fix channel configuration on msmcobalt" 2016-08-01 08:04:24 -07:00
Linux Build Service Account
b046eabba1 Merge "ASoC: msm: Implement HFP tx mute get function" 2016-08-01 08:04:23 -07:00
Linux Build Service Account
491adb8744 Merge "ASoC: msm: qdsp6v2: Add support to set volume in ASM loopback" 2016-08-01 08:04:22 -07:00
Linux Build Service Account
83978dfbc0 Merge "ASoC: msm-cpe-lsm: add support for two CPE sessions" 2016-08-01 08:04:21 -07:00
Linux Build Service Account
09955c92f3 Merge "ASoC: msmcobalt: Add 24 bit packed support" 2016-08-01 08:04:20 -07:00
Linux Build Service Account
2566204c8d Merge "ARM: dts: msm: By default, handle FW errors as fatal on msmcobalt" 2016-08-01 03:01:57 -07:00
Linux Build Service Account
8560f5d5ea Merge "input: touchscreen: add touch to wake feature in ITEtech driver" 2016-08-01 03:01:55 -07:00
Linux Build Service Account
45e9c3f685 Merge "qseecom: validate the inputs of __qseecom_send_modfd_resp" 2016-08-01 03:01:54 -07:00
Manish Dewangan
898fd01bf2 ASoC: msmcobalt: Add 24 bit packed support
Changes to support packed 24 bit (SNDRV_PCM_FORMAT_S24_3LE)

CRs-Fixed: 1011048
Change-Id: Id927e9b8894b1bf99e57cc0f04abf126740c6d36
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
2016-08-01 01:15:50 -07:00
Shantanu Jain
6145f7f671 input: touchscreen: add touch to wake feature in ITEtech driver
Add touch to wake feature in ITE tech touchscreen driver.
The touchscreen interrupt is configured as wakeable interrupt,
so TS can be used to wake the device from suspend state.

Change-Id: I8da53ab4f03237b8652cd5891eadbffa752d72d3
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-07-31 23:18:35 -07:00
Shantanu Jain
8b724a99b7 input: it7258_ts_i2c: add debugfs support for suspend/resume
Add debugfs support for suspend and resume test for ITE
tech touchscreen driver.

Change-Id: I5a3d55c7c8e4b8f594fd7924c61ac1e5b5ad1965
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-07-31 23:16:48 -07:00
Linux Build Service Account
eed72db02a Merge "ASoC: audio-ext-clk: check for null pointer de-reference" 2016-07-31 21:36:45 -07:00
Linux Build Service Account
1c1be8be73 Merge "ARM: dts: msm: add battery profiles to msmcobalt MTP" 2016-07-31 15:57:10 -07:00
Linux Build Service Account
271f251f36 Merge "ARM: dts: msm: add batterydata for itech and ascent batteries" 2016-07-31 15:57:09 -07:00
Linux Build Service Account
902583a46d Merge "ft5x06: Set input property bit to indicate a direct input device" 2016-07-31 10:19:13 -07:00
Linux Build Service Account
25d359f4e4 Merge "msm: mdss: add support to configure transfer unit for DP" 2016-07-31 10:19:10 -07:00
Linux Build Service Account
0576399f61 Merge "input: touchscreen: synaptics v1.1" 2016-07-31 10:19:09 -07:00
Himanshu Aggarwal
59a666fb58 input: touchscreen: add protocol A support to ITE tech driver
Add multi-touch protocol A support to ITE tech touchscreen
driver.

Change-Id: I49bc7e3eaa3b266fe92bb209f56ae5a1b40675e0
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-07-30 22:55:58 -07:00
Shantanu Jain
a444cab639 input: touchscreen: add suspend-resume and fb support
Add suspend-resume and fb notification support for
ITE tech touchscreen driver.

Change-Id: I9a601412fb9a3935c0eadad5157bb1fd819b29dd
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-07-30 22:55:34 -07:00
Linux Build Service Account
7093e6ce4b Merge "usb: dwc3: Update VBUS status with USB controller" 2016-07-30 14:11:34 -07:00
Linux Build Service Account
2a298044ec Merge "usb: phy: qusb: Remove updating VBUS status from QUSB PHY driver" 2016-07-30 14:11:33 -07:00
Sudheer Papothi
32af1c5f42 ASoC: msmcobalt: Fix channel configuration on msmcobalt
Channel ids are not updated correctly in hardware params
fixup resulting in audio mute on one of the channels on headphones.
Fix the channel ids properly in msmcobalt machine driver hardware
params fixup.

CRs-Fixed: 1034829
Change-Id: If23da9ac1d2f71ad4d39371b665311f1f84b016a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-07-30 03:38:00 +05:30
Zhen Kong
cfa588d94a qseecom: validate the inputs of __qseecom_send_modfd_resp
The resp_len and resp_buf_ptr of qseecom_send_modfd_listener_resp
are not checked, then an userspace application that manipulates
resp_len can corrupt the kernel memory. Thus make changes to
validate these parameters.

CRs-fixed: 1036418
Change-Id: Id43ec6b55b332d0dac09a9abb998a410f49b44f7
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-07-29 12:21:30 -07:00
Mayank Rana
d59b5a86d7 usb: dwc3: Update VBUS status with USB controller
It is required to update VBUS status to USB controller using qscratch
registers HS_PHY_CTRL and SS_PHY_CTRL interfacing high-speed and
super-speed PHYs. This change perfoms same from USB controller's glue
driver on starting and stopping peripheral mode based on supported
USB speed with USB gadget.

It also updates devicetree documentation explicitly mentioning required
register sets.

CRs-Fixed: 1046503
Change-Id: I92df87c0e2ff54dd7ee513d277cc075eab561019
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-07-29 11:39:35 -07:00
Mayank Rana
7d94325630 usb: phy: qusb: Remove updating VBUS status from QUSB PHY driver
This change removes updating VBUS status from QUSB PHY driver using
QSCRATCH register. New change would be adding same functionality from
USB controller driver.

- It also updates devicetree documentation and existing supported
MSM platforms' USB device node property to accommodate above changes.

CRs-Fixed: 1046503
Change-Id: I4573a077bb455ebe3750ab76a91d2593d7e94ea5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-07-29 11:39:25 -07:00
Linux Build Service Account
77e6c75442 Merge "cfg80211: Advertise extended capabilities per interface type to userspace" 2016-07-29 11:24:31 -07:00
Linux Build Service Account
e21b49baaf Merge "msm: ipa3: add mapping for IPA SMEM to SMMU" 2016-07-29 11:24:30 -07:00
Linux Build Service Account
29e6a3b923 Merge "msm: ipa3: add support for additional mappings to smmu" 2016-07-29 11:24:29 -07:00
Linux Build Service Account
4065bfcc2f Merge "scsi: ufs: return appropriate error code" 2016-07-29 11:24:28 -07:00
Linux Build Service Account
4d639b901b Merge "ARM: dts: msm: Enable the GPU QDSS STM for msm8996" 2016-07-29 11:24:28 -07:00
Subbaraman Narayanamurthy
5d12dfffb4 ARM: dts: msm: add battery profiles to msmcobalt MTP
Ascent and Itech batteries might be used with msmcobalt MTP. Add
the battery profiles to support that.

Change-Id: Icfed6881763df35a7f948f171856903de7e07a2a
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-07-29 11:10:47 -07:00
Subbaraman Narayanamurthy
064f1af82c ARM: dts: msm: add batterydata for itech and ascent batteries
Batterydata for itech 3000mah and ascent 3450mah batteries are
newly created to be used with GEN3 FG on pmicobalt. Add them.

Change-Id: I0fe51b607d44920784cc0bb8bfd442e81f3c5d3d
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-07-29 11:10:47 -07:00
Amy Maloche
5d244099f0 ft5x06: Set input property bit to indicate a direct input device
Property bit is checked in userspace and must be set in
driver in order to be recognized correctly since it defaults
to mouse pointer.

Change-Id: Ibdc78547e6376e6db54db75b1423718d13afaaa7
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2016-07-29 03:39:06 -07:00
Chandan Uddaraju
63dbca3ed8 msm: mdss: add support to configure transfer unit for DP
Configure the transfer unit settings to control the
symbol stuffing.

Change-Id: I80d6c1ae6d7096e170105e5d297a563b3bee053d
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:17:31 -07:00
Chandan Uddaraju
ba7779beec mdss: display-port: add mutex logic and configure data lanes
Add locking mechanism for host init. Remove mainlink_reset
before configuring the link rates.

Depending on the USB plug orientation, configure the
lane mapping register to support display-port over
usb-type-c port.

Change-Id: I7bf3fc6e102df113611b9450c92ecd4e50b26fb4
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:17:15 -07:00
Chandan Uddaraju
160151f738 mdss: display-port: add support for USB type-C Alt mode
This change is needed to support display port
over USB type-C port. Add usbpd changes to
enable display port using Alternate mode for
type-C port.

Add support to parse VDO messages and send dp_config
packets when HPD is high.

Change-Id: I3ea5d969a73e3418af23ba4d8b7374fb20d2889f
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:16:58 -07:00
Chandan Uddaraju
e400fce1aa msm: mdss: display-port: add support to configure pixel and link rates
Use the DPCD info to configure pixel and link rates
supported by the sink.

Change-Id: Idd7ba4b564b013eda7596a111b9b934f6b6ff84f
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:16:44 -07:00
Chandan Uddaraju
20f40d92b8 mdss: display-port: fix register offsets for link training
Add proper register base and register address offsets
when configuring the voltage swings and preemphsis
settings. Fix interrupt register bit for VIDEO_READY.

Change-Id: I6e89f6fbb3660d13c186b38eb7ca1f71cbe8109d
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:16:30 -07:00
Chandan Uddaraju
f34448c324 mdss: display-port: add support for DP related gpios
The DP driver will need GPIOs to configure the
AUX channel and orientation of USB type-C port. Add
support for the GPIOs.

Change-Id: I9940ff3cbcca7dd0ac972cabbfddcbd9ac4657fa
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:16:14 -07:00
Chandan Uddaraju
48965d20af msm: mdss: fix clock and regulator configurations for DP
Add support for clock initialization during driver probe.
Add support to configure clock rates before enabling the
clocks.

Fix the regulators disable sequence for display-port.

We can only read hardware revision register only after
configuring the PHY. Move revision read to host_init()
function.

Change-Id: I0e9f6caf84a8cdd825002938dad18482e2489cbd
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:14:27 -07:00
Shantanu Jain
1108a17322 input: ft5x06_ts: clean up the focaltech touchscreen driver
Clean up the focaltech driver by fixing the following checkpatch
errors.

1. else is not generally useful after a break or return
2. Possible unnecessary 'out of memory' message
3. Using __devexit is unnecessary
4. Unnecessary space before function pointer arguments

This patch is a propagated patch from 3.18 kernel
'commit 2b6ea311a968 ("input: ft5x06_ts: fix checkpatch errors")'

Change-Id: I36ed0497c12b0f14e9d7b60c2d8e78729871b8d0
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
2016-07-29 12:18:37 +05:30
Kanchanapally, Vidyullatha
33ec44fb7e cfg80211: Advertise extended capabilities per interface type to userspace
The driver extended capabilities may differ for different
interface types which the userspace needs to know (for
example the fine timing measurement initiator and responder
bits might differ for a station and AP). Add a new nl80211
attribute to provide extended capabilities per interface type
to userspace.

Signed-off-by: Vidyullatha Kanchanapally <vkanchan@qti.qualcomm.com>
Reviewed-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 019ae3a918811715192b22c400ac78d54acc26a9
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
CRs-fixed: 1030694
Change-Id: I816b21d8433aea9407a14a8c8a5098701ee53b8c
[pkushwah@codeaurora.org: backport to 4.4-This commit includes the
changes from following commits in include/uapi/linux/nl80211.h to compile
for msm-4.4.
38de03d2a28925b489c11546804e2f5418cc17a4 :
nl80211: add feature for BSS selection support.
17b942478643c5a90c06d978479bd326040bfa19 :
cfg80211: allow userspace to specify client P2P PS support.
9b95fe59b18bcc891a6c60ae11d725c9c679574b :
nl80211: add missing kerneldoc for new *_PAD attributes.
2dad624e6dd65c6048a9bbe0e16559fce182c87c :
wireless: use nla_put_u64_64bit().]
Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
2016-07-28 22:24:57 -07:00
Venkat Gopalakrishnan
4667018ad7 scsi: ufs: return appropriate error code
If link recovery succeeds after a hibern8 exit failure,
return success as the link is active now for use.

Change-Id: I76ac226a2a1e33dd9c6240cac3443a03355bb75e
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-07-28 13:15:01 -07:00
Chinmay Sawarkar
2e1c097214 ARM: dts: msm: By default, handle FW errors as fatal on msmcobalt
All FW errors such as SYS_ERROR, SESSION_ERROR and timeouts
will be treated as Fatal.

CRs-Fixed: 1037031
Change-Id: I12463f98cf50f5c8cdfdd47775dec075219974d6
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
2016-07-28 12:21:57 -07:00
Sudheer Papothi
712b785a73 ASoC: msm-cpe-lsm: add support for two CPE sessions
Existing CPE(Codec Processing Engine) driver supports single session.
Add support for two sessions with different sampling rates.

CRs-fixed: 1022917
Change-Id: Icb355cd07db9cc66632ac0ea14464c5610919725
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-07-28 11:20:07 -07:00
Dhanalakshmi Siddani
78505032fe ASoC: msm: Implement HFP tx mute get function
Implement function to get HFP Tx mute status.

CRs-Fixed: 1045063
Change-Id: I64931decb9948ed47f046c0b6267150fe512a3dc
Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
2016-07-28 01:18:31 -07:00
Abinaya P
70dede533e input: it7258_ts_i2c: add DT parsing support for touch driver
Add device tree support for ITE Tech touch controller driver.

Change-Id: I2671b7c30b0f2ed1d7ad788f29b7f900a2a1cdcc
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
2016-07-28 11:31:53 +05:30
Linux Build Service Account
956d9b1ab3 Merge "thermal: tsens: Remove registering for Critical trip zone" 2016-07-27 19:27:17 -07:00
Linux Build Service Account
006d8efe02 Merge "defconfig: msmcortex: Enable FG_GEN3 driver" 2016-07-27 19:27:15 -07:00