summaryrefslogtreecommitdiff
path: root/drivers/platform/msm/qcn (follow)
Commit message (Collapse)AuthorAge
* msm: qcn: Change spin_lock api to synchronize clientsAmandeep Singh2019-09-12
| | | | | | | | Change spin_lock api to spin_lock_bh to provide synchronization between bottom halves and threads. Change-Id: Ia964796e3d91ebce60238ad110086ba06a1026c1 Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
* msm: qcn: Remove irq release when switching to RDDMAmandeep Singh2019-09-12
| | | | | | | | Remove irq release call while switching to RDDM as the same is done during the function removal sequence. Change-Id: I0013c304f739269014caa565c15d851ee2c39aa4 Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
* msm: qcn: Release interrupt during driver teardownAmandeep Singh2019-09-05
| | | | | | | | Release interrupt synchronously on driver teardown such as during re-enumeration, manual rmmod and device power down. Change-Id: I8a2f97266513001ed9a6c08b8ca865c9ffac9065 Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
* msm: qcn: Fix type casting of channel descriptorAmandeep Singh2019-09-03
| | | | | | | | 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>
* msm: qcn: Synchronize card state change APIAmandeep Singh2019-09-03
| | | | | | | | 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>
* msm: qcn: Add driver state information paramAmandeep Singh2019-09-03
| | | | | | | Add driver state information param to view from the user space. Change-Id: I2d4cd86ae5d67ac948a93d28e24ea96394343513 Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
* msm: qcn: Disable retuning in function 1 driverAmandeep Singh2019-09-03
| | | | | | | | 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>
* msm: qcn: Detect and switch host to RDDMAmandeep Singh2019-09-03
| | | | | | | Switch driver operating mode to RDDM when target device switches to RDDM. Change-Id: I501672f4965e57e59f5a272e35534e66c63b67c1 Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
* msm: qcn: Add dynamic add and remove of SDIO cardAmandeep Singh2019-09-03
| | | | | | | Add API to dynamically add and remove the SDIO card on demand. Change-Id: I946115880da75804a6636616d9cf7cfb4a682b92 Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
* msm: qcn: Synchronize clients operating at different modesAmandeep Singh2019-09-03
| | | | | | | | | | 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>
* msm: qcn: Reserve 8 bufferes in RW queue for RXAmandeep Singh2019-09-03
| | | | | | | | | | 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>
* msm: qcn: Increase RW queue sizeAmandeep Singh2019-09-03
| | | | | | | | 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>
* msm: qcn: Update read/write APIsAmandeep Singh2019-09-03
| | | | | | | | 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>
* msm: Add QCN SDIO core driverAmandeep Singh2019-09-03
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>