[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c1cd51655f783d9ec2f6f068590c2a35@manjaro.org>
Date: Wed, 07 Aug 2024 19:15:03 +0200
From: Dragan Simic <dsimic@...jaro.org>
To: Florian Klink <flokli@...kli.de>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Heiko Stuebner <heiko@...ech.de>,
Sebastian Reichel <sebastian.reichel@...labora.com>, Kever Yang
<kever.yang@...k-chips.com>, Muhammed Efe Cetin <efectn@...tonmail.com>,
FUKAUMI Naoki <naoki@...xa.com>, Tamás Szűcs
<tszucs@...tonmail.ch>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-rockchip@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] arm64: dts: rockchip: add rfkill node for M.2 E wifi
on orangepi-5-plus
On 2024-08-07 19:00, Florian Klink wrote:
> This follows the same logic as 82d40b141a4c ("arm64: dts: rockchip: add
> rfkill node for M.2 Key E WiFi on rock-5b").
>
> On the orangepi-5-plus, there's also a GPIO pin connecting the WiFi
> enable signal inside the M.2 Key E slot.
>
> The exact GPIO PIN can be validated in the Armbian rk-5.10-rkr4 kernel
> rk3588-orangepi-5-plus.dtsi file [1], which contains a `wifi_disable`
> node referencing RK_PC4 on &gpio0.
>
> Signed-off-by: Florian Klink <flokli@...kli.de>
> Tested-by: Florian Klink <flokli@...kli.de>
> Link:
> https://github.com/armbian/linux-rockchip/blob/9fbe23c9da24f236c6009f42d3f02c1ffb84c169/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
> [1]
Unfortunately, this isn't how the "Link: ..." tag is to be used, or how
a reference is to be provided. Please see the patch submission linked
below for a correct example of providing links as references.
https://lore.kernel.org/linux-rockchip/4449f7d4eead787308300e2d1d37b88c9d1446b2.1717308862.git.dsimic@manjaro.org/T/#u
> ---
> arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
> b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
> index e74871491ef5..c3a6812cc93a 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts
> @@ -105,6 +105,13 @@ led {
> };
> };
>
> + rfkill {
> + compatible = "rfkill-gpio";
> + label = "rfkill-pcie-wlan";
> + radio-type = "wlan";
> + shutdown-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
> + };
> +
> sound {
> compatible = "simple-audio-card";
> pinctrl-names = "default";
Powered by blists - more mailing lists