Add changes in serial driver to update uart errors. When BT host
driver observes a fault in BT transfers this ioctl needs to be
called. On this ioctl call uart driver will return uart error
to BT host if there are any.
Change-Id: I741b017038b63f1a03aca2169c2190b94b95a15a
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
During driver unload or idle shutdown, link down may also happen,
which sets the link down ind flag, however once shutdown process
is complete, host driver expects the platform driver to return
false for subsequent is_firmware_down check on the next wifi On.
So clear the link down ind flag at the end of shutdown.
Change-Id: Ice9ace15aac16d7df55b8d9cb433755074e07b1f
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
Enable I2C and SPI driver support for direwolf.
Change-Id: I129581caf5e900fd095caa0ede64d7ae0cbb78d4
Signed-off-by: Ashish Kori <akori@codeaurora.org>
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
This adds external GPIO wakeup support to sdhci-msm driver
for sdio cards.
Also enables clk gating only in system Suspend/Resume for SDIO card.
Also add the below fixes from 4.9 kernel :
c363224b: Fix wakeup functionality for SDIO
61fc5bf6: Remove flag MMC_PM_WAKE_SDIO_IRQ in mmc_resume_host
a7a2a82e: Set sdio_pending_processing default state to false.
Change-Id: Id6b26e8861683ab12a2323214d7946377031d314
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Implement SCM calls interface to communicate with a
backend smmu-v3 driver in order to attach/detach a smmu
client and invalidate a tlb entry.
Change-Id: Ia7393e930161c9487aba93554465df407ca4fb3c
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
To guarantee the array index is valid before use it
Change-Id: If1b37777b633edf66dad8a9f5323b042cc3b9012
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Signed-off-by: Ya Tang <yatang@codeaurora.org>
With support to move between LLCC TCM and DDR memory for USB RMNET
IN endpoint related data buffer, it is required to reset RMNET IN
endpoint related num_buf and buf_len while going from LLCC TCM memory
usage to DDR memory otherwise number of buffer and length remains same
as LLCC TCM based configuration.
Change-Id: Idc0aab865bd26a9824c116762be4a2a1ec89e919
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Adb client on device expects a blocking read from mhi. While mhi
is in suspend, it is returning with an error value. This is
causing the adb client to spawn every 1ms causing error code to
flood the serial logs. If mhi is in suspend and adb client tries
to poll for data, remove the read request from the list to block
the read.
Change-Id: Idaa70568cbddaf6b99fb5c6722a4da594d3e066d
Signed-off-by: Gauri Joshi <gaurjosh@codeaurora.org>
Ethernet VLAN frames are now encapsulated in IP/GRE on uplink,
while IP/GRE headers are stripped on downlink.
Change-Id: I8f8820abf390815ed1f4a3a81bf1943a1fecf310
Signed-off-by: Perry Randise <prandise@codeaurora.org>
During suspend while trusted touch is active, remove wait
for trusted touch to complete and skip i2c transfer. This
avoids delay during suspend.
Change-Id: Iec6b1eed86e841343d4ca3513f32fb892911b7d7
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
Add changes required for QC3, when QC3 is detected,
smb1351 make requests for voltages in steps of 200mv.
Change-Id: I603f6515c7529913dcff103939018e2bdc61c45d
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
Enable CONFIG_QCOM_KGSL_CONTEXT_DEBUG to get more information for
context leak debugging.
Change-Id: I4646b7cf3ff4e7752697736f5cbc5c2a05e45947
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
Add support for UFS controller and phy driver.
Change-Id: Ic99e8a4d245cecc9e927a14e4822fa2e61ff5408
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Signed-off-by: Anjana Hari <ahari@codeaurora.org>
Currently the driver is not setting is_suspended flag for
GPS function which is leading to remote wakeup failure for
host. Also clear rwake_inprogress flag in gsi_resume before
bailing out early for GPS function so that driver can
successfully do remote-wakeup for the functions that support
this feature.
Change-Id: I73f06c8f7b128636d0421139d068c05488d2ff06
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
Sometimes cnss probe fails as pcie link training
failure, This change will retry power on + pcie link
training.
Change-Id: I3eb12efe39b3a34b86e6cc97152d7e1615cc6266
Signed-off-by: Jingxiang Ge <jge@codeaurora.org>
WLAN host driver requires this API to get SSR state, avoid doing
ramdump when SSR happen and quick restart WLAN subsys.
Add back subsys_get_restart_level() support and fix return -EIVAL
in cnss_put_hw_resources().
Change-Id: I902d81b5693ab76028ed7e97183e07ea970930c1
CRs-Fixed: 2945893
Signed-off-by: Will Huang <wilhuang@codeaurora.org>
Add boost headroom compensation on valid OCV value
and set it into SDAM to enable charger-boost to
operate optimally.
Change-Id: Iae66525b6899368061baeb50530c9c61488b5e2c
Signed-off-by: Hui Liu <huliu@codeaurora.org>
Adding new ep consumer client to meaure Modem
throughput.
Change-Id: I6fd3e80713f1d632323430a9339e510f05622875
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
Correctly free up resources on error during probe.
Change-Id: Ia094bfd5694d580735000d2807a30f597f06f4e5
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>