Commit graph

575611 commits

Author SHA1 Message Date
Subbaraman Narayanamurthy
477a7554f3 qpnp-smb2: do not configure BATT_OV to end charging cycle
Currently, we configure charger to end the charging cycle when
battery overvoltage is detected. This ends up the charging cycle
prematurely sometimes when charging phase transitions from fast
to taper. Disable this.

Change-Id: I8ac486fcb10e823671a8e8b438b7fc76a8969b7c
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-10-06 14:55:13 -07:00
Linux Build Service Account
8ec8b328f3 Merge "msm: mdss: fix 32-bit compilation errors in MDSS PP/interfaces" 2016-10-06 07:14:28 -07:00
Padmanabhan Komanduru
96616eab7e msm: mdss: fix 32-bit compilation errors in MDSS PP/interfaces
Add required changes to fix 32-bit compilation issues in
MDSS PP and DP/HDMI interface drivers.

Change-Id: I0b342c0307b257cb8c66fcae73dd94d0fb3122db
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2016-10-06 03:26:04 -07:00
Linux Build Service Account
cde2fda56d Merge "arm/arm64: Kconfig: Add support to use the CLK_QCOM for MSMfalcon" 2016-10-06 01:07:20 -07:00
Linux Build Service Account
e7f64f186c Merge "hwmon: qpnp-adc-common: Clamp voltage value" 2016-10-06 01:07:19 -07:00
Linux Build Service Account
07c163a9f0 Merge "iio: rradc: Remove scaled support for battery thermistor" 2016-10-06 01:07:19 -07:00
Linux Build Service Account
3e782b71c6 Merge "ARM: dts: msm: Configure bimc-bwmon4 only for msmcobaltv2" 2016-10-06 01:07:17 -07:00
Linux Build Service Account
6312438224 Merge "sched: Fix a division by zero bug in scale_exec_time()" 2016-10-06 01:07:16 -07:00
Linux Build Service Account
62a52467b5 Merge "ARM: dts: msm: Vote for 681 MHz DDR for Fmax of all CPU speed bins" 2016-10-06 01:07:16 -07:00
Linux Build Service Account
5ab0b9529f Merge "clk: qcom: Add support for RPM clocks for MSMfalcon" 2016-10-06 01:07:15 -07:00
Linux Build Service Account
3ea0533e23 Merge "clk: qcom: Add support for gfx clock to ping pong PLLs" 2016-10-06 01:07:14 -07:00
Linux Build Service Account
b3cc3d0447 Merge "usb: gadget: f_qc_rndis: Add support for configfs" 2016-10-06 01:07:13 -07:00
Linux Build Service Account
4310d71096 Merge "usb: gadget: f_qc_rndis: Add RNDIS support using IPA over BAM2BAM" 2016-10-06 01:07:13 -07:00
Linux Build Service Account
7b6f74a97a Merge "ASoC: msm: qdsp6v2: Update device mapping for 7 channel" 2016-10-06 01:07:12 -07:00
Linux Build Service Account
3232720034 Merge "ARM: dts: msm: add ref_clk entries needed for DisplayPort" 2016-10-06 01:07:11 -07:00
Linux Build Service Account
80baa5e329 Merge "msm: mdss: increase SMMU mapping range for all context banks" 2016-10-06 01:07:10 -07:00
Linux Build Service Account
9a687ed9d5 Merge "defconfig: enable secure touch option for Synaptics 2.0 for msmcobalt" 2016-10-06 01:07:09 -07:00
Linux Build Service Account
c50041fa03 Merge "msm: camera: isp: Fix overflow recovery" 2016-10-06 01:07:05 -07:00
Linux Build Service Account
c90a12889b Merge "defconfig: msm: disable RMI4 dev module" 2016-10-06 01:07:04 -07:00
Linux Build Service Account
ab2db18add Merge "icnss: Ignore PD down if WLAN FW doesn't exists" 2016-10-06 01:07:03 -07:00
Linux Build Service Account
9033361e55 Merge "icnss: Handle graceful Modem shutdown" 2016-10-06 01:07:02 -07:00
Linux Build Service Account
56f3d47776 Merge "qpnp-smb2: smb-lib: expose step charging via battery psy properties" 2016-10-06 01:06:56 -07:00
Linux Build Service Account
b7c342065e Merge "msm: sps: correct device base address for register dumping" 2016-10-06 01:06:55 -07:00
Linux Build Service Account
7782a824e1 Merge "ARM: dts: msm: Add Temperature sensor support for msmtriton" 2016-10-06 01:06:54 -07:00
Linux Build Service Account
1483f4d713 Merge "thermal: tsens: Enable TSENS for msmtriton" 2016-10-06 01:06:53 -07:00
Taniya Das
e5335ad216 arm/arm64: Kconfig: Add support to use the CLK_QCOM for MSMfalcon
MSMfalcon requires to use COMMON_CLK and COMMON_CLK_QCOM as the clock
framework. Fix the following for CLK_QCOM
 - Add new configs for common clock framework.
 - Remove compilation of audio-ext for COMMON_CLK.
 - Remove ARCH hamster and cobalt from falcon defconfig.
 - Remove ARCH falcon from cobalt defconfig.

