public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: "Singh, Varunpratap" <Varunpratap.Singh@smartwirelesscompute.com>
Cc: "grant.likely@linaro.org" <grant.likely@linaro.org>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"Nagaraj, Vinay" <Vinay.Nagaraj@smartwirelesscompute.com>
Subject: Re: Query: CNSS WLAN.
Date: Thu, 27 Feb 2020 13:40:25 -0500	[thread overview]
Message-ID: <20200227184025.GB3353@tuxdriver.com> (raw)
In-Reply-To: <SN6PR04MB4142AB972E7046A24F1F911394EB0@SN6PR04MB4142.namprd04.prod.outlook.com>

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.

           reply	other threads:[~2020-02-27 18:45 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <SN6PR04MB4142AB972E7046A24F1F911394EB0@SN6PR04MB4142.namprd04.prod.outlook.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200227184025.GB3353@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=Varunpratap.Singh@smartwirelesscompute.com \
    --cc=Vinay.Nagaraj@smartwirelesscompute.com \
    --cc=devicetree@vger.kernel.org \
    --cc=grant.likely@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox