Commit graph

580339 commits

Author SHA1 Message Date
Linux Build Service Account
315701b38c Merge "defconfig: enable qdss nodes in msmfalcon" 2016-12-19 00:44:47 -08:00
Linux Build Service Account
f91787c40f Merge "ARM: dts: msm: Move to RPM based regulators for msmtriton" 2016-12-19 00:44:46 -08:00
Linux Build Service Account
79b87f8500 Merge "ASoC: msm: Disable audio SSR for msmfalcon" 2016-12-19 00:44:45 -08:00
Linux Build Service Account
08e940fc22 Merge "ARM: dts: msm: Add temp alarm nodes for pm/pm2falcon" 2016-12-19 00:44:44 -08:00
Linux Build Service Account
dfff00f2cb Merge "msm: mdss: Clear compat structures before copying to user" 2016-12-19 00:44:44 -08:00
Linux Build Service Account
f36768e3d1 Merge "defconfig: Enable config INET_DIAG_DESTROY" 2016-12-19 00:44:43 -08:00
Linux Build Service Account
421c7867d1 Merge "soc: qcom: glink: Add pending remote done packets to intent purge" 2016-12-19 00:44:42 -08:00
Linux Build Service Account
0bdc62e764 Merge "mm: cma: check the max limit for cma allocation" 2016-12-19 00:44:41 -08:00
Linux Build Service Account
5965df008a Merge "ARM: dts: msm: Add qcom,msm-imem-diag-dload node on msmfalcon/msmtriton" 2016-12-19 00:44:41 -08:00
Linux Build Service Account
08c0ea3598 Merge "defconfig: msmfalcon: enable host CDC-ECM class support" 2016-12-19 00:44:40 -08:00
Linux Build Service Account
1e762c1ec1 Merge "msm: vidc: remove redundant init_completion() calls" 2016-12-19 00:44:39 -08:00
Linux Build Service Account
bdd4cbfb26 Merge "msm: camera: isp: Fix HVX streaming after crash" 2016-12-19 00:44:38 -08:00
Linux Build Service Account
98c2870e09 Merge "msm: sensor: fixing errors due to csiphy clock release" 2016-12-19 00:44:38 -08:00
Linux Build Service Account
c95f04487e Merge "ARM: dts: msm: Add cpp src clock rates configuration for msm8996" 2016-12-19 00:44:37 -08:00
Linux Build Service Account
53bcc4875b Merge "msm: vidc: Add port information to flush_done event" 2016-12-19 00:44:36 -08:00
Linux Build Service Account
95fc2dedfd Merge "usb: gadget: composite: Add spinlock protection for usb string descriptor" 2016-12-19 00:44:35 -08:00
Linux Build Service Account
d763842b90 Merge "msm: rdbg: Add snapshot of remote debugger driver" 2016-12-19 00:44:34 -08:00
Linux Build Service Account
7afb1a9d65 Merge "msm: sensor: Fix to read the parameters from slave info" 2016-12-19 00:44:33 -08:00
zhenchao
d5794045ce ARM: dts: msm: Modify BT node for QRD interposer msm8998
Modify BT node for QRD interposer msm8998. Update voltage
regulators and clocks to sync with msm8998 interposer mtp.

CRs-Fixed: 1088153
Change-Id: I3499b2ee5bb1ddb74fc94fa55d3f5a8170d72b98
Signed-off-by: zhenchao <zhenchao@codeaurora.org>
2016-12-19 00:28:46 -08:00
Ananda Kishore
6e76078030 sensors: ssc: update device tree documentation for ssc based sensors
Update documentation for ssc based sensors device tree to make
firmware name optional. Firmware is optional if sensors driver is
sharing processor.

Change-Id: Ia417f6fa47d7570a6560b1409fe61c0d22ad6aac
Signed-off-by: Ananda Kishore <kananda@codeaurora.org>
2016-12-19 13:36:30 +05:30
Sandeep Panda
ab98cfe02e defconfig: msmfalcon: enable compilation of MDSS PLL driver
Add necessary configuration to enable compilation of MDSS
PLL driver which is now based on common clock framework for
msmfalcon platform.

