net: wireless: bcmdhd: Add card detect for DT
authorMohan Thadikamalla <mohant@nvidia.com>
Thu, 19 May 2016 05:06:56 +0000 (10:06 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 20 May 2016 11:59:27 +0000 (04:59 -0700)
commit4e72dadb0631881a66e35de126a73ce15528c1f1
treefe338a970387534d6841f33996c5a13bdcb66799
parent95b993003d234a8a37362718e0c1b057463abe7f
net: wireless: bcmdhd: Add card detect for DT

- Implement set_carddetect platform call back for DT
- Remove TEGRA_PREPOWER_WIFI config check for adapter power up
and use pwr_retry_cnt DT parameter for no of retries
- Add sdhci_host and pwr_retry_cnt DT parameter support
- Request wifi power and reset gpio's

Bug 200166355

Change-Id: Ib3aced1d60f7e5242bfcff7b26cbf99610faca5a
Signed-off-by: Mohan Thadikamalla <mohant@nvidia.com>
(cherry picked from commit 81349e483d9526a9730ff56332c86fc9498f5baa)
Reviewed-on: http://git-master/r/1128873
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c
drivers/net/wireless/bcmdhd/dhd_linux.h
drivers/net/wireless/bcmdhd/dhd_linux_platdev.c