Commit graph

607389 commits

Author SHA1 Message Date
Linux Build Service Account
6ec84a46b9 Merge "msm: camera: isp: use correct number of entries" 2019-09-06 07:36:44 -07:00
Linux Build Service Account
aae46fb8df Merge "mmc: core: Return SD card status if sdr104_wa is not present" 2019-09-06 07:36:42 -07:00
Gerrit - the friendly Code Review server
9767abdcf7 Merge changes into msm-4.4 2019-09-06 07:31:49 -07:00
Linux Build Service Account
f2a437b52b Merge "i2c-msm-v2: Add NULL pointer check on i2c messages" 2019-09-05 23:59:02 -07:00
Linux Build Service Account
ac95bb8bcb Merge "ANDROID: cpufreq: times: add /proc/uid_concurrent_{active,policy}_time" 2019-09-05 23:59:01 -07:00
Vipin Deep Kaur
67dab0377c i2c-msm-v2: Add NULL pointer check on i2c messages
Add check in i2c driver to ensure the client passes valid messages
for i2c transfer.

Change-Id: I75ceee649d387e4324155c01d0c1e8a40342dff5
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2019-09-05 22:10:54 -07:00
Linux Build Service Account
a2c5ca327b Merge "Merge android-4.4.190 (ac7fbca) into msm-4.4" 2019-09-05 13:11:04 -07:00
Linux Build Service Account
53eacca70d Merge "ASoC: qdsp6v2: increase RTAC_MAX_ACTIVE_DEVICES to 6" 2019-09-04 13:12:52 -07:00
Linux Build Service Account
20c4cc6a6e Merge "msm: qcn: Add QCN SDIO core driver directory in Kconfig" 2019-09-03 23:21:35 -07:00
Linux Build Service Account
3bf778da1f Merge "msm: qcn: Fix type casting of channel descriptor" 2019-09-03 23:21:35 -07:00
Linux Build Service Account
5543865cef Merge "msm: qcn: Synchronize card state change API" 2019-09-03 23:21:32 -07:00
Linux Build Service Account
34b6804ae9 Merge "msm: Add ipc router config in Makefile and Kconfig" 2019-09-03 14:02:24 -07:00
Linux Build Service Account
8d75d72e2e Merge "mmc: sdhci-msm: Ping with known good phase" 2019-09-03 14:02:22 -07:00
Linux Build Service Account
23264a957c Merge "soc: qcom: Update ipc router sdio transport plugin" 2019-09-03 14:02:21 -07:00
Linux Build Service Account
82606b1c94 Merge "msm: diag: Add SDIO transport in diag" 2019-09-03 14:02:19 -07:00
Linux Build Service Account
81a9e55e08 Merge "diag: Add diag over sdio support" 2019-09-03 14:02:19 -07:00
Linux Build Service Account
a7499d6ace Merge "Revert "msm: camera_v2: CPP AXI reset at close"" 2019-09-03 14:02:18 -07:00
Linux Build Service Account
691b7ecff9 Merge "qseecom: check invalid handle for app loaded query request" 2019-09-03 14:02:17 -07:00
Linux Build Service Account
616e638939 Merge "Asoc: apr: Fix sound card failure at stability runs" 2019-09-03 14:02:15 -07:00
Linux Build Service Account
b81152ef29 Merge "asoc: codecs: Fix LPASS register access during bootup" 2019-09-03 14:02:14 -07:00
Linux Build Service Account
f5790ad805 Merge "diag: dci: Prevent using uninitialized variables" 2019-09-03 14:02:13 -07:00
Linux Build Service Account
1bdf2d7865 Merge "ks_bridge: Kill anchored urbs in release callback" 2019-09-03 14:02:12 -07:00
Linux Build Service Account
6dabdf86e7 Merge "msm: ipa3: Fix to memory allocation failure" 2019-09-03 14:02:10 -07:00
Amandeep Singh
475c082bb4 msm: qcn: Add QCN SDIO core driver directory in Kconfig
Add QCN SDIO core diver directory in parent directory's Kconfig
to enable its compilation.

