Commit graph

573018 commits

Author SHA1 Message Date
Linux Build Service Account
39fc21c853 Merge "input: touchscreen: Change touch driver suspend code flow for XO shutdown" 2016-08-03 04:58:50 -07:00
Linux Build Service Account
e47e325359 Merge "input: touchscreen: correct probe error path for ITE tech driver" 2016-08-03 04:58:49 -07:00
Linux Build Service Account
13013e38e0 Merge "ASoC: wcd-spi: SPI driver for WCD audio codecs" 2016-08-03 04:58:47 -07:00
Linux Build Service Account
9161b760ca Merge "wcd_dsp_mgr: Add the WCD DSP manager driver" 2016-08-03 04:58:46 -07:00
Linux Build Service Account
c3a74e4be7 Merge "msm: ipa: fix IPA driver processing context delete logic" 2016-08-03 04:58:45 -07:00
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
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
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
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
Ram Chandrasekar
e1bce6cf5e Revert "Thermal: handle thermal zone device properly during system sleep"
This reverts commit <a67208e94d945ad890f8dc4734ec5fdb3219cc03>.

This commit prevented xo shutdown as during suspend exit, WSA sensor for
temperature read triggered a slimbus wakeup. Slimbus suspend mechanism
will expect a qmi message after the system has entered suspend. This
will wake the system from suspend. This happens recursively and
system will never enter suspend.

Revert this commit to avoid this issue, till the slimbus suspend
mechanism is fixed.

Change-Id: I4236f4b6272d0bccaf8a2d6f7d5435caf044bd59
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-08-02 16:43:48 -06:00
Siddartha Mohanadoss
a139f26af6 iio: adc: rradc: Add RRADC channels
Add support to read charger and skin temp hot and
too hot temperature threshold values programmed
during initialization.

Change-Id: I46dca1f606b5414bf7a032c18c9684ba2e53cf28
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-08-02 11:45:01 -07:00
Siddartha Mohanadoss
05da00db9e iio: adc: rradc: Update die_temp and chg_temp scaling
The final temperature values for PMI die temperature and
charger temperature are in units of millidegC. Update
the slope factor value to avoid losing resolution
accuracy while values are reported in units of millidegC.

Change-Id: Iec4aa730fa97133af0c0fb9d47557738ef6f45a0
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-08-02 11:38:09 -07:00
Siddartha Mohanadoss
d878d43e16 ARM: dts: msm: Remove RRADC channel nodes on pmicobalt
Currently there are no channel specific properties associated
with the RRADC channels. The existing channel nodes specify
a logical channel number that is used by the client when
requesting the RRADC channel read. This can instead be obtained
from the channel list specified within the driver. Therefore
remove the channel nodes.

Change-Id: I4da81a576b88285cedb0a1c7fd49ccd526d25012
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-08-02 11:37:17 -07:00