Commit Graph

12 Commits

Author SHA1 Message Date
Sandeep Singh
aa719dfa98 icnss2: Add support for WLAN WCN6450 device
Add corresponding driver support for WCN6450 device.
This change adds compatible dtsi entry, msi config,
v3 shadow register config and vreg regulator details
along with enabling bootup sequence for WCN6450 device.

Change-Id: I406c92cdc2815ffd1108331d382c4972befad998
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
2023-02-16 23:11:34 +05:30
Sandeep Singh
6b12722480 icnss2: pass fw build id in soc info to wlan host driver
Pass fw build id as part of  soc info to wlan host driver.

Change-Id: I6a8bced678ada0f88e744b5fd3f2ed58fa4173ef
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
2022-10-19 14:54:23 +05:30
Madhvapathi Sriram
b40d1b6b33 icnss2: Support for PMIC GPIO control for WLAN
Some platforms require PMIC GPIO control to trigger the
PON/POFF sequence of the WLAN chip.

Change-Id: I24023694ecb5579bc84cd897a99596fd57fa5eee
CRs-Fixed: 3209939
Signed-off-by: nakul kachhwaha <quic_nkachhwa@quicinc.com>
Signed-off-by: Madhvapathi Sriram <quic_msriram@quicinc.com>
2022-06-03 10:51:07 +05:30
Sandeep Singh
cf19c91570 icnss2: Add code to pass device configs to wlan driver
Add code to pass device configs to wlan driver.

Change-Id: I977fc564914f9fbdabc0004eff4c5c2f14a1fc7c
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
2022-03-09 21:13:35 +05:30
Sandeep Singh
d210ffcf26 icnss2: Add check if wlan driver supported device existing
ICNSS2 supports both Adrastea and Moselle. ICNSS2 platform
driver should reject wlan driver registration for device
id which is not detected during icnss2 probe.

Change-Id: I3e4ebe48a5364cb92091a4e007ba4952838c2f3c
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
2022-02-04 12:18:02 +05:30
Naman Padhiar
99e5825db4 icnss2: Add ICNSS_SMMU_FAULT uevent
Add ICNSS_SMMU_FAULT enum to be used from Host driver.

Change-Id: Ia10a103a0e24aceffe1d691ed9545f7aa59024c5
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2021-06-14 21:18:36 -07:00
Naman Padhiar
a153fc4b20 icnss2: Update ICNSS2 driver
Update ICNSS2 driver and related files as of msm-5.4 commit
0611102d4e900a7553201992c97a9bc9bfaa00c5.