Change-Id: I176d17040bf4a63d19635272088e0c4053f8a092
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 12:29:00 +05:30
Amandeep Singh
f19263cde8 msm: qcn: Fix type casting of channel descriptor
Fix type casting of channel descriptor to avoid memory access
violations during the descriptor usage.

Change-Id: I3d73bf327fd796f482e492265d18d3417f21dc9a
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:51:13 +05:30
Amandeep Singh
652a8550db msm: qcn: Synchronize card state change API
Update card state change API to synchronize multiple invocation
of the same API from different drivers.

Change-Id: I03c18a9540bdb64fa462262faa9cabe158e9e199
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:49:22 +05:30
Amandeep Singh
9ea2de0a4e msm: Add ipc router config in Makefile and Kconfig
Add ipc router sdio plugin config in Makefile and Kconfig
to enable it for compilation.

Change-Id: If3bc8e812240bd86f2ef3bc63452edcdf69deac6
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:46:49 +05:30
Amandeep Singh
38de3ce82f msm: qcn: Disable logs to console after reporting error
Disable logs to console after reporting error only once,to stop
excessive prints on console whcich causes watchdog bite due to
console lock up.

Change-Id: I26d9f3f258e0428c059440369c88691b2d523bba
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:44:55 +05:30
Amandeep Singh
b47bd8b9e7 qti_sdio_client: Free rx DMA buffers after use
Free rx DMA buffere after the data is read from the buffer.

Change-Id: I2b8f97beb50b4752674fc8b4034feb84d2a36302
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:42:32 +05:30
Amandeep Singh
52ad57ba4e msm: qcn: Add driver state information param
Add driver state information param to view from the user space.

Change-Id: I2d4cd86ae5d67ac948a93d28e24ea96394343513
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:39:20 +05:30
Amandeep Singh
9fe2396185 msm: qcn: Disable retuning in function 1 driver
Disable retuning in function 1 driver by default. Created a sysfs
entry to enable it if needed.

Change-Id: I29b5ea4a8e0f1614b10226edb21c6cbeb7a327cd
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:37:30 +05:30
Amandeep Singh
a419a64bc9 msm: qcn: Detect and switch host to RDDM
Switch driver operating mode to RDDM when target device switches to RDDM.

Change-Id: I501672f4965e57e59f5a272e35534e66c63b67c1
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:35:06 +05:30
Amandeep Singh
2ca7eb28dc mmc: sdhci-msm: Ping with known good phase
Ping with known good phase if last phase of tuning fails.

Change-Id: I3d8d8ce3d8a4dc00146668b815b69619d3a4cea8
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:33:13 +05:30
Amandeep Singh
ae6070aa42 qti_sdio_client: Drop read write request during removal
Update read write API to drop further messages during transport or
interface removal.

Change-Id: Ied43de8aa7cef1c36c9c520976357ba1e63017db
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:31:29 +05:30
Amandeep Singh
31c7686157 msm: qcn: Add dynamic add and remove of SDIO card
Add API to dynamically add and remove the SDIO card on demand.

Change-Id: I946115880da75804a6636616d9cf7cfb4a682b92
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:29:37 +05:30
Amandeep Singh
d1c96aa388 msm: qcn: Enable QCN SDIO core driver for compilation
Add QCN SDIO core diver config into Makefile and
Kconfig to enable its compilation.

Change-Id: I19d184c628658175179d9b5c52a3a8bd07dd7999
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:27:47 +05:30
Amandeep Singh
02768612ca msm: qcn: Enable QCN SDIO client driver for compilation
Add QCN SDIO client driver config into Makefile and
Kconfig to enable its compilation.