Change-Id: I560d62f9698ddf73848186a6740632735d574b0f
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-10-06 10:17:35 +05:30
Linux Build Service Account
d1db9d219b Merge "soc: qcom: Use syncronization while freeing the qmi_client data" 2016-10-05 19:29:28 -07:00
Linux Build Service Account
7cfcfc9a09 Merge "Revert "scsi: ufs: gate ref_clk during aggressive clk gating"" 2016-10-05 19:29:27 -07:00
Linux Build Service Account
2721b89e03 Merge "msm: sensor: validate the i2c table index before use" 2016-10-05 19:29:26 -07:00
Linux Build Service Account
fa1a6d77a8 Merge "ARM: dts: msm: Update VMEM bw for msmcobalt" 2016-10-05 19:29:25 -07:00
Linux Build Service Account
8d467fa530 Merge "power: bcl: Listen to battery power supply notification for soc" 2016-10-05 19:29:25 -07:00
Linux Build Service Account
9d4ed2cb20 Merge "sched: Fix integer overflow in sched_update_nr_prod()" 2016-10-05 19:29:24 -07:00
Linux Build Service Account
52ae4541e4 Merge "msm: kgsl: Reschedule idle work in case transition to idle state fails" 2016-10-05 19:29:23 -07:00
Linux Build Service Account
165da9cba0 Merge "clk: msm: clock-osm: Fix for programming the APM threshold on MSMCOBALT" 2016-10-05 19:29:22 -07:00
Linux Build Service Account
5a534a3946 Merge "clk: msm: clock-osm: Fix check to write to the LLM OVERRIDE register" 2016-10-05 19:29:22 -07:00
Linux Build Service Account
3ee94074c3 Merge "rmnet_data: Changing format specifier to %pK" 2016-10-05 19:29:21 -07:00
Linux Build Service Account
7fe293fab6 Merge "defconfig: add the iommu options on msmfalcon" 2016-10-05 19:29:20 -07:00
Linux Build Service Account
d4ee4ea3cf Merge "coresight: hwtracing: fix dangling pointer issues" 2016-10-05 19:29:20 -07:00
Linux Build Service Account
ae90b14a59 Merge "input: synaptics_dsx: allocate heap memory for temp buf" 2016-10-05 19:29:19 -07:00
Linux Build Service Account
fb89803f09 Merge "sched: Add a device tree property to specify the sched boost type" 2016-10-05 19:29:18 -07:00
Linux Build Service Account
fa6c7033dc Merge "wil6210: extract firmware version from file header" 2016-10-05 19:29:18 -07:00
Linux Build Service Account
f88da36dc8 Merge "arm: topology: Allow specifying the CPU efficiency from device tree" 2016-10-05 19:29:17 -07:00
Linux Build Service Account
f9d64cd4c7 Merge "ARM: dts: msm: add support for qdss nodes on msmfalcon" 2016-10-05 19:29:16 -07:00
Linux Build Service Account
3ff37b4bac Merge "RFC: FROMLIST: cgroup: reduce read locked section of cgroup_threadgroup_rwsem during fork" 2016-10-05 19:29:13 -07:00
Gaurav Kohli
120427c62d soc: qcom: Use syncronization while freeing the qmi_client data
Potential use after free possibility when trying to access qmi client
data in the ssr notification and root pd_down notification handling.

CRs-Fixed: 1074483
Change-Id: I5390810861dbc1da368757df2b20e5daa35bd081
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-10-05 14:55:47 -07:00
Venkat Gopalakrishnan
48ecffa1a0 Revert "scsi: ufs: gate ref_clk during aggressive clk gating"
This reverts commit ca91fa16a7 ("scsi: ufs: gate ref_clk during
aggressive clk gating").

Reverting this change as its causing stability issues.

Change-Id: Ia04d33d84b5622179f7a496daee5584d4e2dde91
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-10-05 14:27:33 -07:00
Harry Yang
e6cc001a18 qpnp-smb2: smb-lib: expose step charging via battery psy properties
Allow for easy track of step charging. Show step charging
status (enable/disable) and phases.

CRs-Fixed: 1052854
Change-Id: I525fcedda71c4928c61825faeea519355675457a
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-10-05 13:20:27 -07:00
Nicholas Troast
b95cf59a0f qcom-charger: add storm watch to qpnp-smb2 and smb138x-charger
Interrupts are subject to storming in bad or unexpected circumstances.
Add the necessary structures to detect interrupt storms using storm watch.

Change-Id: Id3491b6f8927cb1ae7cbc8260defa697ca555765
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-10-05 13:11:53 -07:00
Nicholas Troast
ada01758dc qcom-charger: add support to watch storm of events
Storm watch provides a simple API for tracking the occurrence of event
storms.

An event storm is defined as a cluster of events where there are
X events with no more than Y milliseconds between them, where X and Y
are configurable per event.

Querying whether a storm has occurred marks a new event.

Change-Id: Idf4bb1421d0dbec295f92f84174cd4bbc6130250
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-10-05 13:11:52 -07:00
Harry Yang
b44b90ad4c qcom-charger: Fix CC settings for PD session
CC_OUT is the signal/status to the PD that indicates which of
the CC line is active. When its low CC1 is active and when
high CC2 is active.

During Source -> Sink Power Role Swap, CC_OUT is reset default
low (CC1 = CC) when SW sets the UFP/SNK_EN_CMD bit, losing the
plug orientation info and causing USB PD message error if CC2
was the CC pin.

Fix this by ensuring that s/w overrides the CC_OUT signal to
reflect the actual one, in preparation for a possible upcoming
power

CRs-Fixed: 1050738
Change-Id: I5877666c39ac9cad713a5802521527dd8552440c
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-10-05 13:11:51 -07:00