Change-Id: Iba01736475b852d8d64f944c371e585c94b85114
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2016-12-19 12:50:23 +05:30
Maulik Shah
4c79c86589 drivers: cpuidle: lpm-levels: Fix round off error in calculation
Fix round off error in calculation of wake up time programmed.
Current implementation adds extra delay in wake up time due to
round off error in conversion of usec to SCLK. Use nsec instead.

CRs-fixed: 1081884
Change-Id: Iecb3b06cde79c59c24a0e56ef05c41a5f9b6204e
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2016-12-19 12:50:09 +05:30
Rama Krishna Phani A
e9a8a791da thermal: tsens: Add support to parse critical interrupt properties
Add support to mask watchdog bark interrupt and controller cycle
completion as part of critical interrupt. Add support to mask the
corresponding properties if available in the controller.

Change-Id: I9445db12044071f92715a60cb76c38d061748cfa
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2016-12-19 12:15:52 +05:30
ansharma
749935230e ARM: dts: msm: Enable Gm control for pm2falcon
Error amp Gm(LOOP_GM) adaptively changes with brightness. As
brightness decreases, Gm increases.

CRs-Fixed: 1102641
Change-Id: I3dde602e434971cca8ec0947198d1c7b441168cf
Signed-off-by: ansharma <ansharma@codeaurora.org>
2016-12-19 12:01:09 +05:30
ansharma
66a9333cd8 ARM: dts: msm: Configure WLED for mdss on pm2falcon interposer
Specify the number of strings in WLED properly to support
brightness for mdss on msmfalcon interposer.

CRs-Fixed: 1090076
Change-Id: If5dbc043f4708ffe6c474ce688ea86572c1b9ffd
Signed-off-by: ansharma <ansharma@codeaurora.org>
2016-12-19 11:58:41 +05:30
cyizhao
1dd5515dbb ARM: dts: msm: Delete RGB led trigger properties in QRD 8998 SKUK
Delete RGB led trigger properties to remove the led control in kernel
space.

CRs-Fixed: 1094158
Change-Id: I8b28ece4bbfe76e3d9b003e14c6600b856c30043
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
2016-12-18 21:16:21 -08:00
cyizhao
ce1f9f6dab ARM: dts: msm: Enable volume up key for 8998 QRD interposer
GPIO7 is used for volume up key on 8998 QRD interposer device,
configure it to input and pull-up and add gpio-keys device to
enable the key detection.

CRs-Fixed: 1098142
Change-Id: I45ec6a02fc6f74ee871455c5662f62f1cfa7bc74
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
2016-12-18 21:14:40 -08:00
Xiaojun Sang
f14390f13e ASoC: soc: msm: initialize buffer to prevent kernel data leakage
To prevent potential kernel stack data leakage, initialize
channel_map[].

CRs-Fixed: 1100878
Change-Id: I7b81cea20485bc7514551672bb54c7fd455049e3
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2016-12-19 12:44:44 +08:00
Pengfei Liu
601e0dc02f ARM: dts: msm: Add dual camera support for qrd8998 skuk board
Add dual camera related modifications for qrd8998 skuk board.
The modifications includes rear/aux camera device node and
corresponding eeprom/actuator/ois device node.

