wcnss: LDO change for WCNSS

Send LDO notification through SMD channel to FW which use
to update the pmic pam map.

Conflicts:
	drivers/net/wireless/wcnss/wcnss_wlan.c

Change-Id: I7a893570489e65d92df65728d09fd20e61d6b0fc
CRs-Fixed: 660361
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
wcnss: Fix AXIM select and CTRL select bit fields

When a WDI timeout happens, WLAN driver will initiate SSR. Dumping
these registers before performing the reset helps to debug the root
cause of the timeout. Fix AXIM select and CTRL select bit fields
of testbus register while doing the A2XB testbus register dump.

Conflicts:
	drivers/net/wireless/wcnss/wcnss_wlan.c

Change-Id: Ic9c7ddf2e4cee07b43cc8fe06afca04755856eeb
CRs-Fixed: 540586
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
wcnss: Reduce the pil_retry count value

wcnss driver doing multiple pil retry which causing boot process
block upto all pil retry finish. reduce the pil retry count so
it will not delay other boot process.

Change-Id: I646f444042ee7b64995a1117ae4cc7191ab85708
CRs-Fixed: 688990
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
wcnss: add null check in pm_ops unregister

Add null check for pm_ops in pm_ops unregister to avoid
null pointer dereference.

Conflicts:
	drivers/net/wireless/wcnss/wcnss_wlan.c

Change-Id: I885618a3244b91ba5eddcadb81ae08e965db63b3
CRs-Fixed: 690191
Signed-off-by: Mahesh A Saptasagar <msapta@codeaurora.org>
wcnss: Change WCNSS_VBATT_GUARD value from 200uV to 20mV

To avoid ADC_TM interrupts at 3.5V battery threshold
Change WCNSS_VBATT_GUARD value from 200uV to 20mV.

Conflicts:
	drivers/net/wireless/wcnss/wcnss_wlan.c

Change-Id: I2d7a637ff4c3eb820c43fcb73d1720e94edf3c4c
CRs-Fixed: 705609
Signed-off-by: Anand N Sunkad <asunka@codeaurora.org>
wcnss: add a2xb bus stall detection logic

Detect A2XB bus stall by profiling Read, Write and Cmd
fifo registers.

Conflicts:
	drivers/net/wireless/wcnss/wcnss_wlan.c

Change-Id: I33b45e79c52677ef998011511a6fc3fb76eecc24
Crs-Fixed: 705962
Signed-off-by: Siddharth Bhal <sbhal@codeaurora.org>
wlan: Add debug print NV download failure

Added a debug  print for the return type in case
of NV downlaod failed.

Conflicts:
	drivers/net/wireless/wcnss/wcnss_wlan.c

CRs-Fixed: 717777
Change-Id: I3287089cad83d37641c71da9829ef4e89d7aeca0
Signed-off-by: Kaushik, Sushant <skaushik@codeaurora.org>
wcnss: add pm_qos support to prevent power collapse for BIMC

Add pm_qos support to prevent power collapse of BIMC during
SSR and coldboot. Wakelock is also taken to prevent power
collapse of BIMC

Conflicts:
	drivers/net/wireless/wcnss/wcnss_wlan.c

CRs-Fixed: 727070
Change-Id: Ida638e85995735b629ad455dd48df996b37c2305
Signed-off-by: Siddharth Bhal <sbhal@codeaurora.org>
wcnss: add condition to check for pronto ver3 hardware

Add support to check for pronto ver3 hardware is present
by reading a device tree entry

Conflicts:
	drivers/net/wireless/wcnss/wcnss_wlan.c

Change-Id: I01cd71ac6c00b6c1e4c5ea46b3f3c0b57a0dbd95
CRs-Fixed: 737209
Signed-off-by: Siddharth Bhal <sbhal@codeaurora.org>
wcnss: configure iris into cxo mode

configure iris into cxo mode when iris card not present
to avoid crash at boot time.

Change-Id: I5efd0fb704e2e534a3b608bc1e80f5d6a53a02aa
CRs-fixed: 691946
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
wcnss: send GPIO strength parameter to firmware

To dynamically configure GPIO strength in firmware
send GPIO strength parameter as a part of power manager
indication to firmware.

Change-Id: Iad9351d079a61321d407ca1032add841f16c8fdd
CRs-Fixed: 765151
Signed-off-by: Anand N Sunkad <asunka@codeaurora.org>