Commit graph

585219 commits

Author SHA1 Message Date
Sujeev Dias
75edc331a7 mhi: core: add support for MHI to operate on slave mode
MHI host is not always the bus master. Add support to
operate on slave mode.

CRs-Fixed: 1095436
Change-Id: I4af92c8171cf9ba38267afa753cec33f291d55eb
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-03-11 12:02:02 -08:00
Sujeev Dias
6f370e6a8b mhi: core: add support for MHI host managing firmware upload
Add support for MHI host to directly upload firmware
to compatible devices using MHI protocol.

CRs-Fixed: 1095436
Change-Id: Iff7043f1f9afc4824edeaeccc46ed427ce7ee291
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-03-11 11:58:46 -08:00
Sujeev Dias
2583f4c5d6 mhi: core: Add support for multiple MHI devices
In order to support multiple MHI devices connected
to same host we have, re-organize struct mhi_device_ctxt
such that all information related to device is included inside
struct mhi_device_ctxt. Created an abstract power management
layer to operate MHI in bus master, and slave mode. PCIe bus,
device, slot are extracted from DT to identify physical device.

CRs-Fixed: 1086301
Change-Id: I27a12b7412db75e4843794d80146ca7475b02fdc
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-03-11 11:50:50 -08:00
Sujeev Dias
b1fa567f04 ARM: dts: msm: mhi: document mhi-chan-cfg settings
Add a detail explanation for mhi-chan-cfg
configuration settings.

CRs-Fixed: 1022868
Change-Id: I89a1ea3e8ac6b1b210df245e8bd199206cdbb649
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-03-11 11:50:44 -08:00
Linux Build Service Account
9c2eff9b87 Merge "qcom: smb138x: Reduce die temperature samples for initial readings" 2017-03-10 20:14:37 -08:00
Linux Build Service Account
8dd0576877 Merge "qcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic" 2017-03-10 20:14:36 -08:00
Linux Build Service Account
da248ad284 Merge "defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag" 2017-03-10 20:14:35 -08:00
Linux Build Service Account
3c49ad5543 Merge "ARM: dts: msm: Enable continuous splash on sdm630" 2017-03-10 20:14:35 -08:00
Linux Build Service Account
3bb80849e2 Merge "ARM: dts: msm: Allow modem MBA to be loaded in carveout for MSM8998" 2017-03-10 20:14:33 -08:00
Linux Build Service Account
25c8a028f5 Merge "Perf: arm64: Use all 6 counters in tracecounters" 2017-03-10 20:14:32 -08:00
Linux Build Service Account
1f02bcefe4 Merge "ARM: dts: msm: Add VFE efuse support for SDM630" 2017-03-10 11:05:11 -08:00
Linux Build Service Account
4f0f7a3d7d Merge "ARM: dts: msm: set pm660 L6/L9/L19 to not follow HW_EN1 for wcn3990" 2017-03-10 11:05:10 -08:00
Linux Build Service Account
b7207bf00e Merge "rcu: Induce msm watchdog bite for rcu stalls" 2017-03-10 11:05:09 -08:00
Linux Build Service Account
ddf1974359 Merge "cnss_prealloc: Update pre-alloc table" 2017-03-10 11:05:08 -08:00
Linux Build Service Account
bff9fbab18 Merge "ARM: dts: msm: use updated clock handle to USB dt node on sdm660" 2017-03-10 11:05:07 -08:00
Linux Build Service Account
4c2c203412 Merge "msm: wlan: Define CFG80211_CONNECT_TIMEOUT_REASON_CODE" 2017-03-10 11:05:05 -08:00
Venu Yeshala
1d1da6b2fc ARM: dts: msm: Add VFE efuse support for SDM630
Add efuse register to be read for VFE dual camera limitation.

Change-Id: I1562b4555aadd0fde8f644cc3aa61e9d45f98ef0
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
2017-03-10 05:33:00 -08:00
Linux Build Service Account
b8c4038d14 Merge "msm: mdss: Handling possible integer overflow" 2017-03-10 02:07:17 -08:00
Linux Build Service Account
0799e92cbd Merge "msm: vidc: Fix masking of QP values for different codecs in driver" 2017-03-10 02:07:16 -08:00
Linux Build Service Account
81de7e7c6e Merge "msm: media: Allocate extra memory for YUV buffers" 2017-03-10 02:07:15 -08:00
Linux Build Service Account
55de912103 Merge "arm64: Update correct config option for TLB handler" 2017-03-10 02:07:14 -08:00
Linux Build Service Account
3760a82752 Merge "msm: gsi: increase stop command timeout" 2017-03-10 02:07:13 -08:00
Linux Build Service Account
e2d2d61a3e Merge "ARM: dts: msm: Enable the GPU QTimer access" 2017-03-10 02:07:12 -08:00
Linux Build Service Account
8a259eb1ca Merge "msm: kgsl: Map GPU QTimer through GPU IOMMU" 2017-03-10 02:07:11 -08:00
Linux Build Service Account
bab6650e12 Merge "ARM: dts: msm: Enable midframe sampling timer on SDM660" 2017-03-10 02:07:11 -08:00
Linux Build Service Account
c03b5c2d1c Merge "arm64: dma-mapping: optimize unmap coherency check" 2017-03-10 02:07:10 -08:00
Linux Build Service Account
7577433126 Merge "input: touchscreen: fix buffer overflow issue in synaptics driver" 2017-03-10 02:07:09 -08:00
Linux Build Service Account
a08be13ed5 Merge "misc: qpnp-misc: add support for clients to read register from misc device" 2017-03-10 02:07:07 -08:00
Linux Build Service Account
0b59a6020b Merge "msm: IPA: add the check on intf query" 2017-03-10 02:07:06 -08:00
Ashay Jaiswal
44499b736a qcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic
The charger therm on RRADC only reads valid values if a charger is
present. Add a check accordingly.

