Commit graph

572999 commits

Author SHA1 Message Date
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
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
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
Siddartha Mohanadoss
e64cce5256 iio: adc: rradc: Update RRADC reads and scaling
A check is needed to ensure the LSB and MSB are coherent
when reading the result registers for the RRADC channels.
The driver performs another round of read request and
compares the result registers to ensure the data read
back is coherent.

Since there are no channel specific properties remove
the dependency to add the channel nodes in the device
tree and instead statically register the channels within
the driver.

Update the scaling functions to report in the units
desired for the final scaled value based on the channel.
The resistance channel reports the units for batt_id
in ohms, the voltage channels such as DCIN, USBIN report
the value in units of microvolts, the current channels
in units of microamps and the temperature channels
such as thermistors are reported in units of millidegC.

Change-Id: I56e6bff28be2cc23f00622d5c37e42564c51a72f
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-08-02 11:37:08 -07:00
Girish Mahadevan
a6146cfa5b serial: msm_serial_hs: Modify IPC Logging
Change the default IPC logging messages to help log analysis instead of
having to change log mask levels and having to re-run the test cases.
Currently single log is used to gather all the driver messages. Split
these into dedicated tx/rx payload log, client ioctl/power state log and
generic driver state log.
Also only dump 32 bytes of the tx/rx payload.

Change-Id: I8dee2f8aa0a6882ec1c320669f165e7cb94bb5f1
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-08-02 10:56:15 -07:00
Girish Mahadevan
f09173df85 serial: msm_serial_hs: Move clk count voting out of runtime callbacks
Don't modify the ref count variable clk count inside the runtime callbacks.
Doing so could result in a case where the driver might end up calling a put
twice on the runtime object. The resulting imbalance will leave the runtime
state for the device in a bad state.

Change-Id: I34989768811b23762c4afe3e33e229ffa3f1db17
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-08-02 10:56:09 -07:00
Girish Mahadevan
a674be9d15 msm_serial_hs: Change resource voting and system suspend logic
As part of the resource voting, both the resource_vote and unvote
functions call the toggle_wakeup_interrupt() function which toggles the
state of the wakeup irq unconditionally. This can cause issues in adverse
scenarios. Instead split this out into exclusive enable and disable wakeup
interrupt functions to be called during the resource unvote and vote
respectively.  Also don't make resource votes in the wakeup isr, the
wakeup isr injects a pre-determined byte into the tty flip buffer and
doesn't access the core or setup any transactions and hence doesn't need
to vote for resources.

The driver has registered for the noirq system suspend/resume callbacks.
When executing these callbacks, don't rely on the runtime framework to
check the device's current runtime state before deciding whether to allow
system suspend or not as the runtime framework is disabled at this point.
Instead rely on the power state that the driver maintains internally.

Change-Id: I0e5d6b8a8a69efc2d9c65dc1edc85f13cbc94fc3
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-08-02 10:56:01 -07:00
Girish Mahadevan
9de853543c ARM: dts: msm: Modify the GPIO bias for UART_3 on msmcobalt
Modify the sleep set GPIO bias for UART_3. This will help lower leakage
once the usecase for UART_3 has ended.

Change-Id: I50d918197a4cd0b503dff78e7d4ba89518c1d1c2
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-08-02 10:55:53 -07:00
Girish Mahadevan
7a515b390d ARM: dts: msm: Modify the GPIO bias for I2C_5 on msmcobalt
Modify the sleep set GPIO bias for I2C_5. This will help lower leakage once
the usecase for I2C_5 has ended.

Change-Id: I41e9012210ce9a5f4fbeb4236365c0fa2db08625
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-08-02 10:55:41 -07:00
Linux Build Service Account
ec9fd7cc51 Merge "mfd: wcd934x: Add page 0x50 registers for wcd934x codec" 2016-08-02 06:42:44 -07:00
Linux Build Service Account
04e7ebf191 Merge "ASoC: msmcobalt: fix proxy channels index value" 2016-08-02 06:42:44 -07:00
Linux Build Service Account
eeea2ec1ce Merge "input: touchpanel: Move Goodix GT915 driver to drivers folder" 2016-08-02 06:42:43 -07:00
Linux Build Service Account
23acf72005 Merge "input: it7258_ts_i2c: replace unused variable in driver" 2016-08-02 06:42:42 -07:00
Linux Build Service Account
0747b59e11 Merge "msm: ipa3: update IPA BCR register values" 2016-08-02 06:42:41 -07:00
Linux Build Service Account
d906969dfe Merge "input: msg21xx_ts: Move the driver to proper path" 2016-08-02 06:42:40 -07:00
Linux Build Service Account
412270ed6e Merge "input: it7258_ts_i2c: add low power mode support in suspend state" 2016-08-02 06:42:36 -07:00
Linux Build Service Account
7341630e35 Merge "input: touchscreen: clean ITE tech driver probe function" 2016-08-02 06:42:36 -07:00
Linux Build Service Account
af0987f562 Merge "Merge remote-tracking branch 'msm-4.4/tmp-2bf7955' into msm-4.4" 2016-08-02 06:42:35 -07:00
Linux Build Service Account
391a76b271 Merge "msm: ipa: add support for configuring polling interval/sleep time" 2016-08-02 06:42:34 -07:00
Shiv Maliyappanahalli
f6613b21f8 ASoC: msmcobalt: fix proxy channels index value
The array index value when setting/getting the channels
of proxy is incorrect as the channel count begins from two.
Fix by setting the correct index offset.

Change-Id: I3ab9858daf6dcdbce762946cbdebeb96eaad764a
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
2016-08-01 22:29:22 -07:00