Commit graph

573660 commits

Author SHA1 Message Date
Linux Build Service Account
816cd412d8 Merge "msm: ipa: disconnect sequence change for USB 2.0" 2016-08-03 04:58:44 -07:00
Linux Build Service Account
29bf3277a6 Merge "serial: msm_serial_hs: Modify IPC Logging" 2016-08-03 04:58:38 -07:00
Linux Build Service Account
46632c9ffc Merge "ARM: dts: msm: Remove TSENS QFPROM address and slope data" 2016-08-03 04:58:37 -07:00
Linux Build Service Account
17917fd705 Merge "thermal: tsens: Update TSENS property for reading efuse data" 2016-08-03 04:58:36 -07:00
Linux Build Service Account
b5327d1b34 Merge "msm: ipa: fix multiple static analysis issues" 2016-08-03 04:58:35 -07:00
Linux Build Service Account
543fbd2090 Merge "power_supply: add CHARGER_TEMP and CHARGER_TEMP_MAX properties" 2016-08-03 04:58:34 -07:00
Linux Build Service Account
61e7996093 Merge "qcom-charger: qpnp-smb2: End charge cycle while battery is OV" 2016-08-03 04:58:33 -07:00
Linux Build Service Account
bca116b37b Merge "ARM: dts: msm: Update frequency to MEM ACC level mappings for MSMCOBALT" 2016-08-03 04:58:32 -07:00
Linux Build Service Account
46f02a2de6 Merge "spmi: pmic-arb: correct support for up to 512 APIDs" 2016-08-03 04:58:31 -07:00
Linux Build Service Account
ba8f953e3f Merge "usb: gadget: f_cdev: Fix NULL ptr dereference in usb_cser_notify" 2016-08-03 04:58:30 -07:00
Linux Build Service Account
d80ef4e796 Merge "qcom-charger: add support for WiPower" 2016-08-03 04:58:29 -07:00
Linux Build Service Account
b516b45787 Merge "msm: misc: hdcp: add hdcp support for display port" 2016-08-03 04:58:28 -07:00
Linux Build Service Account
a1307ec818 Merge "soc: qcom: socinfo: Add support for APQCOBALT" 2016-08-03 04:58:27 -07:00
Linux Build Service Account
edca635472 Merge "ARM: dts: msm: Add platform info for msmcobalt" 2016-08-03 04:58:26 -07:00
Linux Build Service Account
d71d80d352 Merge "ARM: dts: msm: Update the graphics OPP property on MSMCOBALT" 2016-08-03 04:58:25 -07:00
Linux Build Service Account
a77f543cfb Merge "iio: adc: rradc: Add RRADC channels" 2016-08-03 04:58:22 -07:00
Linux Build Service Account
e4d533b780 Merge "iio: adc: rradc: Update RRADC reads and scaling" 2016-08-03 04:58:21 -07:00
Linux Build Service Account
b6da38c86d Merge "ARM: dts: msm: set 2k truly panel as default for qrd platform" 2016-08-03 04:58:19 -07:00
Shantanu Jain
0e3bb05bcb input: touchscreen: reduce lpm current of avdd reg for ITE tech
Reduce lpm current of avdd regulator for ITE tech touch controller
to save power dissipation in lpm state.

Change-Id: I4b0c532096f1555561ad33e937cb947e85f987cd
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-03 13:02:50 +05:30
Mallikarjuna Reddy Amireddy
a40e736e64 qseecom: Change format specifier %p to %pK
Format specifier %p can leak kernel addresses while not valuing the
kptr_restrict system settings. When kptr_restrict is set to (1), kernel
pointers printed using the %pK format specifier will be replaced with 0's.
So that %pK will not leak kernel pointers to unprivileged users.
So change the format specifier from %p to %pK.

Debugging Note : &pK prints only Zeros as address. if you need actual
address information, pls echo 0 to kptr_restrict.
$ echo 0 > /proc/sys/kernel/kptr_restrict

Change-Id: I0baf2be2d5a476e2e4267f20b99d0ddf5492469e
Signed-off-by: Mallikarjuna Reddy Amireddy <mamire@codeaurora.org>
2016-08-03 00:32:38 -07:00
Shantanu Jain
7233392578 input: touchscreen: add delay after enabling regulators
ITE tech touch controller needs a delay to come to an active
state after regulators are enabled and do any i2c transactions.
So this change adds a delay for the same.

Change-Id: Ifd7c936d8f5d364b78c64aeebd1517d49a5b8936
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-03 12:27:41 +05:30
Shantanu Jain
ee2823ff32 input: touchscreen: Change touch driver suspend code flow for XO shutdown
ITE tech touch driver puts the controller to IDLE state in suspend
function through an i2c write into controller register space. But
due to multiple triggers of fb blank events, the suspend
function is called repeatatively without resume, and the driver
causes i2c nacks in suspend function while again putting the
controller is IDLE state. This keeps the QUP5 clock ON and XO shutdown
doesn't happen.
This change prevents the touch driver to execute the i2c write, to
put the controller in IDLE state, by repeatative fb blank events,
and causes XO shutdown to happen within time limits.

