Commit graph

583803 commits

Author SHA1 Message Date
Nicholas Troast
e573d8b6b0 power: qcom: smb-lib: enable HVDCP auth IRQ before APSD rerun
Currently the HVDCP auth IRQ is only enabled upon USB removal. When APSD
is rerun the USB type is not updated to HVDCP_3 since the IRQ was
disabled.

Fix this by enabling the HVDCP auth IRQ before APSD is rerun.

Change-Id: Ic9ec2dca5915651864582abea9165ca8c4290169
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-03-06 11:37:08 -08:00
Linux Build Service Account
660ab6c3a2 Merge "defconfig: msm: Turn on ESOC configs" 2017-03-01 18:38:33 -08:00
Linux Build Service Account
1c229aac13 Merge "usb: gadget: f_fs: Fix memory leak for ipc_log_context" 2017-03-01 18:38:33 -08:00
Linux Build Service Account
8ddeda9e35 Merge "iommu/io-pgtable-fast: cache clean the last level ptes" 2017-03-01 18:38:31 -08:00
Linux Build Service Account
58411a695c Merge "iommu/io-pgtable-fast: optimize statically allocated pages" 2017-03-01 18:38:31 -08:00
Linux Build Service Account
cbaf84eaa7 Merge "power: qpnp-fg-gen3: Add support to clamp ESR" 2017-03-01 18:38:30 -08:00
Linux Build Service Account
883bdb62f1 Merge "msm: camera: isp: Check userspace parameters" 2017-03-01 18:38:28 -08:00
Linux Build Service Account
fff1286023 Merge "icnss: Trigger recovery only if PDR enabled" 2017-03-01 18:38:27 -08:00
Linux Build Service Account
ec98470ea9 Merge "wil6210: remove "No Snoop" settings for RX transactions" 2017-03-01 18:38:27 -08:00
Satya Durga Srinivasu Prabhala
812a215410 defconfig: msm: Turn on ESOC configs
Enable support for ESOC drivers.

Change-Id: Ie10f7b74fa7d06c7fcc93bf6eaa23889fc533b86
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-03-01 11:26:11 -08:00
Linux Build Service Account
81eef00c67 Merge "ASoC: msm8998: Add micbias configuration for MBHC" 2017-03-01 11:09:04 -08:00
Linux Build Service Account
1e6ff27a13 Merge "defconfig: msm: Enable DRM" 2017-03-01 11:09:03 -08:00
Linux Build Service Account
db26a193ab Merge "power: bcl_peripheral: Enable BCL LMH algorithm only once" 2017-03-01 11:09:02 -08:00
Linux Build Service Account
59179042e8 Merge "ARM: dts: msm: Add SMB1381 device node for SDM630 QRD" 2017-03-01 11:09:01 -08:00
Linux Build Service Account
7fb2e5cac6 Merge "power: supply: qcom: remove unused drivers" 2017-03-01 11:09:00 -08:00
Linux Build Service Account
72bcf7d23a Merge "power: qcom-battery: Add sysfs to restrict charging" 2017-03-01 11:09:00 -08:00
Linux Build Service Account
11c1d338dc Merge "ARM: dts: msm: Upgrade actuator cci master for SDM660 QRD" 2017-03-01 11:08:59 -08:00
Linux Build Service Account
712414ecaa Merge "ARM: dts: msm: Add device tree settings for A540 DRM on msm8998" 2017-03-01 02:23:05 -08:00
Linux Build Service Account
281a4451fc Merge "ARM: dts: msm: enable ESD, ULPS and partial update on sdm630" 2017-03-01 02:23:04 -08:00
Linux Build Service Account
751207dd53 Merge "sched: Print aggregation status in sched_get_busy trace event" 2017-03-01 02:23:03 -08:00
Linux Build Service Account
958a197973 Merge "USB: u_data_ipa: Fix pm_runtime_get/put() mismatch" 2017-03-01 02:23:02 -08:00
Linux Build Service Account
ce5c5c6e9d Merge "esoc: Add check for possible null pointer returns" 2017-03-01 02:23:01 -08:00
Linux Build Service Account
fb1f77e5a6 Merge "USB: composite: Release spinlock before WARN()" 2017-03-01 02:23:00 -08:00
Linux Build Service Account
307e1d3607 Merge "soc: qcom: sysmon-qmi: fix object corruption due to use after free" 2017-03-01 02:22:59 -08:00
Linux Build Service Account
1046c66c76 Merge "msm: mhi_rmnet: If failed, do not retry to queue UL buffers" 2017-03-01 02:22:57 -08:00
Linux Build Service Account
1b7f8d6ab9 Merge "power: bcl: Serialize frequency mitigation request from BCL events" 2017-03-01 02:22:57 -08:00
Linux Build Service Account
c7f26ebc66 Merge "ASoC: wsa881x: remove retry logic in swr_startup" 2017-03-01 02:22:56 -08:00
Linux Build Service Account
f6dd3a3c0d Merge "ARM: dts: msm: Add PBS client node for PM660" 2017-03-01 02:22:54 -08:00
Linux Build Service Account
c48a82429f Merge "regulator: qpnp-oledb: Add lab_vreg_ok notifier callback" 2017-03-01 02:22:53 -08:00
Linux Build Service Account
2779284ac4 Merge "defconfig: sdm630: Disable CONFIG_ICNSS_DEBUG" 2017-03-01 02:22:53 -08:00
Linux Build Service Account
3dc6d76fb4 Merge "defconfig: enable ARMV8-CE on sdm660" 2017-03-01 02:22:52 -08:00
Linux Build Service Account
9e4af71339 Merge "defconfig: msm: Enable ARM64_STRICT_BREAK_BEFORE_MAKE flag" 2017-03-01 02:22:51 -08:00
Linux Build Service Account
1022064012 Merge "coresight-tpdm: fix multiple datasets allocation issue" 2017-03-01 02:22:50 -08:00
Linux Build Service Account
c1759c3409 Merge "ARM: dts: msm: Add thermistor support for PM660" 2017-03-01 02:22:49 -08:00
Linux Build Service Account
b34664d08a Merge "ARM: dts: msm: Add GPU power level speed bins for SDM630" 2017-03-01 02:22:49 -08:00
Linux Build Service Account
2d20bbca35 Merge "icnss: Vote for hardware resources" 2017-03-01 02:22:47 -08:00
Linux Build Service Account
b0da33f969 Merge "ASoC: msm8998: Add fractional sampling rate support for HDMI" 2017-03-01 02:22:46 -08:00
Linux Build Service Account
85f1f431e7 Merge "f_gsi: Don't reconfigure USB GSI eps multiple time with cable connect case" 2017-03-01 02:22:44 -08:00
Linux Build Service Account
8e3beda481 Merge "f_gsi: Don't send end xfer command when USB is into U3 state" 2017-03-01 02:22:44 -08:00
Linux Build Service Account
bb35e1ed78 Merge "ARM: dts: msm: Update SDCC LPM latencies for sdm660" 2017-03-01 02:22:43 -08:00
Linux Build Service Account
4b2c57e721 Merge "msm: camera: isp: Handle array out of bounds" 2017-03-01 02:22:42 -08:00
Shiraz Hashim
847210ab6b iommu/io-pgtable-fast: cache clean the last level ptes
While preparing page tables for fastmap, last level ptes
are not being cache cleaned. Fix this.

