mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Luka Gejak" <luka.gejak@linux.dev>
To: "Bitterblue Smith" <rtl8821cerfe2@gmail.com>,
	"Ping-Ke Shih" <pkshih@realtek.com>
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Michael Straube" <straube.linux@gmail.com>,
	"Peter Robinson" <pbrobinson@gmail.com>,
	luka.gejak@linux.dev
Subject: Re: [PATCH v4 3/6] wifi: rtw88: 8723b: add the RTL8723B chip driver
Date: Wed, 30 Sep 2026 08:44:16 +0000	[thread overview]
Message-ID: <0846c6b806603106e99346edfa1663efb08a7595@linux.dev> (raw)
In-Reply-To: <c5f27f7f-6536-4a22-87d8-4f5def76177c@gmail.com>

September 29, 2026 at 13:28, "Bitterblue Smith" <rtl8821cerfe2@gmail.com mailto:rtl8821cerfe2@gmail.com?to=%22Bitterblue%20Smith%22%20%3Crtl8821cerfe2%40gmail.com%3E > wrote:


> 
> On 29/09/2026 13:13, Luka Gejak wrote:
> 
> > 
> > September 27, 2026 at 19:29, "Bitterblue Smith" <rtl8821cerfe2@gmail.com mailto:rtl8821cerfe2@gmail.com?to=%22Bitterblue%20Smith%22%20%3Crtl8821cerfe2%40gmail.com%3E > wrote:
> >  
> >  
> > 
> > > 
> > > On 27/09/2026 18:21, Bitterblue Smith wrote:
> > > 
> >  On 24/09/2026 00:35, Luka Gejak wrote:
> > 
> >  
> >  + if (rtw_hci_type(rtwdev) == RTW_HCI_TYPE_SDIO) {
> >  + rtw_write16_set(rtwdev, REG_PWR_DATA,
> >  + BIT_EEPRPAD_RFE_CTRL_EN);
> >  +
> >  + /*
> >  + * rtw_mac_power_on() sets PAD mux bits this chip must not have;
> >  + * restore the SDIO PAD mux before RF and coex setup.
> >  + */
> >  
> > 
> > > 
> > > By the way, rtw_mac_power_on() doesn't touch REG_PAD_CTRL1
> > >  for this chip.
> > > 
> >  
> >  It does, through rtw_mac_pre_system_cfg(), which rtw_mac_power_on() calls
> >  at mac.c:382. At mac.c:111 that function reads REG_PAD_CTRL1, ORs in
> >  BIT_PAPE_WLBT_SEL and BIT_LNAON_WLBT_SEL and writes it back, for every
> >  HCI type including SDIO. So the bits are set during power on and the SDIO
> >  PAD mux has to have them cleared, which is what rtw8723b_sdio_restore_pad_ctrl()
> >  does. The comment in rtw8723b_post_enable_flow() names that function and the
> >  two bits now.
> > 
> That code is not reachable with this chip.
> 

My bad, I missed the wcpu check.

I removed the call and the comment.

Best regards,
Luka Gejak

  reply	other threads:[~2026-09-30  8:44 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-23 21:35 [PATCH v4 0/6] wifi: rtw88: add RTL8723B/RTL8723BS support Luka Gejak
2026-09-23 21:35 ` [PATCH v4 1/6] wifi: rtw88: 8723b: add the RTL8723B register definitions Luka Gejak
2026-09-27 15:20   ` Bitterblue Smith
2026-09-23 21:35 ` [PATCH v4 2/6] wifi: rtw88: 8723b: add the RTL8723B BB, RF and AGC tables Luka Gejak
2026-09-23 21:35 ` [PATCH v4 3/6] wifi: rtw88: 8723b: add the RTL8723B chip driver Luka Gejak
2026-09-27 15:21   ` Bitterblue Smith
2026-09-27 17:29     ` Bitterblue Smith
2026-09-29 10:13       ` Luka Gejak
2026-09-29 11:28         ` Bitterblue Smith
2026-09-30  8:44           ` Luka Gejak [this message]
2026-09-29 10:10     ` Luka Gejak
2026-09-29 11:28       ` Bitterblue Smith
2026-09-30  8:20         ` Luka Gejak
2026-09-23 21:35 ` [PATCH v4 4/6] wifi: rtw88: 8723bs: add the RTL8723BS SDIO bind Luka Gejak
2026-09-23 21:35 ` [PATCH v4 5/6] wifi: rtw88: 8723bs: enable building the RTL8723BS driver Luka Gejak
2026-09-23 21:35 ` [PATCH v4 6/6] MAINTAINERS: add entry for the RTL8723B rtw88 driver Luka Gejak
2026-09-24  1:24   ` Ping-Ke Shih
2026-09-24  5:58     ` Luka Gejak
2026-09-29  1:15       ` Ping-Ke Shih
2026-09-29  6:36         ` Luka Gejak
2026-09-29  6:47           ` Luka Gejak
2026-09-29  9:08             ` Ping-Ke Shih
2026-09-29  9:17               ` Luka Gejak
2026-09-25 14:27     ` Bitterblue Smith

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=0846c6b806603106e99346edfa1663efb08a7595@linux.dev \
    --to=luka.gejak@linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pbrobinson@gmail.com \
    --cc=pkshih@realtek.com \
    --cc=rtl8821cerfe2@gmail.com \
    --cc=straube.linux@gmail.com \
    /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

all inboxes | Powered by JetHome®