Change-Id: Ie3ee6b861c10ae901dea54f252f6a799d688f02a
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-03 12:24:04 +05:30
Shantanu Jain
3d4fb6fef8 input: touchscreen: correct probe error path for ITE tech driver
ITE tech touch driver dynamically detects the controller attached
to the device in its probe. And if the driver fails to identify
the controller, it exits the probe with the error code. But in the
probe error path, it doesn't retain the error code, replace it
with zero and registers the device instead of failing.
This change corrects the probe error path of ITE tech touch driver
and makes sure it returns the error code if it fails.

Change-Id: I8f193ee10076b6cf058b0a6940db54f71f70b758
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-03 12:19:37 +05:30
Shantanu Jain
aacc5edd8c input: it7258_ts_i2c: add gpio configuration support
Add gpio configuration support for ITE tech touchscreen
driver.

Change-Id: I261db5723a19a7084072487527b350d155a54e78
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-02 23:27:56 -07:00
Shantanu Jain
2de9ec04f2 input: it7258_ts_i2c: add regulator framework support
Add regulator framework support for ITE tech driver.

Change-Id: Ib666f406442ad5f323a08e4624832fba5e2546e2
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-03 11:54:49 +05:30
Shantanu Jain
6cb6901ff0 input: it7258_ts_i2c: add low reset and reset delay support
Add low reset gpio and delay reset support for ITE tech
driver.
ITE tech controller support low reset gpio configuration. This
property is parsed from the DT, and reset gpio is set to low.
Reset delay value is also parsed from DT which is required by the
ITE tech controller.

Change-Id: I314677747e8bbbcb273cd898376bbe03197c8c25
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-03 11:50:18 +05:30
Shantanu Jain
4c2063bfb3 input: it7258_ts_i2c: add pinctrl support
Add pinctrl support for ITE tech touchscreen driver.

Change-Id: I3bbea110af189f236bb175670210e086e15d5d2d
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-03 11:46:41 +05:30
Shantanu Jain
11c338c710 input: it7258_ts_i2c: Do not put driver in infinite loop
Do not put the ITE tech touchscreen driver in infinite
loop while probing.
Sometimes, when there is multiple touchscreen support on the
same snapdragon device, then the dynamic detection is used
to confirm which touchscreen is connected to the device.
So, this change will not make the CPUs to get hogged with
infinite loop of ITE tech driver.
Now it can easily get out of probe with error path releasing
the resources properly.

Change-Id: Ib9905017fc18999e7ab7c9cb8bc1af398f5f9791
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-02 22:42:43 -07:00
Sudheer Papothi
b9b48e3ff3 ASoC: wcd9335: Add support to enable low power mode on codec
Codec is in digital core power collapse when there is no
audio usecase but low power audio usecases needs codec to
be out of power collapse. Changes bring codec out of
digital core power collapse for low power audio usecases
without enabling master clock.

CRs-fixed: 1022917
Change-Id: I762fc1dc6b6527608e73ac5144215ee141570aac
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-08-02 22:41:41 -07:00
Sudheer Papothi
b435be5346 ASoC: msm8996: Add CPE ECPP DAI instance for ECPP path
Add support for CPE(Codec Processing Engine) second voice
wakeup session using ECPP(Echo cancellation Ping-Pong) hardware
path. This allows to enable two concurrent CPE sessions, one
on MAD(Mic Always-on Detection) and the other on ECPP.

CRs-fixed: 1022917
Change-Id: I7a14a2d0b5455d427f90e02506b996fc615c848a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-08-02 22:41:21 -07:00
Runmin Wang
84eb8f642a soc: qcom: core,gladiator hang: Change the sysfs print format
Sizeof(uint32) returns 4 as the value. As a result, the string
copied will be limited to 4 characters.
Update the size to the correct value and add "0x" to the front
of the string.

