751730 Commits

Author SHA1 Message Date
qctecmdr
ea1ee2e4e2 Merge "defconfig: sa515m: Make event driver as DLKM" 2020-01-20 07:24:25 -08:00
Sudharsan Reddy Yettapu
f8bb2fd8bd usb: gadget: Add snapshot of USB RMNET Function driver
This change adds USB RMNET function driver which allows communication
between USB BAM and IPA BAM for RMNET and DPL functionalities over USB.

This snapshot is taken as of msm-4.9 'commit 973e6f5c37fc ("ARM: dts:
 msm: Add mem_dump node for msm8917")'.

This change adding changes to use cdev device instead of misc device
and also fixes different coding style related warnings.

Change-Id: I98d5bd60a047d6c5f1058faf67d0475e17d9fddc
Signed-off-by: Sudharsan Reddy Yettapu <syepattu@codeaurora.org>
Signed-off-by: Suresh Kumar Allam <allamsuresh@codeaurora.org>
2020-01-20 19:28:08 +05:30
Viraja Kommaraju
82f4aa124b ARM: dts: update sound card model name for 6155
Update sound card name for 6155 to populate
different card names for different platforms.

Change-Id: Iee9f727f28d471f3e9e4ab69f0c00cec662e3f20
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
2020-01-20 18:21:44 +05:30
Shay
edf301442c defconfig: Disable virtualized PFK on GVM
Reverting virtualized FBE on LA guest for now.

Change-Id: If84167b597ee6eb935140085ca9cc1ac4b5518ce
Signed-off-by: Shay <shayn@codeaurora.org>
2020-01-20 14:49:35 +02:00
qctecmdr
63f7692e83 Merge "rpmsg: qcom_smd: Add GET/SET signal support" 2020-01-20 02:05:46 -08:00
qctecmdr
860a3e60cf Merge "drivers: iio: adc: Modified vbat_sns and bat_id channels" 2020-01-20 02:05:46 -08:00
qctecmdr
d143419822 Merge "iio: adc: Add DRAX_TEMP channel support" 2020-01-20 02:05:45 -08:00
qctecmdr
363bb31903 Merge "drivers: power: supply: Add smb358 charger driver" 2020-01-20 02:05:45 -08:00
qctecmdr
6a98bf0fa0 Merge "platform: msm: Add USB BAM support to ChipIdea/RMNET" 2020-01-20 02:05:44 -08:00
qctecmdr
32e9969335 Merge "ARM: dts: msm: Remove cpu sleep status node for mdm9607" 2020-01-20 02:05:44 -08:00
qctecmdr
2d3549dfb2 Merge "usb: dwc3: Issue core soft reset upon controller halt failure" 2020-01-20 02:05:44 -08:00
qctecmdr
7108a7bccd Merge "ARM: dts: msm: add SPI to support PCIe Synopsys IRQ 1 for sdxprairie" 2020-01-20 02:05:43 -08:00
Atul Raut
0ce0b43f25 defconfig: sa6155: Update swap_a partition info
After enabling dynamic partition swap_a partition
block device id changed.
This change update the new block device id.

Change-Id: Ic46502b7a86f05297a0d49a9294811b568bc6757
Signed-off-by: Atul Raut <araut@codeaurora.org>
2020-01-19 21:26:04 -08:00
Sanjay Singh
73643c26eb msm: vidc: Inline HAL_FLIP value with omx counterpart
HAL Vertical and Horizontal flip values are different
with respect to OMX FLIP values. Same is corrected.

Change-Id: If563e1861c3f8286d79eaef613a45f5101db020d
Signed-off-by: Sanjay Singh <sisanj@codeaurora.org>
2020-01-19 20:39:26 -08:00
qctecmdr
df36e14315 Merge "ARM: dts: qcom: Update GPIO/MPP child nodes properties for MDM9x07" 2020-01-19 19:56:31 -08:00
qctecmdr
ce6081ba31 Merge "Revert "msm: camera_v2: CPP AXI reset at close"" 2020-01-19 19:56:31 -08:00
qctecmdr
6308f09221 Merge "diag: Release diag wakesource on socket error" 2020-01-19 19:56:30 -08:00
Mao Jinlong
92b87fd968 coresight-tmc: Add support of pcie mode
Add pcie mode to tmc-etr to support diag over stm over pcie. When
pcie mode is enabled, etr data will be written to qdss mhi out channel.