Change-Id: I40ffa1844b2030aca53d0e36f1bee2900a3ea8d4
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:26:01 +05:30
Amandeep Singh
c83973e117 soc: qcom: Update ipc router sdio transport plugin
Update ipc router sdio plugin initial snapshot to support peripheral
device over sdio transport.

Change-Id: I097ad755b3bd2270cda74738bed409e88dee343c
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:24:16 +05:30
Amandeep Singh
3451ee0a58 soc: qcom: Add ipc router plugin for sdio transport
This snapshot is taken as of msm-4.4 commit dc86ce0faa ("soc: qcom:
ipc_rtr_xprt: Add support to set version in transport").

Change-Id: I729d3c910372d2c3c0bbaaae74a42150c9929732
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:21:53 +05:30
Amandeep Singh
851aa308b0 msm: diag: Add SDIO transport in diag
Add support for SDIO transport in diag core framework.

Change-Id: Ic3ccfec3acd60b36a96aebb49a5681219a25e643
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:20:14 +05:30
Amandeep Singh
53d7ba42ba diag: Update diag over sdio snapshot
Update code to support diag for peripheral devices over sdio bus.

Change-Id: I14678f301f94b239b61c4c94d3c0ff65204e739e
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:18:27 +05:30
Amandeep Singh
f9d7069388 diag: Add diag over sdio support
This commit is taken as of msm-4.4 commit f185067e36 ("diag: Fix
HSIC read complete work function").

Change-Id: I629fe0d9ed697fb20fd9263ecea6009157181e63
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:16:45 +05:30
Amandeep Singh
3f4b675e60 msm: qcn: Update completion sequence during tx
Update the completion variable sequence to avoid multiple complete
call on a stale staack completion variable.

Change-Id: I582777431918c359cd10e4e072f33589dc600e62
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:15:09 +05:30
Amandeep Singh
270a493149 msm: qcn: Add QCN bridge client driver
Add QCN bridge client driver to provide interface to QCN SDIO
core function-1 driver. This driver currently provides interfacing
for diag, IPC router and sahara application.

Change-Id: Ie992aec91347bb68e46a01ee6f67a1d07ce40ecc
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:13:18 +05:30
Amandeep Singh
23ddb3ee2d msm: qcn: Synchronize clients operating at different modes
Add synchronization support between clients that operate on different
modes, i.e. synchronous or asynchronous. The synchronous client will
momentarily switch to asynchronous if any asynchronous transmission is
scheduled.

Change-Id: I41aec9bff950d2816a9ce55017e118e8504be77a
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:11:32 +05:30
Amandeep Singh
ff692c2700 msm: qcn: Reserve 8 bufferes in RW queue for RX
The current QCN core driver support four concurrent clients,
and there can be only two CRQ's that can be raised per client
from device.
Reserve 8 bufferes for data reception from device to host.

Change-Id: Iac72b5dd51988ffd1139bf55ecb9799bded77710
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:09:55 +05:30
Amandeep Singh
4c78c55ad2 msm: qcn: Increase RW queue size
Increase RW queue size to compensate higer data transfer from host
to device, when device is operating at lower frequencies.

Change-Id: I443aead06c757cde40ee99ea2c29a5f323249b8b
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:08:05 +05:30
Amandeep Singh
bec7c9d8a8 msm: qcn: Update read/write APIs
Update read/write API in QCN sdio core driver to issue CMD53
instead of CMD52 for data equal or greater than 4 bytes.

Change-Id: I5641f32fa8896d3fafb087b440ff69ad936a83ee
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:05:57 +05:30
Amandeep Singh
e4f6d17190 msm: Add QCN SDIO core driver
Add QCN SDIO core driver as function-1 driver to provide streamlined
communication for peripheral device connected over sdio.

Change-Id: Ia8aec77807b59d3e1476b0a12ee7016809335b39
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
2019-09-03 11:03:23 +05:30
Linux Build Service Account
3c8c50fdda Merge "Merge android-4.4.189 (74c8219) into msm-4.4" 2019-09-02 21:56:44 -07:00