CRs-Fixed: 1047798
Change-Id: If889cd278fea7e13f941635f72047dcb9141ec2e
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-08-02 22:23:45 -07:00
Linux Build Service Account
a8ac335601 Merge "defconfig: Enable REMOTEQDSS" 2016-08-02 21:58:57 -07:00
Linux Build Service Account
b1d83ab714 Merge "msm: ipa: update wan rx size buffer" 2016-08-02 21:58:56 -07:00
Linux Build Service Account
25a1714bf1 Merge "Revert "Thermal: handle thermal zone device properly during system sleep"" 2016-08-02 21:58:55 -07:00
Linux Build Service Account
99d58ed366 Merge "irq-chip: gic-v3: remove print message in irq driver" 2016-08-02 21:58:54 -07:00
Linux Build Service Account
e24bca7ad0 Merge "ASoC: wcd9335: Changes to support CPE session using EC PP path" 2016-08-02 21:58:53 -07:00
Linux Build Service Account
8d5e73afc5 Merge "CHROMIUM: android: binder: Fix potential scheduling-while-atomic" 2016-08-02 21:58:52 -07:00
Linux Build Service Account
934a7620a1 Merge "android: binder: Disable preemption while holding the global binder lock." 2016-08-02 21:58:51 -07:00
Linux Build Service Account
f0f2abaefd Merge "soc: qcom: irq_helper: Add irq helper module" 2016-08-02 21:58:50 -07:00
Linux Build Service Account
0892f7eb91 Merge "ARM: dts: msm: vote IPA_cfg on msmcobalt" 2016-08-02 21:58:49 -07:00
Linux Build Service Account
e7c6403ad9 Merge "msm: ipa: Fix the memory leak on exception" 2016-08-02 21:58:48 -07:00
Linux Build Service Account
ade5764cd3 Merge "smb-lib: Add support for thermal daemon throttling fcc" 2016-08-02 21:58:47 -07:00
Bhalchandra Gajare
68f9abd8cf ASoC: wcd-spi: SPI driver for WCD audio codecs
WCD audio codecs contain SPI slave hardware module to provide access
to codec memory and SPI register space. Change adds driver for this
slave hardware. This driver uses regmap for SPI internal register
accesses and plugs in to standard SPI framework as child device to
master controller driver.

CRs-Fixed: 1049012
Change-Id: I0640ac1ed60a2ec3633636760593211ecd2f9c2d
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-08-02 20:33:46 -07:00
Bhalchandra Gajare
643173993d wcd_dsp_mgr: Add the WCD DSP manager driver
WCD audio codecs have DSP embedded to perform signal processing on
audio data. The codec driver has control over the DSP clock, power etc,
whereas the DSP memory can be accessed through an different bus slave
interface. In such cases, it is required to make sure the hardware
expected sequences are met for the DSP to function properly. The
wcd-dsp manager driver registers as master to component framework
and provides the ability to sequence the operations between the child
drivers. Upon registration of all children, the wcd-dsp manager driver
parses the wcd dsp image, downloads the image and boots up the DSP.
It invokes the component children to perform the tasks in sequence.

CRs-Fixed: 1049012
Change-Id: I059e1b111c607e49a7cc9a7940cf458e701c73d3
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-08-02 20:31:31 -07:00
Bhalchandra Gajare
e4af31231a ASoC: wcd-dsp-utils: Add utilities for wcd dsp
wcd_dsp_utils adds utilities that will be used by the
wcd dsp manager driver. Add helper functions to parse
WDSP image and provide list of segments to be loaded
to memory.

CRs-Fixed: 1049012
Change-Id: I2b1464c2a035a039440e6d3e5122ad3f90da4d1e
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-08-02 20:22:08 -07:00
Bhalchandra Gajare
3cf508f646 mfd: wcd934x: Mark CPE registers as volatile
Currently only read-only registers are marked as volatile. It is
possible that some registers could be read-write and still have
subset of the bits that are updated by the hardware. Add change
to mark such CPE (codec processing engine) register as volatile.

CRs-Fixed: 1049012
Change-Id: I1cedf646d0df1ab5968df4830502649de305c9d1
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-08-02 20:21:27 -07:00
Hemant Kumar
442ec18acd usb: gadget: f_cdev: Fix memory leak upon composition switch
Driver allocates notify request in function bind() callback
but frees it in function disable() callback. Upon composition
switch adb daemon gets restarted causing function bind/unbind
to happen twice. This results into allocating notify request
memory twice and only freeing it once either upon disconnect
or next composition switch. Fix the issue freeing memory in
function unbind callback.

Change-Id: I7716cff99b824b55e48aea57b9da91c16a8ecac1
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-02 18:38:24 -07:00
Sunil Paidimarri
9f8a7d8e9d msm: ipa: update wan rx size buffer
Consider headroom also while calculating wan
pipe rx buffer size.

Change-Id: Ic1edcb3548eae152fc01de88859bcf311f48f847
CRs-Fixed: 1037822
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2016-08-02 17:51:29 -07:00
Skylar Chang
5d3b9a2d4c msm: gsi: do not register to inter ee irq
Inter EE commands and IRQ are not supported currently
and AP does not have access to those.

CRs-Fixed: 1048160
Change-Id: I033044db83e8af6fb0976d711ea12c2f99291f91
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-02 17:43:17 -07:00
Shalini Krishnamoorthi
88c4d429cb msm: mdss: free the correct layer_list in compat_atomic_commit
layer_list is a pointer allocated based on the number of input_layers.
While freeing scale and pp related parameters for each layer, wrong
pointer is used instead of layer_list. Fix the typo to use the
correct pointer.

CRs-Fixed: 1007818
Change-Id: I7ab0fe42075ab5b4dfa5c73667f94fb8f0b5cc32
Signed-off-by: Shalini Krishnamoorthi <shakri@codeaurora.org>
2016-08-02 16:37:26 -07:00