Change-Id: I21110b930cf5a74a656e40f2f3210cc57ae91b95
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
2016-12-19 10:51:18 +08:00
Linux Build Service Account
2d28ff0953 Merge "clk: qcom: add common clock framework support for MDSS PLL" 2016-12-18 14:48:01 -08:00
Linux Build Service Account
4d86efbfe8 Merge "ARM: dts: msm: Remove write of acc register for MSMFalcon/Triton/8998" 2016-12-18 14:48:00 -08:00
Linux Build Service Account
f58596e5e4 Merge "soc: qcom: pil-q6v5: Update the reset sequence for qdspv62.1.2/1.5" 2016-12-18 14:47:59 -08:00
Linux Build Service Account
4639e34368 Merge "ARM: dts: msm: Move boot_rom_ahb_clk to proxy voted for msm8998" 2016-12-18 14:47:58 -08:00
Linux Build Service Account
4eadfaf5f8 Merge "msm: kgsl: Add Bind objects to dispatcher draw queue" 2016-12-18 14:47:58 -08:00
Linux Build Service Account
7a9eaaea15 Merge "soc: qcom: pil: Initialize variable to avoid invalid access" 2016-12-18 14:47:57 -08:00
Hamad Kadmany
2c7b4349b8 wil6210: Block write ioctl to the card by default
The ability to write to the card is used for debug purposes.
The ability is disabled by default to prevent misuse of
this functionality.

CRs-Fixed: 1096945
Change-Id: I8fc3f646a0127ec705239be6a7de858a4f805acc
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2016-12-18 15:03:11 +02:00
Raju P.L.S.S.S.N
d6b27f7bdd ARM: dts: msm: Add lpass pmu irq to mpm wakeup list for msmfalcon
lpass_pmu_tmr_timeout_irq_cx 519 is enabled if ADSP is unable to
wakeup from island retention due to power management failure.
Add this to MPM wakeup list to handle such scenario.

Change-Id: I71bd87330f64322f54693a4c412f0af69cd3c704
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
2016-12-17 20:20:24 +05:30
Suyog Sarda
61c423799f lowmemorykiller: Introduce sysfs node for ALMK and PPR adj threshold
The grouping of tasks based on oom_score_adj values change from
one framework to another. This requires corresponding changes in
the threshold values set for almk and per process reclaim.
Introduce sysfs nodes to set threshold adj for process reclaim
and adaptive LMK dynamically.

Change-Id: Ib7565bfd5d2e93aa4ff8fdd20414cac0a0f38bf7
Signed-off-by: Suyog Sarda <ssarda@codeaurora.org>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-12-17 16:16:17 +05:30
Laxminath Kasam
3a4e5da048 ARM: dts: msm: Add audio nodes for msmfalcon internal codec
Add device tree nodes for  audio digital, analog, soundwire codecs.
Also add internal codec sound node for msmfalcon. Add LPI pinctrl instance
to support audio related LPI GPIOs. Update clock-ids and controllers
for PMI, AP and LNBB audio related clocks.

Change-Id: Idf6f56a365fdd57f4b0b191ee7bfb5e831abf443
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-12-17 11:38:28 +05:30
Laxminath Kasam
69898f6728 ASoC: msm: migrate to cdc pinctrl functions
For audio pinctrl settings in internal codec,
use cdc pinctrl functions to activate and
suspend gpios.

Change-Id: Ib0de01379a02636d35b49770aa82ea53de7c2768
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-12-17 11:38:24 +05:30
Laxminath Kasam
7296f6d92b ASoC: codecs: Update internal codec as split codecs
Internal codec variant has digital codec in
MSM and analog codec in PMIC, add respective
split codecs support to register two separate codecs.
Add digital codec as a child to analog codec and
handle inter-dependencies like sequences, SSR,
version info.

Change-Id: I6ead859ed0ad5c926d439a3985a5c4904ff757b5
Signed-off-by: Divya Ojha <dojha@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-12-17 11:38:18 +05:30
Taniya Das
9c19f50986 clk: qcom: Add support for hardware control branch
These are the branches which have hardware control bit to be able to
enable/disable the branch. They also need to support set rate on them and
before setting any rate, we have to make sure the current parent and the
next parent is prepared & enabled before the RCG is updated. To support
both parents to be prepared/enabled use the flag FORCE_ENABLE_RCGR.

