Commit graph

573048 commits

Author SHA1 Message Date
Linux Build Service Account
bb61ebf654 Merge "qcom-charger: qpnp-smb2: use values from hardware for default settings" 2016-08-03 21:12:47 -07:00
Linux Build Service Account
9887341b46 Merge "Revert "drivers: mfd: Return EPROBE_DEFER during codec failure"" 2016-08-03 21:12:46 -07:00
Linux Build Service Account
768b594f25 Merge "leds: qpnp-flash-v2: add support to query battery parameters" 2016-08-03 21:12:46 -07:00
Linux Build Service Account
e10d63350d Merge "clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT" 2016-08-03 21:12:45 -07:00
Linux Build Service Account
46e710a5ec Merge "soc: qcom: core_ctl: Fix possible null-pointer dereference" 2016-08-03 21:12:44 -07:00
Linux Build Service Account
58f94dcd48 Merge "defconfig: arm64: msm: Re-enable qtaguid" 2016-08-03 21:12:44 -07:00
Linux Build Service Account
4f7f48c2bb Merge "ASoC: wcd9335: Add support to enable low power mode on codec" 2016-08-03 21:12:42 -07:00
Linux Build Service Account
6e0cc26af1 Merge "msm: mdss: add support for adaptive variable refresh feature" 2016-08-03 21:12:41 -07:00
Linux Build Service Account
06e18514c2 Merge "msm: sde: Correct rotator irq handler to acknowledge irq once" 2016-08-03 21:12:40 -07:00
Linux Build Service Account
286b461b04 Merge "msm: gsi: do not register to inter ee irq" 2016-08-03 21:12:33 -07:00
Linux Build Service Account
eff7f7ed60 Merge "msm: camera_v2: Fix a return code issue in smmu mapping" 2016-08-03 21:12:32 -07:00
Deepak Katragadda
6aa762aa9f clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT
The set_rate requests from the display port clocks should always
make their way upto the DP PLL. Add the NO_RATE_CACHE flag to
clocks in that path in order to let this happen.

CRs-Fixed: 1050007
Change-Id: I6a848b04756b92f9b1149705176e8f4088b2a945
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-08-03 13:48:31 -07:00
Olav Haugan
b4f6cd620b soc: qcom: core_ctl: Fix possible null-pointer dereference
Ensure we don't try to call online/offline functions with a
null-pointer.

CRs-fixed: 1049957
Change-Id: I6fa8f9bde5d5fd0680b5c571ba3cc99bd1f508b1
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-08-03 11:54:26 -07:00
Bryse Flowers
5bd34ec6f4 defconfig: arm64: msm: Re-enable qtaguid
Re-enable QTAGUID so that bandwidth control is possible from
userspace now that stability issues have been resolved by
picking upstream commits.

Change-Id: If3b0be88f28da82a08dc4cc67006e8ee8ced5a72
CRs-Fixed: 1035969
Signed-off-by: Bryse Flowers <bflowers@codeaurora.org>
2016-08-03 11:36:47 -07:00
Devesh Jhunjhunwala
e92b084360 leds: qpnp-flash-v2: add support to query battery parameters
Register a notifier callback with the power_supply framework
to detect when the bms power_supply is available so that
it can be used to query the battery properties required from
the fuel gauge for the maximum current query algorithm.

CRs-Fixed: 1043718
Change-Id: Icd535025a2f888e188f89841f32ac5b822f9b20d
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2016-08-03 11:35:18 -07:00
Linux Build Service Account
059df41e86 Merge "ASoC: wcd9335: don't check for HPHL and HPHR for mono headset" 2016-08-03 10:53:36 -07:00
Linux Build Service Account
60aacdb787 Merge "qseecom: Change format specifier %p to %pK" 2016-08-03 04:58:55 -07:00
Linux Build Service Account
59c7ae105f Merge "msm: mdss: hdmi: send info frame for HDR video streams" 2016-08-03 04:58:53 -07:00
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
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
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