Change-Id: Iffbc320773b4116dc938b0310948616579d8c301
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2021-05-27 10:46:37 +05:30
Yue Ma
2b1c28ca2a cnss2/icnss2/cnss_utils: Update drivers
This is a update of CNSS2/ICNSS2/CNSS_UTILS drivers and
associated files as of msm-5.4 commit 027d7b5db896 ("cnss2:
Add config to disable time sync feature"). It picks below
commits cleanly in reverse order:

cnss2: Add config to disable time sync feature
cnss2: Only assert for remap window register when link is not down
icnss2: Add code for SSR dump collection feature for moselle
cnss2: Make sure the write to remap window register take effect
cnss2: Fix a print error in time sync
cnss2: Use proper DMA mask based on device ID
cnss2: Avoid trying DRV suspend if PCIe link speed is Gen 3
cnss2: Fix an issue when MSM SSR feature is not enabled
cnss2: Use proper return code for not supported operation
cnss2: Kconfig: Add CONFIG_CNSS_WCN7850 flag
cnss2: Add support for WLAN WCN7850 device
cnss2: Refactor PCI probe callback
cnss2: Add fallback support for device specific path loading
icnss: Update FW_INIT_DONE QMI indication with hang event params
cnss_utils: Compile wlan service file as part of GPL module
cnss2: Increase mhi timeout to 30 sec for perf builds
cnss2: pci: Trigger link down recovery if link fails to enter L0
cnss2: Avoid printing some verbose logs to kmsg
cnss2: Check link status before setting wlaon_pwr_ctrl registers
icnss2: Avoid race between soc wake release threads
icnss2: Add support for host triggered recovery
cnss2: Add new API to get QMI related timeouts
cnss2: Set RDDM done only when dump is collected
cnss2: Group dev_boot debugfs handling by contexts
cnss2: Check device status before suspending PCIe bus
icnss2: Vote for chain1 regulators if RD card is 2x2
icnss2: Avoid sending qdss_trace_mem_info to fw if it is down
icnss2: Avoid sending modem shutdown indication to fw if it is down
cnss2: Avoid suspending PCIe after QMI send get is called
net: cnss2: Add second element to avoid OOB issue
cnss2: Avoid race condition between time sync and system suspend
cnss2: Handle resume request while suspend in progress
cnss2: Overload QDSS trace save indication for generic mem dump
cnss-utils: Compile firmware service file independently
icnss2: Avoid race between SOC WAKE REQ/RESP
icnss2: Send power save enter/exit via SMP2P
cnss2: Donot reserve TCS register space for WLAN
cnss2: Control ADSP power collapse based on WLAN state
cnss2: Fix MAC address setup on late DMS server arrival
cnss2: Wait for RDDM if device is already in bad state
icnss2: Avoid sending fw down uevent to wlan driver twice
icnss2: Avoid calibration during SSR of WCN6750
icnss2: Send enter power save after driver suspend
cnss2: Increase mhi timeout to 60 seconds for firmware download
icnss2: Add open loop CPR support
icnss2: Fix race condition during SOC wake req/release
icnss2: Decrement soc wake ref count
icnss: Assign priority for icnss modem notifier callback
cnss2: Add debug dump for Wlan FW PBL and SBL for HST
cnss2: Check if firmware asserts before power off for CBC
icnss2: Fix null-pointer derefrence while thermal unregister
icnss2: Remove voltage vote for vdd-cx-mx after probe
ICNSS2: Send MSA address range to firmware
icnss2: Export API to host driver to exit power save
cnss2: Add logs for dev_boot debugfs
cnss2: Check for BT Enable GPIO in QCA6490
cnss2: Process TWT Indication message in event workqueue
cnss2: Enable self-recovery only when host driver detects linkdown
cnss2: Assert when power on retry reaches maximum
cnss2: Log a message after assert/de-assert WLAN_EN GPIO
cnss2: Change to add prints on link down callback
cnss2: change to enable self recovery
cnss2: change for fixed link speed
cnss2: Setup DMS QMI client for WLAN MAC address
cnss2: Correct platform driver state for cnss2
cnss2: Notify MHI to use already allocated images
cnss2: Initialize params for error path
cnss2: Collect shadow registers for RDDM scenario
cnss2: Avoid dereferencing pointer before NULL check
cnss2: Release qmi handle after server exit
icnss2: Add vbatt feature code for holi
cnss2: Update bus bandwidth device tree config read
cnss2: Avoid null pointer dereference of cnss_platform_cap
cnss2: Add runtime PM stats suppor
cnss2: Remove 0 MSI data check

Also update copyright year to 2021 for merging purpose.

Change-Id: I59126aaca97a4fc409e697070ac150f379f64d1e
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-01-04 11:29:12 -08:00
qctecmdr
6e6429db72 Merge "icnss2: Extend thermal mitigation support feature" 2020-08-13 04:49:35 -07:00
Naman Padhiar
1ffeb96f43 icnss2: Add support for Runtime PM
Add Runtime Suspend/Resume Callbaks, to enable Runtime PM
on Moselle platform.

Change-Id: Ie906652cca4dd69f9f3e8dbe811eeaf1322b2a1c
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2020-08-05 17:44:22 +05:30
Naman Padhiar
3f5d3c0819 icnss2: Extend thermal mitigation support feature
Add support to register 'n' number of cooling devices
based on host driver ask and DT entry.

Change-Id: I1dd3ab9d3f9fdd6b6707e107be742565f9569c50
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2020-07-29 23:20:28 -07:00
Sandeep Singh
13f37630bd icnss2: Add snapshot of icnss2 driver
This is a snapshot of the ICNSS2 driver and associated files as of
msm-4.19 commit bba237ba
("icnss2: Add support to send host SMMU IOVA range to firmware").

Change-Id: Ie779f948b29652f86950e4d6e5609fe5480b7ffe
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2020-07-08 15:48:47 +05:30