Change-Id: I74c6c15e1e72d4d2ef3ffd698f130b7d0fce6df4
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-03-10 15:34:31 +05:30
Jayant Shekhar
053665087e ARM: dts: msm: Enable continuous splash on sdm630
Add splash memory node for sdm630 to enable continuous
splash.

Change-Id: Idf69b5af0ededd3a7f649cc49eaa889e4175751e
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2017-03-10 14:27:22 +05:30
Vijayavardhan Vennapusa
cd4b79bffc ARM: dts: msm: use updated clock handle to USB dt node on sdm660
Add the proper clock handle to USB dt node for noc_aggr_clk for
SDM660.

Change-Id: Id9ec52123ce2e45b466cc6cd74696f52154efdae
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-03-09 23:49:57 -08:00
Subbaraman Narayanamurthy
0ed3b2e19d misc: qpnp-misc: add support for clients to read register from misc device
On certain PMICs, PMIC peripheral drivers like haptics need to
read MISC peripheral register. Add support for clients to read
it by using qpnp_misc_read_reg().

Change-Id: Id5dfd9e440a8861b56572dab50839d1583535882
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-03-09 20:03:05 -08:00
Linux Build Service Account
22fe1e7de0 Merge "msm: ipa: Fix incorrect wakelock handling" 2017-03-09 17:21:38 -08:00
Linux Build Service Account
359d1d3060 Merge "msm: camera: cpp: Fixing Heap overflow in output buffer" 2017-03-09 17:21:37 -08:00
Linux Build Service Account
96f718455b Merge "ARM: dts: msm: Use aggre2_noc voter clock handle for SDM660/630" 2017-03-09 17:21:36 -08:00
Linux Build Service Account
b922b6b8c4 Merge "ASoC: msm: Use msm_route_ec_ref_rx for widget update" 2017-03-09 17:21:35 -08:00
Linux Build Service Account
dee42a9273 Merge "wil6210: use napi_complete_done" 2017-03-09 17:21:35 -08:00
Linux Build Service Account
ef1c08dfb7 Merge "ARM: dts: msm: add support for apq8998 QRD SKUK HDK board" 2017-03-09 17:21:34 -08:00
Linux Build Service Account
a9fff3ad59 Merge "msm: kgsl: Improve GPU soft fault detection" 2017-03-09 17:21:33 -08:00
Linux Build Service Account
db08e7c668 Merge "msm: ADSPRPC: Null check for file session context during release" 2017-03-09 17:21:32 -08:00
Linux Build Service Account
3a9ea3d533 Merge "msm: ADSPRPC: Create debugfs file with process name" 2017-03-09 17:21:32 -08:00
Linux Build Service Account
637926e1e3 Merge "qcom: smb-lib: fix adapter allowance for PM660" 2017-03-09 17:21:31 -08:00
Linux Build Service Account
0b7d42a677 Merge "mmc: bus: Handle error in case bus_ops suspend fails" 2017-03-09 17:21:30 -08:00
Linux Build Service Account
1b15e5b577 Merge "mmc: mmc: Handle error case in mmc_suspend" 2017-03-09 17:21:29 -08:00
Linux Build Service Account
cbd89c14fa Merge "mdss: display-port: fix DP issue when framework reboots" 2017-03-09 17:21:25 -08:00
Runmin Wang
f6d2d681a8 arm64: Update correct config option for TLB handler
Update the config option to "CONFIG_QCOM_TLB_HANDLER" so el1_sync
will call into EL2 TLB fault handler. Default TLB handler in EL1
is changed into a dummy handler.

Change-Id: Id4008d03002928bd24affeba0ef4250664ea3a48
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-03-09 16:59:43 -08:00
Prashanth Bhatta
263cd95ba4 cnss_prealloc: Update pre-alloc table
Update pre-alloc table with new memory requirement from WLAN
functional driver.

Change-Id: I2edc8ca0d2361e51f83af405c7d97fba91bf96f5
CRs-fixed: 2017525
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2017-03-09 15:31:55 -08:00
Harry Yang
240a6fcac5 qcom: smb138x: Reduce die temperature samples for initial readings
Die temperature samples 10 times to take average to reduce error,
which extends time in reading and causes delay during boot up, where
the data is not really insterested.

To improve it, only take one sample for the first few user temp
readings.

Change-Id: Ifc10de8a624f1d50d303673ff553d4801337481b
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2017-03-09 13:14:06 -08:00
Prasad Sodagudi
de6e934118 defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag
Enable RCU_STALL_WATCHDOG_BITE flag to induce the
watchdog bite for every rcu stall instead of just
printing warning message. This option helps for
postmortem analysis on rcu stalls by collecting
complete ram dumps and cpu context.

Change-Id: I6badcd034bf75a10f211eb506701a68efccb43c3
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-03-09 11:16:22 -08:00