Commit graph

575091 commits

Author SHA1 Message Date
Nicholas Troast
d2da5a62b4 ARM: dts: msm: enable more FG interrupts for PMICOBALT
Interrupts are useful for testing and debugging. Enable all fuel gauge
interrupts.

Change-Id: Ic6dd2d1e7f829630dc6eae5ff74fae04f7fc7f9b
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-09-27 19:55:54 -07:00
Nicholas Troast
9d4164b5e8 qcom-charger: fg-util: add float decode function
Some SRAM registers are encoded using a floating point representation.
Add a function to decode these registers into signed micro-unit
integers.

The exponent and mantissa are signed integers represented by two's
complement, and the exponent value is offset by -9. This is a half
float representation stored as:

EEEEE MMMMMMMMMMM

Where E are the exponent bits, and M are the mantissa bits.

To decode this representation the following formula is applied:
2^(exponent - 9) * mantissa

Change-Id: Id9f28a0eeb2a904aca41eb46d0215d80287e0b88
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-09-27 19:55:54 -07:00
Nicholas Troast
654b1238ef qpnp-smb2: support batteryless platforms
Currently a device without a battery will shutdown soon after boot since
the SOC will be 0. Add a DT property called "qcom,batteryless-platform"
which indicates that the device does not have a battery. If this
property is set then charging will be disabled, and all of the necessary
battery parameters will be faked to ensure normal operation.

Change-Id: I6943b7f5565ad95eddb9e3d30de5efbc47106e3d
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-09-23 09:10:09 -07:00
Linux Build Service Account
4b91c1a0f7 Merge "ASoC: wcd9335: reduce speaker teardown latency" 2016-09-19 23:28:23 -07:00
Linux Build Service Account
383cee12e4 Merge "phy: qcom-ufs: remove warnings for optional clocks" 2016-09-19 23:28:22 -07:00
Linux Build Service Account
55ef1608c4 Merge "Revert "usb: dwc3: gadget: start requests as soon as they come"" 2016-09-19 23:28:17 -07:00
Linux Build Service Account
f71d743cf0 Merge "Revert "usb: dwc3: gadget: use update transfer command"" 2016-09-19 23:28:16 -07:00
Linux Build Service Account
52915db68d Merge "msm: ipa: add support for new QMI IDL" 2016-09-19 23:28:16 -07:00
Linux Build Service Account
beb17e9e9b Merge "msm: pcie: initialize var in GPIO init function" 2016-09-19 23:28:15 -07:00
Linux Build Service Account
afc144d22c Merge "defconfig: msmcortex: Remove panic on SBE" 2016-09-19 23:28:14 -07:00
Linux Build Service Account
48b6dc8c1e Merge "edac: cortex: Remove WARN_ON messages" 2016-09-19 23:28:13 -07:00
Linux Build Service Account
99a1044389 Merge "msm: mdss: avoid shutting down PHY PMIC regulators" 2016-09-19 23:28:12 -07:00
Linux Build Service Account
6fa5e24922 Merge "msm: mdss: wait for kickoff before executing mode switch changes" 2016-09-19 23:28:11 -07:00
Linux Build Service Account
9518539939 Merge "defconfig: arm64: msmcortex: enable MSM_TZ_LOG for msmcobalt" 2016-09-19 23:28:10 -07:00
Linux Build Service Account
8753bbcdc4 Merge "soc: qcom: ipc_router_glink_xprt: Add larger size receive intents" 2016-09-19 23:28:09 -07:00
Linux Build Service Account
c2b563ce7d Merge "soc: qcom: pil: Correct notification path in subsys_stop" 2016-09-19 23:28:08 -07:00
Linux Build Service Account
3c52ac5339 Merge "power: fg-memif: Clear retry_once flag in IMA read" 2016-09-19 23:28:07 -07:00
Linux Build Service Account
5edc2df030 Merge "qseecom: Change whitelist_support flag to false if TZ failed to check" 2016-09-19 23:28:07 -07:00
Linux Build Service Account
79f28e9426 Merge "icnss: Provide client_id in ind_register request" 2016-09-19 23:28:06 -07:00
Linux Build Service Account
9969c77475 Merge "iommu: msm: use list_for_each_entry_safe for deletion" 2016-09-19 23:28:04 -07:00
Linux Build Service Account
64a9ffd418 Merge "Revert "defconfig: msm: enable common log for msmcobalt"" 2016-09-19 23:28:04 -07:00
Linux Build Service Account
620685750e Merge "ARM: dts: msm: enable scan dump for msmcobalt" 2016-09-19 23:28:02 -07:00
Linux Build Service Account
824e3e5ceb Merge "crypto: msm: qce50: DMA-API buffers limitations" 2016-09-19 23:28:02 -07:00
Linux Build Service Account
4886f3b04b Merge "soc: qcom: Add subsys state with service notifier notification" 2016-09-19 23:28:01 -07:00
Linux Build Service Account
e61009aff8 Merge "soc: qcom: pil: Change clock disabling sequence" 2016-09-19 23:28:00 -07:00
Linux Build Service Account
d4ba07ec09 Merge "regulator: cpr3-regulator: fix potential aging uninitialized variable usage" 2016-09-19 23:27:59 -07:00
Linux Build Service Account
6d49a1e9db Merge "net: fix infoleak in rtnetlink" 2016-09-19 23:27:59 -07:00
Linux Build Service Account
b7d007f82e Merge "FROMLIST: security,perf: Allow further restriction of perf_event_open" 2016-09-19 23:27:58 -07:00
Linux Build Service Account
f6ee052d80 Merge "BACKPORT: perf tools: Document the perf sysctls" 2016-09-19 23:27:57 -07:00
Linux Build Service Account
646ce8a905 Merge "cpuset: handle race between CPU hotplug and cpuset_hotplug_work" 2016-09-19 23:27:56 -07:00
Linux Build Service Account
a8f7b70106 Merge "qcom-charger: handle get prop errors graciously" 2016-09-19 23:27:55 -07:00
Linux Build Service Account
8935f4d83f Merge "ASoC: msm: qdsp6v2: fix crash during flac superset clip playback" 2016-09-19 23:27:54 -07:00
Linux Build Service Account
f641230ee8 Merge "config: msmcortex: enable qnovo driver" 2016-09-19 23:27:53 -07:00
Linux Build Service Account
4e2a8a0fa1 Merge "Revert "usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers"" 2016-09-17 21:07:23 -07:00
Linux Build Service Account
d39931458e Merge "Revert "usb: gsi: Queue control notification on gsi_resume"" 2016-09-17 21:07:20 -07:00
Linux Build Service Account
72c2d923b9 Merge "msm: sde: Move SDE rotator timeout evtlog outside of spinlock" 2016-09-17 21:07:20 -07:00
Linux Build Service Account
a8db147fc1 Merge "USB: f_accessory: Fix NULL pointer dereference in acc_read()" 2016-09-17 21:07:16 -07:00
Linux Build Service Account
f18d5b789d Merge "msm: camera: Add support for camera on version 2 of msmcobalt" 2016-09-17 12:59:53 -07:00
Linux Build Service Account
1befebc47d Merge "icnss: Handle multiple PD down notifications" 2016-09-17 12:59:52 -07:00
Linux Build Service Account
c93a92750e Merge "icnss: Top level reset if clocks are dead" 2016-09-17 12:59:52 -07:00
Skylar Chang
a1d527f88f msm: ipa: add support for new QMI IDL
Add support for new QMI IDL in IPA driver for new message
QMI_IPA_INSTALL_FILTER_RULE_EX_REQ_V01 which allows to send
at most 128 rules.