Change-Id: Ibca55f9221ff460a7d473f23cc05c22125e85961
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-01-19 15:07:57 +08:00
qctecmdr
2fd21d8ae4 Merge "msm: camera: dtsi: arm camera gpio config for sdm660" 2020-01-18 21:50:59 -08:00
qctecmdr
7b8f901843 Merge "ARM: dts: msm: Correct interrupt number of byte-cntr for sdxprairie" 2020-01-18 21:50:59 -08:00
qctecmdr
35bf62ebe2 Merge "defconfig: sdm660: Update camera defconfig" 2020-01-18 21:50:58 -08:00
qctecmdr
998c8498cd Merge "coresight: tmc: leverage etr disable/enable when switching mode" 2020-01-18 21:50:58 -08:00
qctecmdr
61c342f668 Merge "drivers: gnss: Suspend, resume handling for GNSS driver" 2020-01-18 21:50:58 -08:00
qctecmdr
15e9a7605b Merge "defconfig: vidc: Enable video drivers for sdm660" 2020-01-18 21:50:57 -08:00
qctecmdr
8e6e4ceb67 Merge "msm: kgsl: Change default pagetable creation sequence" 2020-01-18 21:50:57 -08:00
qctecmdr
ef015e54e1 Merge "msm: mhi_dev: Redesign MHI driver async path" 2020-01-18 21:50:56 -08:00
qctecmdr
2d5915d7d9 Merge "msm: ipa: Add support to L2TP over UDP" 2020-01-18 17:38:34 -08:00
qctecmdr
bc95e7fbc0 Merge "dfc: Adjust QMAP query grants" 2020-01-18 17:38:34 -08:00
qctecmdr
db13e8e09d Merge "input: qpnp-power-on: Fix ship-mode enable logic" 2020-01-17 23:03:10 -08:00
qctecmdr
b0db3a4077 Merge "ARM: dts: qcom: Remove stroring the hard-reset-reason in PON register" 2020-01-17 23:03:09 -08:00
qctecmdr
42d1310750 Merge "dt-bindings: bus: mhi: add subsytem failure reason support field" 2020-01-17 23:03:09 -08:00
qctecmdr
e738bf7cfa Merge "mhi: cntrl: qcom: check sfr support from device tree" 2020-01-17 23:03:09 -08:00
qctecmdr
5b91ab8158 Merge "ARM: dts: msm: add support for chitwan MHI device" 2020-01-17 23:03:08 -08:00
Chaitanya Pratapa
e1ab611737 ARM: dts: msm: Enable ipa-auto config for sa515mv2 ccard
End point config of ipa for auto use case is
different from stand alone. Enable auto config
via PL specific DTSI file which will be picked
from CDT programming.

Change-Id: I0c43c3f25fbfdaf90563a55a76bac65fd793b1a2
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2020-01-17 16:10:33 -08:00
Tony Truong
9d0f348b39 ARM: dts: msm: add SPI to support PCIe Synopsys IRQ 1 for sdxprairie
In order to support 2 Synopsys MSI group for sdxprairie, add the
SPI for Synopsys IRQ 1 to PCIe interrupt table.

Change-Id: I704dfe183ac4c8fb2f5bf83dfdd88e21ace8d7ec
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-01-17 14:11:22 -08:00
Tony Truong
173f874256 msm: msi: support multiple dedicated PCIe IRQ for SNPS MSI
Each Synopsys MSI group (32 MSIs) is mapped to a dedicated PCIe
IRQ. Current MSI driver handles only 1 PCIe IRQ. Add support in
PCIe MSI driver to correctly handle multiple Synopsys MSI groups.

Change-Id: I7327ae49d03503f4dada7726ee0969bf79fe3b45
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-01-17 14:10:14 -08:00
Chetan C R
8e84aba317 defconfig: sdm : Add configs for SDM660
Add block, net, cpufreq, mpm interrupt controller
and clock related configs for SDM660 platform.

Change-Id: Ic7ca18604e70d60ed2c6ecfebf378acb2b57bb9f
Signed-off-by: Chetan C R <cchinnad@codeaurora.org>
2020-01-17 16:52:45 +05:30
Yong Ding
0cc3c2ffaa soc: qcom: hab: initialize the hab_message pointer as NULL
The had_message pointer should be initialized as NULL before
calling hab_vchan_recv(). Furtherly, inside the hab_vchan_recv(),
it is good to also clear it as NULL when the virtual channel
is not found. Then there is such guarantee by both the caller
and the callee.

Change-Id: Id8c46e1828fb3af0c42a9f59f68148717c511e6e
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2020-01-17 02:04:42 -08:00
Yong Ding
61d654d326 soc: qcom: hab: return an error for some issue during closing a hab socket
habmm_socket_close should return some relevant error code back to
its caller. Then, its caller can handle it properly.

