Use debug level instead of error level for certain print in
cnss_pci_enumerate().
Change-Id: I7453c7834ae34aebb902c5050e3c7c5515500d67
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Add mproc related defconfig for direwolf which inlcudes qrtr,
hwspinlock,glink,smem,smp2p,ipc irq bridge and ipc logging
related configurations.
Change-Id: I56287609ca361f363d5dd9a1d2fc16b03d606c3c
Signed-off-by: Arun Prakash <app@codeaurora.org>
Fix compilation issue while Casting a large number type to a smaller type
which may lead to data lost.
Replace ‘null’ with ‘0’ as null is 64bit wide.
Change-Id: Ic77dfac7c920cf3dbdfe459ec435680cb69be2f5
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
Few UFS devices are taking a long time to finish its internal
initialization. UFS driver polls fDeviceInit flag which indicates
device initialization completion.
Increase this flag poll time to 5sec to cover support for those UFS
devices as well.
Change-Id: I99e1ed54d57c9fd75bbe1b22ea30553b1ce0fb83
Signed-off-by: Hiren Gohel <vhiren@codeaurora.org>
This change protects from unclocked access if framework calls the
prepare_message() from any condition. Though driver expects to return
from transfer_hardware() if PM is not enabled, this will double sure
to ensure clocks are enabled before further transfer.
Do not serve system suspend if driver is runtime active, let runtime
suspend happen first and then serve system suspend.
Change-Id: I78613a6aefa9a28f2793277152494f36b8c933e8
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Excluding the camera headers which includes videodev2.h
to avoid compilation error on some platforms.
Change-Id: I9fe2c6b75914bd77ceff39f7714f542f711b4af6
Signed-off-by: Prasad Mullamuri <prasadmu@codeaurora.org>
Added support for new comanche 1.3 soc ID
CRs-Fixed: 2942015
Change-Id: I2f1be9127db74614b9d5c2f797468da85559c60e
Signed-off-by: Prateek Raj Singh <pratsing@codeaurora.org>
Driver is currently using internal APIs to support L0s, ASPM L1
and ASPM L1ss. PCIE ASPM control driver is compliant to PCIE
specification. Hence use this driver in powersupersave mode.
Driver reads the capability of link partner to enable/disable
L0s, ASPM L1 and ASPM L1ss. In order to enable/disable link
power states link, capability register of root complex is modified
based on device tree property. Also add t_power_on value and scale
from device tree which is used by ASPM control driver to calculate
the L1.2 threshold value.
Change-Id: Ibb69c68659cd6b03011d507fab4eeed6ee88ddc4
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
PCIE ASPM control driver is compliant to PCIE specification.
Hence use this driver in powersupersave mode.
Change-Id: Ife4d95508ebd9fd3f046a640a64a18f243de7e4c
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
On some platforms, USB controller needs to vote for more clocks
to access ANoc and SysNoc. Add support for these clocks. Keep
them as optional.
Change-Id: Ifb31006388266de910f3764f72e0f24e3721bd2d
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Enable USB dwc3 core and glue drivers, XHCI host drivers, PHY
drivers, link and electrical testing drivers and configfs based
USB functions like diag and QDSS for direwolf GKI. Also enable
USBMON and ACM host drivers for direwold QGKI.
Change-Id: I86e0cd66164cdc77bd4f2b5dc35f3374f0e18c90
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Removed fixing the Title size which may not terminate
the NULL character end of Title. And, this would fix the
possible out-of-bounds read when reading debug-fs.
Change-Id: Ib3ff2b0106a25232c7a766baaaaca5bd9d306533
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
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>
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>