Change-Id: I14abed3827de8cefc31f3deb3c1e589136c32b8d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-12-16 21:52:04 -08:00
Laxminath Kasam
2581137b0b ASoC: sdw-codec: Add support for MSM soundwire codec
In MSM based integrated codec, soundwire codec
is added at HW level which supports wsa speaker
using soundwire bus interface. Add respective driver
support for MSM based soundwire codec.

Change-Id: Ibe4abdbe15a6246b9abcf45402c22764b82699c2
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-12-17 11:01:37 +05:30
Abhijit Kulkarni
b04e18f49e msm: sde: Switch to non-secure at session close
This change adds functionality to switch back to non-secure
state at the close of the secure rotator session. Without this
change the transition is delayed until a non-secure transition is
started.

CRs-Fixed: 1102597
Change-Id: I7f9fab066b8212808273474576884990ac8d8fef
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2016-12-16 18:51:29 -08:00
Felipe Balbi
e74a2a20ff usb: gadget: composite: enable BESL support
According to USB 2.0 ECN Errata for Link Power
Management (USB2-LPM-Errata-final.pdf), BESL
must be enabled if LPM is enabled.

This helps with USB30CV TD 9.21 LPM L1
Suspend Resume Test.

Change-Id: I3412d36959d0b6b49d369cb1695836af82d7b5b4
Signed-off-by: Felipe Balbi <balbi@ti.com>
Git-commit: a6615937bc
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-12-16 17:53:40 -08:00
Phani Kumar Uppalapati
40512fa4eb ASoC: wcd934x: Fix headset TX mode setting
Headset TX can be operated in 3 modes, low-power, high-perf
and default. Currently in driver mode is always being set to
default even though mixer controls are set for low-power and
high-perf. Fix the mode setting by correctly parsing the mixer
control value and set it during TX path enable.

CRs-Fixed: 1102584
Change-Id: Idd40a0b471293048833b34dda3ac5044a87fc3c9
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-12-16 17:45:31 -08:00
Jack Pham
7aedfdd8f2 usb: pd: Register power_supply notifier after completing init
There is a rare but possible chance that just after registering
the psy_changed notifier callback with the power_supply
framework that it could be called immediately, schedule the
usbpd_sm, and execute the worker on another thread, all before
usbpd_create() has completed. Since some structures, notably
pd->rx_lock, haven't been fully initialized yet, this leads
to spin_lock() call accessing uninitialized data. Fix this by
moving the power_supply_reg_notifier() call to the very end
of usbpd_create() after everything has been initialized.

Change-Id: I7d2bc9eca8e7e30dbc656be620a0f4fd8eea2239
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-12-16 17:23:51 -08:00
Pramod Gurav
4ea456a120 tty: serial: msm: Add suspend resume support
Add suspend/resume callback support to serial msm driver.

Change-Id: I661fca45d2d762a08e331f53d8b3cb7b99117448
Signed-off-by: Pramod Gurav <gpramod@codeaurora.org>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-12-16 17:21:49 -08:00
Runmin Wang
64fcef1f22 Revert "tty: serial: msm: Add runtime PM and system sleep support"
This reverts commit 14f40931b3 ("tty: serial: msm: Add
runtime PM and system sleep support").

Change-Id: Iac58fe50bd0296cd50b383bdf891e4f0af6e9cf9
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-12-16 17:21:21 -08:00
Siddartha Mohanadoss
d3cb6fa63a iio: rradc: Update reading BATT_ID channel
There is a need for RRADC driver to return fresh results
of the BATT_ID channel which could take upto 1.5 seconds
in round robin mode. Switch the RRADC driver to continuous
mode when client requests the BATT_ID channel to obtain
the results faster. In addition explicity force the batt_id
to ensure it forces a conversion on the new read. The
existing USBIN_V channel also requires having the RRADC in
continuous mode therefore have a common support for clients
that uses continuous mode.

Change-Id: I5b89ed9f0015bc6db3adce22e3ac6d0d0283e2bf
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-12-16 14:11:10 -08:00