[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPDyKFpGU+tXC8thz52BQfKHNerzYSUroSihh6GpZELFm-1gRQ@mail.gmail.com>
Date: Thu, 14 Nov 2019 15:11:11 +0100
From: Ulf Hansson <ulf.hansson@...aro.org>
To: "H. Nikolaus Schaller" <hns@...delico.com>
Cc: BenoƮt Cousson <bcousson@...libre.com>,
Tony Lindgren <tony@...mide.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Russell King <linux@...linux.org.uk>,
Kalle Valo <kvalo@...eaurora.org>,
Mike Rapoport <rppt@...ux.ibm.com>,
David Sterba <dsterba@...e.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Petr Mladek <pmladek@...e.com>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
Yangtao Li <tiny.windzz@...il.com>,
Alexios Zavras <alexios.zavras@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Allison Randal <allison@...utok.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
John Stultz <john.stultz@...aro.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
DTML <devicetree@...r.kernel.org>,
Discussions about the Letux Kernel
<letux-kernel@...nphoenux.org>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
kernel@...a-handheld.com,
linux-wireless <linux-wireless@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>,
linux-omap <linux-omap@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v3 01/12] Documentation: dt: wireless: update wl1251 for sdio
On Thu, 7 Nov 2019 at 11:32, H. Nikolaus Schaller <hns@...delico.com> wrote:
>
> The standard method for sdio devices connected to
> an sdio interface is to define them as a child node
> like we can see with wlcore.
>
> Signed-off-by: H. Nikolaus Schaller <hns@...delico.com>
> Acked-by: Kalle Valo <kvalo@...eaurora.org>
> ---
> .../bindings/net/wireless/ti,wl1251.txt | 26 +++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt b/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt
> index bb2fcde6f7ff..f38950560982 100644
> --- a/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt
> +++ b/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt
> @@ -35,3 +35,29 @@ Examples:
> ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
> };
> };
> +
> +&mmc3 {
> + vmmc-supply = <&wlan_en>;
> +
> + bus-width = <4>;
> + non-removable;
> + ti,non-removable;
> + cap-power-off-card;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&mmc3_pins>;
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + wlan: wifi@1 {
> + compatible = "ti,wl1251";
> +
> + reg = <1>;
> +
> + interrupt-parent = <&gpio1>;
> + interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_21 */
> +
> + ti,wl1251-has-eeprom;
> + };
> +};
One minor thing, the "ti,power-gpio" is not required anymore, as it's
not needed for the SDIO case for pandora.
Please move it to an option section.
Kind regards
Uffe
Powered by blists - more mailing lists