summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/cnss (follow)
Commit message (Collapse)AuthorAge
* Merge "cnss2: Bypass SMMU stage-1 by default"Linux Build Service Account2017-07-10
|\
| * net: cnss2: Add snapshot of CNSS2 driverYue Ma2017-07-07
| | | | | | | | | | | | | | | | | | | | This is a snapshot of the CNSS2 driver and associated files as of msm-3.18 commit c1bbe6d5e136 ("cnss2: Fix kernel checkpatch issues"). Change-Id: Ia77d3abe3f86e4dbeac8d55ea2e0120bed480126 CRs-fixed: 2071634 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | icnss: Use fixed memory region for WLAN MSA0 memoryHardik Kantilal Patel2017-07-07
|/ | | | | | | | | | | | | | During first time boot up WLAN Platform driver allocate 1 MB MSA0 Memory region. This region may be adjacent to other regions that also requires access control, due to that TZ will merge the two sections into one single resource group. During this Q6 will lose access to memory region causing a NOC Error. To avoid use fixed memory region for WLAN MSA0 memory. CRs-Fixed: 2066025 Change-Id: Ie878e010954524bbe48a29d6ad6f2f53848ab25e Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
* icnss: set vdd-0.8-cx-mx regulator optional for icnss driverSarada Prasanna Garnayak2017-03-06
| | | | | | | | | | | | | | | | | | | | The wlan firmware is configuring the clk and voltage regulator for hardware power on and hardware reset sequence. The icnss platform driver is configuring this clk and regulators to avoid invalid access to copy engine register during the wlan recovery. As platform driver is not configuring this regulator to power on or reset the WLAN hardware, So no need to define the voltage regulators are the required properties for the ICNSS platform driver. Define vdd-0.8-cx-mx as an optional voltage regulator for the icnss platform driver. CRs-Fixed: 2014965 Change-Id: I74a1445522997ba4e7a52da5a29e9afb57ad12df Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* icnss: Vote for hardware resourcesPrashanth Bhatta2017-02-24
| | | | | | | | | | | | | | | During recovery, there are cases where in WLAN driver running on APPS can access CE register causing exceptions because of hardware in reset state. Fix the issue by not resetting the hardware in WLAN firmware during recovery but halt the CE and MAC and reset the hardware only when reinitialization starts. For this to work, platform driver needs to keep the clock and regulator votes so that WLAN hardware will not go into weird state because of not resetting it but cutting the resources. CRs-fixed: 2011579 Change-Id: Ie61366b166f15f8d5927ad911089fc693a455319 Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
* icnss: Avoid DOMAIN_ATTR_ATOMIC setting during S1 bypassHardik Kantilal Patel2017-02-09
| | | | | | | | | | | While initializing the SMMU with DOMAIN_ATTR_ATOMIC attribute iommu driver always vote for aggre2_noc_clk during suspend mode which result into power penalty. To resolve this issue avoid configuring DOMAIN_ATTR_ATOMIC attribute in S1_BYPASS mode. CRs-fixed: 2004562 Change-Id: Ic5d4b2864f58098fd29da48e5f977434e356b1e0 Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
* icnss: Remove hardware reset sequenceYuanyuan Liu2016-12-08
| | | | | | | | | | Remove WLAN hardware reset sequence from ICNSS platform as it will be taken care by WLAN FW. CRs-Fixed: 1089686 Change-Id: I363ee028eeb360ef998fd90c1ff94bb09c4ac8b4 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org> Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* msm: 8998: Replace cobalt with 8998Runmin Wang2016-11-22
| | | | | | | | | | | Update the code name from msmcobalt to msm8998. As a result, update the filename containing "cobalt" and files content containing "cobalt". CRs-Fixed: 1070840 Change-Id: I2c7b95e3e2a2fec7730724da9eeb86a39a77faf1 Signed-off-by: Runmin Wang <runminw@codeaurora.org> Signed-off-by: Kyle Yan <kyan@codeaurora.org> Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
* icnss: Add support of monitoring vph_pwrYuanyuan Liu2016-09-12
| | | | | | | | | | | | Add support of monitoring runtime phone power. Driver configures two threshold values and receives notifications when phone power crosses either high or low threshold. Driver then sends indication to WLAN FW, which will vote for different regulator power mode based on the indication. CRs-Fixed: 1050198 Change-Id: I0614286f1b2a3446d40ad4d82e24a6e8f91069e1 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* net: cnss: Release QCA chip resources when Wi-Fi is turned offKomal Seelam2016-08-29
| | | | | | | | | When WiFi is turned off from userspace, save power by toggling WLAN_EN gpio and restore power when wifi is loaded again. CRs-Fixed: 1058794 Change-Id: I0257698d9d168d7c889436a05693061cafe5ea7c Signed-off-by: Komal Seelam <kseelam@codeaurora.org>
* Merge "cnss: Provide API to CLD Driver to control SPDT GPIO"Linux Build Service Account2016-08-26
|\
| * cnss: Add optional property to control wlan_en gpio for Dual-Wifi platformsKomal Seelam2016-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | The WIFI PCIe Clock is controlled by WLAN_EN gpio. On Dual-WiFi Platforms, QCA WIFI SDIO chip clock sourced by PCIe Clock. Turning off WLAN_EN gpio would result in SDIO WIFI Functional Failures. Control the gpio, based on the platform. CRs-Fixed: 990796 Change-Id: I1399cd8aa53d1c6fd6b8ff0c5cce66b978770dbd Signed-off-by: Komal Seelam <kseelam@codeaurora.org> Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
| * cnss: Control vdd-wlan-xtal-aon-supply regulator in cnss platform driverKomal Seelam2016-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vdd-wlan-xtal-aon-supply(LD0-4) need to be voted by cnss platform driver to keep wlan XO(LDO-5) ON during APPS suspend on mdmcalifornium platforms when wlan is turned ON as per Power UP sequence. Currently LDO-4 is only voted by USB driver when USB is connected. On removing USB, LDO-4 is turned off resulting LDO-5 turned off. When WLAN is turned on removing LDO-5 vote resulted in beaconing failures on mdmcalifornium platforms. Hence add a dummy vote to LDO-4 when WLAN is turned ON. Change-Id: I0c6e7a6c2dc6a51fb19a9d31ceb6823fe9a05ae2 CRs-Fixed: 996537 Signed-off-by: Komal Seelam <kseelam@codeaurora.org>
* | icnss: Add support for multiple vreg and clocksPrashanth Bhatta2016-08-19
|/ | | | | | | | | | Current implementation doesn't take care of multiple regulator and clock voting. Add changes to take care of multiple regulator configuration as well as clock configuration through device tree. CRs-fixed: 1054503 Change-Id: I049821c960e4b53901cc2a07290d6ccedb8b971b Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
* net: cnss: add bus bandwidth support for sdio wlan moduleSarada Prasanna Garnayak2016-05-31
| | | | | | | | | | Add cnss sdio platform driver support to vote for bus bandwidth as per throughput requirement from wlan driver. The cnss sdio platform driver export bus bandwidth api for wlan host driver. CRs-Fixed: 990173 Change-Id: Ied2e5a78487b6f6076cd19f32c959a69050e055c Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* icnss: Add support to configure voltage regulatorHardik Kantilal Patel2016-05-11
| | | | | | | | Add voltage regulator support to power the WLAN hardware. CRs-Fixed: 982993 Change-Id: Ic36ac920497d05131ef8162a42ee5318600a3473 Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
* icnss: Add SMMU supportYue Ma2016-05-03
| | | | | | | | Add SMMU support for WLAN. Config it as stage-1 enable by default. Change-Id: I70db6555d236857c5a8d62a337afdc9fec22c97f CRs-fixed: 1009865 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* icnss: Add support of skiping QMIYuanyuan Liu2016-04-07
| | | | | | | | | | Add support of skiping QMI messaging when ICNSS driver is initialized. So that we can disable QMI communication between WLAN Host and FW when QMI framework is not supported. CRs-Fixed: 978953 Change-Id: I7a9a61c8aa11bd5c0f5f2effc487a2225e27011d Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* icnss: Update WLFW QMI messagesYuanyuan Liu2016-04-04
| | | | | | | | | | | | | Add QMI message to send MSA0 physical memory start address and size to wlan FW. Add QMI message indication to get the HAL-PYH Pin connect test result from wlan FW. Add a new qmi message for sending fw debug configuration. Update cap_resp message. CRs-Fixed: 978217 Change-Id: Ie0fa374b720ebbffd1d1fd5b9289b2aa816a822a Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* cnss: Add Pinctrl Framework to control antenna sharing GPIO 38Komal Seelam2016-03-25
| | | | | | | | | | | Initialize PinCtrl Framework for SDIO platforms to support antenna sharing. The antenna sharing is enabled only for platform which has PCIe QCA and SDIO QCA chipsets. CRs-Fixed: 990796 Change-Id: Ib3da0ce52ef46deae2ba49e4f39808effe18457d Signed-off-by: Komal Kumar <kseelam@codeaurora.org>
* cnss: Vote for the WLAN antenna switch regulatorYue Ma2016-03-23
| | | | | | | | | In some targets, explicitly turning on/off the regulator for WLAN antenna switch is needed to enable/dsiable antenna sharing capacity. Hence add the change to achieve this based on device tree option. Change-Id: Ic04019cbe9c42bc92a65f308f56f307c52346d92 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* Net: CNSS_SDIO: Add SSR support for QCA WIFI DevicesLiangwei Dong2016-03-23
| | | | | | | | | | Register subsystem device for SSR recovery. Create ramdump device for cnss fw dump collection. Implement cnss SSR API to wlan sdio driver. CRs-Fixed: 944010 Change-Id: If81fd84bb6080df73b12f235a2aa0eff6f717ce1 Signed-off-by: Liangwei Dong <liangwei@codeaurora.org>
* net: cnss: enable rome_vreg_dsrc regulator for dsrcGovind Singh2016-03-23
| | | | | | | | | | | rome_vreg_dsrc regulator is a fixed regulator and this regulator is control by PMIC gpio4. This is being used as vdd supply for the wlan DSRC module based on sdio interface. Enable rome_vreg_dsrc voltage regulators to enable the power up support in CNSS SDIO platform driver. Change-Id: I7c6032b706d468cc57b5304a3627f526935fb3a3 Signed-off-by: Govind Singh <govinds@codeaurora.org>
* net: icnss: Add snapshot of icnss driverYue Ma2016-03-22
| | | | | | | | | | This is a snapshot of the icnss driver and associated files as of msm-3.18 commit: e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1 (Promotion of kernel.lnx. 3.18-151201.) Signed-off-by: Yue Ma <yuem@codeaurora.org>
* net: cnss: Add snapshot of cnss driverYue Ma2016-03-22
This is a snapshot of the cnss driver and associated files as of msm-3.18 commit: e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1 (Promotion of kernel.lnx. 3.18-151201.) Signed-off-by: Yue Ma <yuem@codeaurora.org>