Change-Id: I04d2fb39644514d59aa94d0dfab7efd1e279ce6a
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2020-01-17 02:03:42 -08:00
Suresh Kumar Allam
37ebb5d135 bluetooth: Add check for CONFIG_CNSS_PCI
cnss_get_platform_cap() is only defined for CNSS PCI in
cnss driver, hence modify condition to resolve compilation
issue for non PCI based products.

Change-Id: I5443e4a86d75ae4ed8a7238403c70b0cf913fb1b
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: Suresh Kumar Allam <allamsuresh@codeaurora.org>
2020-01-17 14:21:01 +05:30
Chetan C R
7eb8470a99 defconfig: sdm660: Update camera defconfig
Changes to remove MSM_DUAL_ISP_SYNC in defconfig for SDM660.

Change-Id: Ieb414711383c35b63a2f3df75f97fe01064f7906
Signed-off-by: Chetan C R <cchinnad@codeaurora.org>
Signed-off-by: Vandana Jain <vandja@codeaurora.org>
2020-01-17 13:20:55 +05:30
Kiran Gunda
ef72dbe08d input: qpnp-power-on: Fix ship-mode enable logic
Make the ship-mode enable configuration independent of the
'qcom,secondary-pon-reset' configuration.

Change-Id: Iace5b2ebd99f2e71bd5e36089b3cf14a765e4791
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2020-01-16 23:12:10 -08:00
Asha Magadi Venkateshamurthy
d466b3ca2a thermal: adc_tm: adc_init for sdm660
Added initialization for PMIC4 to support SDM660.

Change-Id: I9703bb8dee21ee084917b044f7aa83a5087b49b4
Signed-off-by: Asha Magadi Venkateshamurthy <amagad@codeaurora.org>
2020-01-16 21:55:54 -08:00
Hardik Arya
951b97086e diag: Release diag wakesource on socket error
There is a possibility of exiting socket read and
not releasing diag wakesource due to socket error
at the time of connection reset. The patch releases
diag wakesource on socket error.

Change-Id: I9862395207f2dc2f723b06e176ba25bd001c189d
Signed-off-by: Hardik Arya <harya@codeaurora.org>
2020-01-16 21:24:20 -08:00
Chaitanya Pratapa
d0b1b3028f msm: ipa: Add support to L2TP over UDP
L2TP over UDP requires new commands to be send to uC
to use the new header length for additition and deletion.

Change-Id: I6c642e745386bad5fb7ef63b4167e91ce561e0dd
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2020-01-16 20:47:08 -08:00
Bhaumik Bhatt
b230a90f97 mhi: cntrl: qcom: check sfr support from device tree
Check whether device supports sending subsytem failure reason
upon assert from device tree configuration before setting up
support in MHI controller as device may not be able to handle
processing of the SFR configuration command.

Change-Id: Iddbc4e9ec6fbc303aa09f6979c5e1f4a596717b1
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-01-16 12:40:29 -08:00
Bhaumik Bhatt
92b35765e5 ARM: dts: msm: add subsytem failure reason support
Add support for retrieving subsystem failure reason if device
allows for it.

Change-Id: Ifabb8de8a5b2b1da95bb6291c0e299eb6198f3d4
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-01-16 12:39:47 -08:00
Bhaumik Bhatt
f64d8cedeb mhi: core: provide an API to retrieve device failure reason
When device asserts, the subsystem failure reason from device
can be read via an external API using the name of the MHI
controller.

Change-Id: Ic0bcba77e0a7e4c4a7570df3eda21e1f38b80277
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-01-16 12:38:34 -08:00
Vikash Garodia
cb9b54c31d msm: cvp: convert infinite wait to timeout wait
CVP driver waits indefinitely for response callback.
This wait is done after acquiring a lock used by
other threads in video driver. As a result, during
device power suspend, the kernel suspend thread, which
is waiting on above lock, waits and leads to hung.

CRs-Fixed: 2603603
Change-Id: If8bdbacb27c71b0df21c217d28e5bc2cf02e3d49
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2020-01-16 20:14:53 +05:30
Siva Kumar Akkireddi
f0ed6c2c00 msm: mhi_dev: Redesign MHI driver async path
To handle bursty traffic the following changes are done
in the asynchronous read/write path in the MHI driver:
* Queue the transfer completion event within the write
  API instead of the transfer completion callback.
* When conditions are met, flush the completion events (schedule dma)
  to host from within the write API.
* Switch to a circular buffer to hold the completion events
  instead of a linked list of buffers.
* Set the size of the completion event buffer equal to the
  channel event ring size.

Change-Id: I3cbc9cb6a2c040825c4b16ef4fb758bf95c7e642
Signed-off-by: Siva Kumar Akkireddi <sivaa@codeaurora.org>
2020-01-16 19:28:21 +05:30