ARM Sunxi Platform Development
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Icenowy Zheng <uwu@icenowy.me>,
	Peter Robinson <pbrobinson@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Samuel Holland <samuel@sholland.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev
Subject: Re: [PATCH 3/3] arm64: dts: allwinner: a64: Add WiFi/BT on Pine64
Date: Tue, 3 Sep 2024 09:08:05 +0100	[thread overview]
Message-ID: <5bbdd041-02a3-41de-832b-7f68cadca073@arm.com> (raw)
In-Reply-To: <34afe6c1857190a23521815d85660f6125f0d302.camel@icenowy.me>

Hi,

On 03/09/2024 06:50, Icenowy Zheng wrote:
> 在 2024-09-01星期日的 13:21 +0100,Peter Robinson写道:
>> Enable the rtl8723bs WiFi/BT modules on the Pine64.
> 
> I think the maintainer previously prefer to enable these modules with
> DT overlays.

Yes, we cannot have this enabled unconditionally, especially since this 
is explicitly given as the reason for the first two patches.
So either this would just stay on the list, for reference, (maybe marked 
as DON'T MERGE), or, better: we indeed rewrite this as an overlay.

I will give the series a test once I am back with my beloved boards.

Cheers,
Andre

> 
>>
>> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
>> ---
>>   .../boot/dts/allwinner/sun50i-a64-pine64.dts    | 17
>> ++++++++++++++++-
>>   1 file changed, 16 insertions(+), 1 deletion(-)
>>
>> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>> b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>> index f04f0f1badc4..1d514859e664 100644
>> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
>> @@ -138,6 +138,14 @@ &mmc1 {
>>          mmc-pwrseq = <&wifi_pwrseq>;
>>          bus-width = <4>;
>>          non-removable;
>> +       status = "okay";
>> +
>> +       rtl8723bs: wifi@1 {
>> +               reg = <1>;
>> +               interrupt-parent = <&r_pio>;
>> +               interrupts = <0 3 IRQ_TYPE_LEVEL_LOW>; /* PL3 */
>> +               interrupt-names = "host-wake";
>> +       };
>>   };
>>   
>>   &ohci0 {
>> @@ -303,7 +311,14 @@ &uart1 {
>>          pinctrl-names = "default";
>>          pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
>>          uart-has-rtscts;
>> -       status = "disabled";
>> +       status = "okay";
>> +
>> +       bluetooth {
>> +               compatible = "realtek,rtl8723bs-bt";
>> +               device-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /*
>> PL6 */
>> +               enable-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4
>> */
>> +               host-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /*
>> PL5 */
>> +       };
>>   };
>>   
>>   /* On Pi-2 connector */
> 

  reply	other threads:[~2024-09-03  8:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-01 12:21 [PATCH 1/3] arm64: dts: allwinner: a64: Add WiFi/BT header on Pine64 Peter Robinson
2024-09-01 12:21 ` [PATCH 2/3] arm64: dts: allwinner: a64: Add WiFi/BT header on SoPine Peter Robinson
2024-09-01 12:21 ` [PATCH 3/3] arm64: dts: allwinner: a64: Add WiFi/BT on Pine64 Peter Robinson
2024-09-03  5:50   ` Icenowy Zheng
2024-09-03  8:08     ` Andre Przywara [this message]
2024-09-03  8:18       ` Peter Robinson

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=5bbdd041-02a3-41de-832b-7f68cadca073@arm.com \
    --to=andre.przywara@arm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=pbrobinson@gmail.com \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=uwu@icenowy.me \
    --cc=wens@csie.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