Change-Id: I886e40f597169939ce4598863fd80145743d8db7
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-09-16 17:21:59 -07:00
Prashanth Bhatta
7b2f56361b icnss: Handle multiple PD down notifications
During recovery, if another PD down notification received because
of crash then handle the case. If debug enabled then BUG_ON to
debug the second crash.

CRs-fixed: 1067873
Change-Id: I6e8e92ca0ee11830f933e198fea502c915d36e59
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-09-16 16:15:30 -07:00
Prashanth Bhatta
7f94163f80 icnss: Top level reset if clocks are dead
During recovery, if not able to force enable hardware clocks then
do top level reset only.

CRs-fixed: 1067868
Change-Id: Ie23ca022c94cd214a9e415e9fb774055cfaf881d
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-09-16 16:15:11 -07:00
Runmin Wang
95a1ccc130 defconfig: msmcortex: Remove panic on SBE
Remove panic on single bit cache error because single bit error
can be corrected.

Change-Id: Id14ffa45a1326e47adc847c012e9ac21c6954990
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-09-16 15:29:55 -07:00
Runmin Wang
a9a0da48eb edac: cortex: Remove WARN_ON messages
Remove warn_on message since the required CPUMERRSR and L2MERRSR
info is already printed in the dmesg.

Change-Id: I2e93bcd1e84d43bc7a58af0be02d5337d936d4ee
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-09-16 15:24:07 -07:00
Venkat Gopalakrishnan
c3d29d4864 phy: qcom-ufs: remove warnings for optional clocks
tx_iface_clk and rx_iface_clk does not exist in newer version
of ufs-phy HW, hence remove the missing clk warnings for them.

Change-Id: Ic8dd3e9521159ce8da064da38cfa12e75f07209f
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-16 15:14:08 -07:00
Tony Truong
e218ba7d2e msm: pcie: initialize var in GPIO init function
It is possible a variable will be accessed before
it is ever initialized. Properly initialize this
variable when it is declared.

Change-Id: Id1523786f1c87449ed3943f1726766dad6a4ade2
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-09-16 14:39:18 -07:00
Ingrid Gallardo
362342211d msm: mdss: avoid shutting down PHY PMIC regulators
As part of the PHY shut down sequence, current driver
disable the phy pmic regulators. This is not the
expected sequence, so make sure the pmic phy
regulators stay enabled.

Change-Id: Ia65a71347666ed9fa3f6bf92fe7c573638301254
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-09-16 14:36:48 -07:00
Linux Build Service Account
8a8abceb69 Merge "ARM: dts: msm: add new clk for native playback on msmcobalt" 2016-09-16 09:22:04 -07:00
Linux Build Service Account
a146b61be9 Merge "ASoC: wcd9335: Add ANC support on speaker path" 2016-09-16 09:22:04 -07:00