From: Johan Jonker <jbx6244@gmail.com>
To: justin.swartz@risingedge.co.za
Cc: devicetree@vger.kernel.org, heiko@sntech.de,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
mark.rutland@arm.com, robh+dt@kernel.org
Subject: Re: [PATCH] ARM: dts: enable WLAN for Mecer Xtreme Mini S6
Date: Mon, 6 Apr 2020 11:57:02 +0200 [thread overview]
Message-ID: <e602c1b8-3606-a8d3-c64c-ec9e58315974@gmail.com> (raw)
In-Reply-To: <20200405110022.3849-1-justin.swartz@risingedge.co.za>
Hi Justin,
Have a look at the documents:
Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
Documentation/devicetree/bindings/mmc/synopsys-dw-mshc-common.yaml
Documentation/devicetree/bindings/mmc/mmc-controller.yaml
Fix &emmc as well.
> From: Justin Swartz <justin.swartz@risingedge.co.za>
> To: Heiko Stuebner <heiko@sntech.de>,
> Rob Herring <robh+dt@kernel.org>,
> Mark Rutland <mark.rutland@arm.com>
> Cc: Justin Swartz <justin.swartz@risingedge.co.za>,
> linux-arm-kernel@lists.infradead.org,
> linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org,
> linux-kernel@vger.kernel.org
> Subject: [PATCH] ARM: dts: enable WLAN for Mecer Xtreme Mini S6
> Date: Sun, 5 Apr 2020 11:00:21 +0000
> Message-ID: <20200405110022.3849-1-justin.swartz@risingedge.co.za> (raw)
>
> The Mecer Xtreme Mini S6 features a wireless module, based on a
> Realtek 8723BS, which provides WLAN and Bluetooth connectivity via
> SDIO and UART interfaces respectively.
>
> Define a simple MMC power sequence that declares the GPIO pins
> connected to the module's WLAN Disable and Bluetooth Disable pins
> as active low reset signals, because both signals must be deasserted
> for WLAN radio operation.
>
> Configure the host's SDIO interface for High Speed mode with 1.8v
> I/O signalling and IRQ detection over a 4-bit wide bus.
>
> Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za>
> ---
> arch/arm/boot/dts/rk3229-xms6.dts | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm/boot/dts/rk3229-xms6.dts b/arch/arm/boot/dts/rk3229-xms6.dts
> index 679fc2b00..cdfcef41b 100644
> --- a/arch/arm/boot/dts/rk3229-xms6.dts
> +++ b/arch/arm/boot/dts/rk3229-xms6.dts
> @@ -39,6 +39,12 @@
> };
> };
>
> + sdio_pwrseq: sdio-pwrseq {
> + compatible = "mmc-pwrseq-simple";
> + reset-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>,
> + <&gpio2 29 GPIO_ACTIVE_LOW>;
> + };
> +
> vcc_host: vcc-host-regulator {
> compatible = "regulator-fixed";
> enable-active-high;
> @@ -202,6 +208,18 @@
> status = "okay";
> };
>
> +&sdio {
> + bus-width = <4>;
> + cap-sd-highspeed;
> + cap-sdio-irq;
> + disable-wp;
Not used in combination with sdio and emmc.
> + mmc-pwrseq = <&sdio_pwrseq>;
> + non-removable;
> + num-slots = <1>;
Deprecated.
> + vqmmc-supply = <&vccio_1v8>;
> + status = "okay";
> +};
> +
> &sdmmc {
> cap-mmc-highspeed;
> disable-wp;
> --
> 2.11.0
next prev parent reply other threads:[~2020-04-06 9:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-05 11:00 [PATCH] ARM: dts: enable WLAN for Mecer Xtreme Mini S6 Justin Swartz
2020-04-06 9:57 ` Johan Jonker [this message]
2020-04-06 13:50 ` [PATCH v2] " Justin Swartz
2020-05-18 22:42 ` Heiko Stuebner
2020-04-06 13:50 ` [PATCH] ARM: dts: remove disable-wp from rk3229-xms6 emmc Justin Swartz
2020-05-18 22:42 ` Heiko Stübner
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=e602c1b8-3606-a8d3-c64c-ec9e58315974@gmail.com \
--to=jbx6244@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=justin.swartz@risingedge.co.za \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mark.rutland@arm.com \
--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;
as well as URLs for NNTP newsgroup(s).