Change-Id: I97f894b52484d0d223b15090b94c186bba9af734
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-03-01 14:45:40 +05:30
Yingwei Zhao
bec85cc3d8 ARM: dts: msm: Add SMB1381 device node for SDM630 QRD
SMB1381 acts as a slave charger in SDM630 QRD board. Add device node
to support it.

CRs-Fixed: 2012488
Change-Id: I03803eddc9db5f9bc7901225fa2defd8bcf0e32d
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
2017-03-01 01:15:17 -08:00
Manaf Meethalavalappu Pallikunhi
514e483a47 power: bcl_peripheral: Enable BCL LMH algorithm only once
Currently BCL LMH algorithm enable request goes for every time BCL
threshold enablement. It needs to be enabled only once. So Enable
BCL LMH algorithm only once.

Change-Id: I94c7326b7730830f71b71c92df21a589ddd2347b
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2017-02-28 23:25:16 -08:00
Manaf Meethalavalappu Pallikunhi
1e42f4cc4f power: bcl: Fix battery SoC read and evaluation whenever BCL enabled
Just after enabling BCL, reading and evaluating current battery SoC
is bypassed. Because of this, during this same time if battery SoC
is less than preset threshold, BCL doesn't mitigate until next battery
SoC change notification comes. Fix battery SoC read and evaluation
path whenever BCL is enabled.

CRs-Fixed: 2007133
Change-Id: I65639ab078875dc3f6940fd1a89201af98e40881
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2017-02-28 23:25:02 -08:00
Shiraz Hashim
2e87440c3e iommu/io-pgtable-fast: optimize statically allocated pages
Presently fastmap iommu feature allocates page tables for
full 4GB virtual address space. This can be optimized to
consider virtual address range [base, size] needed by
client and prepare page tables only for applicable
region.

Change-Id: Ie6c23cb8e1702a823567e126f452b1e72d851f71
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-03-01 12:02:07 +05:30
Subbaraman Narayanamurthy
c7d377aa83 power: qpnp-fg-gen3: Add support to clamp ESR
If ESR value goes to 0 because of some hardware issue, there is
no way to recover it back from that state. This causes incorrect
SOC reporting leading to a bad user experience. Hence add support
to clamp ESR value based on user defined DT property so that ESR
can be clamped to this value once it is found to go below it.

Since this change modifies ESR value in SRAM, having FG_SRAM_ESR
property would make encode and decode the value easier. Hence
remove fg_get_battery_esr() and get it from FG_SRAM_ESR property.

CRs-Fixed: 2011200
Change-Id: I96250b44f52d6208f3c64fb9e61f70ea41f54f4e
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-02-28 20:06:09 -08:00
Hemant Kumar
ab8f94b1da usb: gadget: f_fs: Fix memory leak for ipc_log_context
Driver is not calling ipc_log_context_destroy in driver
cleanup which leaves the context allocated.

Change-Id: Ic1a74b530836d142c9f1db2143b5700e8b6c3321
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-02-28 18:54:06 -08:00
Anirudh Ghayal
fc1a759824 power: qcom-battery: Add sysfs to restrict charging
Add sysfs files for user applications to restrict
the battery charge current (FCC). The two files in
/sys/class/qcom-battery/ are -

1. restricted_charging: To enable/disable this feature
2. restricted_current: Restricted FCC (uA)

The default restricted_current value is 1A.

CRs-Fixed: 1113761
Change-Id: I23a6796eaa0c41c2e93a52c45f6200326d262e99
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2017-03-01 08:21:31 +05:30
Abhijeet Dharmapurikar
941bfaf2dc power: supply: qcom: remove unused drivers
qpnp-fg and qpnp-smbcharger are not supported anymore. Remove them.

Change-Id: Icc010cd77d9d1e839a6dfa681b65e19b8978fb56
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-02-28 18:22:56 -08:00