Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1426178ybf; Thu, 27 Feb 2020 10:45:34 -0800 (PST) X-Google-Smtp-Source: APXvYqzQjhJPER4CJQXfy9kLyA4GcbTe4M8CF7RapfWzr7h6qx0cZQMuPhrB6MpaiXA9HtuZcy+x X-Received: by 2002:a05:6830:1351:: with SMTP id r17mr201304otq.227.1582829134172; Thu, 27 Feb 2020 10:45:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582829134; cv=none; d=google.com; s=arc-20160816; b=eCkVvuUpl63UCKGVQ1oZaFaY0IgTh3V2tPYTUCdLqd3HzW/0nWhfbic8SKg8O6NKJo EfUabdm4hVSgq1zX4CxR4tDe8VgZ6Pr2JieMHWk9LUbgr8Ie4R3GW5AztKmFtrPu01pG mQt5J1RdI92msSQwYpEUwkd5Yon/Y1kY7uN9tAPI+r3Bt3BZuVI95/bOeQaT8SXx1Zbp jascsodOq9LLYBuMNj4UNQDG79vOSpFnHovyhMhD2G6ZvobCjn7f2wzjqSzTvnxiSIbH 82HcPTVNZl8DZRTBeebNa1dXv3TB1j3XNV4jzrr6VxCs+OZvf7ayzr12hhC4nvUzWviL ySfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=yLP62F66km86w8PeVicar8pwabPzL/6f69oOCICNamU=; b=guEkU2/Bf4YdTmndxCDER9Am4a8mN3v2BHuwPB52B95IpZi5CkuYbroHoXmNModhq0 NYmkL/0YPf5I8lBrnmrvWSysjjIntrPZ6sqgQqMu+KTPfQPBJgSVYeHMENnLfzA6G9Zt an2h4jJgWcy0WC/Uk8Yg2HnG+yORo9xHIyBYGmMt6MbS858J4k2nwlmzhJfgd2R1o+3r yvMIU7hUxzZIApqpxCWX9XObUxCwbzuPh1I31XNOzb7vTlt3tXzJqUFf416ZhRijCtdb ny34liUiy7z9lGbOy6OnJHT8vwVxf97g4hYSCaWUmzb9oodx2p3DCgaDprSVUsOr1bm+ GFjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x10si320966oic.136.2020.02.27.10.45.22; Thu, 27 Feb 2020 10:45:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730128AbgB0SpO (ORCPT + 99 others); Thu, 27 Feb 2020 13:45:14 -0500 Received: from charlotte.tuxdriver.com ([70.61.120.58]:48863 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728028AbgB0SpO (ORCPT ); Thu, 27 Feb 2020 13:45:14 -0500 Received: from uucp by smtp.tuxdriver.com with local-rmail (Exim 4.63) (envelope-from ) id 1j7O9m-0003W9-7k; Thu, 27 Feb 2020 13:45:11 -0500 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.15.2/8.14.6) with ESMTP id 01RIePji012877; Thu, 27 Feb 2020 13:40:25 -0500 Received: (from linville@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 01RIePWF012876; Thu, 27 Feb 2020 13:40:25 -0500 Date: Thu, 27 Feb 2020 13:40:25 -0500 From: "John W. Linville" To: "Singh, Varunpratap" Cc: "grant.likely@linaro.org" , "robh+dt@kernel.org" , "linux-wireless@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "Nagaraj, Vinay" Subject: Re: Query: CNSS WLAN. Message-ID: <20200227184025.GB3353@tuxdriver.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Varun, Unfortunately, your questions is well outside of my areas of skill and expertise. Hopefully Grant or someone else in your distribution list will be more helpful. Best regards! John On Thu, Feb 27, 2020 at 03:25:16PM +0000, Singh, Varunpratap wrote: > Hi John, > > I am trying to bring up two wifi-modules simultaneously, on Qualcomm Snapdragon SD820 processor and the Kernel version is 3.18. > I connected the modules on PCIe_0 & PCIe_1. > > As per my understanding the following device tree structure is responsible for driver probing. > qcom,cnss { > compatible = "qcom,cnss"; > wlan-bootstrap-gpio = <&tlmm 46 0>; > vdd-wlan-en-supply = <&wlan_en_vreg>; > vdd-wlan-supply = <&rome_vreg>; > vdd-wlan-io-supply = <&pm8994_s4>; > vdd-wlan-xtal-supply = <&pm8994_l30>; > vdd-wlan-core-supply = <&pm8994_s3>; > wlan-ant-switch-supply = <&pm8994_l18_pin_ctrl>; > qcom,wlan-en-vreg-support; > qcom,enable-bootstrap-gpio; > qcom,notify-modem-status; > pinctrl-names = "bootstrap_active", "bootstrap_sleep"; > pinctrl-0 = <&cnss_bootstrap_active>; > pinctrl-1 = <&cnss_bootstrap_sleep>; > qcom,wlan-rc-num = <0>; > qcom,wlan-ramdump-dynamic = <0x200000>; > > qcom,msm-bus,name = "msm-cnss"; > qcom,msm-bus,num-cases = <4>; > qcom,msm-bus,num-paths = <1>; > qcom,msm-bus,vectors-KBps = > /* No vote */ > <45 512 0 0>, > /* Up to 200 Mbps */ > <45 512 41421 1520000>, > /* Up to 400 Mbps */ > <45 512 96650 1520000>, > /* Up to 800 Mbps */ > <45 512 207108 14432000>; > }; > > Currently if I change the "qcom,wlan-rc-num = <0>;" to "qcom,wlan-rc-num = <1>;" the module connected on PCIe_1 will start working and vice-versa. But as per the requirement we need two probe getting succeeded i.e both the modules should be registered. Please, suggest how can I create two different nodes under cnss structure. > > Any suggestion will be valuable. > > > > With Regards, > Varun Pratap Singh > Software Engineer. -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready.