From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hall.aurel32.net (hall.aurel32.net [195.154.119.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BFD633BB9F8 for ; Thu, 30 Jul 2026 10:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.154.119.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785407392; cv=none; b=SlmE+yFGFpylz1fgF4sYPntLs8CIWFTCSQdvJcD8Mi28t5ewtI66CiWyAolbuT0zfrzFWQl9uVxmDEsqHbn9FcXLuI17ILnp41KSC+wj0hYmGeutSXfWXpbISE3NIGl00OArczJQIgUVrzr/YhcXn9KrigMqRgmr/L++f26i3Po= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785407392; c=relaxed/simple; bh=l6tcX9zkHpPEkeGw2SmFlaEbfNTK7qPqH/yA26bwpXE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QTULkvGjF/4ADRs8M9bxnKbwXcBQRrlBgtHYMvfCzn7Yx/FxRbj8UTc3tsCTdfKz5T6UnXeLpGytkKzTCxAR9sJMkNg7TxU/9EtwDMifSTf8P+fBziiKNkqyo7r0glgyQCNjiB/G6DMh7THZDyR4ls+6nzi5J2EVltSZEPTlYF0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=aurel32.net; spf=pass smtp.mailfrom=aurel32.net; dkim=pass (2048-bit key) header.d=aurel32.net header.i=@aurel32.net header.b=X07dHkYP; arc=none smtp.client-ip=195.154.119.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=aurel32.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aurel32.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=aurel32.net header.i=@aurel32.net header.b="X07dHkYP" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aurel32.net ; s=202004.hall; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From:Reply-To: Subject:Content-ID:Content-Description:X-Debbugs-Cc; bh=vbTNiedtnxgS+E1WPZ3pa0G/5XHZzK3aTZZcd+th5Qk=; b=X07dHkYPrBZa98ssb7O973MVAG HiAc/y5QSF1xAPbSPifiM/XPZa4RKE7rUpaVnqu0hMrKJ1AYWw8ix8SPILXcQ5uryBBVWF0MflNWw pbxJCY6SvfsroOkZk2/wFgIjBzloFftigouNaU6Szkp5bB9cijlIoegflej7j259DFP5J6QB7aQsq UH4kljUYoJBcz1M5fqlWeBZ+8TfpmxcOBOUKgYMa/6hmx7S4mWbifKhHCek3eVje5ZfNVjfZF6l15 bztYNs+xJE5hLaSf0OhL/u2oog8pmnE+YmKQG4box9Ze7DAEtj2jMM2hX7H6XY8XSBU5J7HtrcWr8 exbpJ8uw==; Received: from authenticated user by hall.aurel32.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wpO1M-000000041GG-37aa; Thu, 30 Jul 2026 12:29:48 +0200 Date: Thu, 30 Jul 2026 12:29:45 +0200 From: Aurelien Jarno To: Anirudh Srinivasan , Paul Walmsley Cc: linux-kernel@vger.kernel.org, Palmer Dabbelt , Albert Ou , Alexandre Ghiti , "open list:RISC-V ARCHITECTURE" Subject: Re: [PATCH v2 1/4] riscv: defconfig: enable RFKILL and RFKILL_GPIO Message-ID: Mail-Followup-To: Anirudh Srinivasan , Paul Walmsley , linux-kernel@vger.kernel.org, Palmer Dabbelt , Albert Ou , Alexandre Ghiti , "open list:RISC-V ARCHITECTURE" References: <20260729172450.1660418-1-aurelien@aurel32.net> <20260729172450.1660418-2-aurelien@aurel32.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/2.2.13 (2024-03-09) Hi, Anirudh, On 2026-07-29 12:30, Anirudh Srinivasan wrote: > Hi Aurelien, >=20 > On Wed, Jul 29, 2026 at 12:24=E2=80=AFPM Aurelien Jarno wrote: > > > > The SpacemiT K3 Pico-ITX requires RFKILL_GPIO to enable bluetooth and > > wlan. > > > > Tested-by: Anirudh Srinivasan > > Signed-off-by: Aurelien Jarno > > --- > > arch/riscv/configs/defconfig | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > > index 74ba5acc12a40..8668aa31e79aa 100644 > > --- a/arch/riscv/configs/defconfig > > +++ b/arch/riscv/configs/defconfig > > @@ -99,6 +99,8 @@ CONFIG_NET_CLS_CGROUP=3Dm > > CONFIG_NETLINK_DIAG=3Dy > > CONFIG_CGROUP_NET_PRIO=3Dy > > CONFIG_CAN=3Dm > > +CONFIG_RFKILL=3Dm > > +CONFIG_RFKILL_GPIO=3Dm > > CONFIG_NET_9P=3Dy > > CONFIG_NET_9P_VIRTIO=3Dy > > CONFIG_PCI=3Dy >=20 > The riscv defconfig doesn't have CONFIG_RTW89=3Dm and > CONFIG_RTW89_8852BE in it. Do we need to add it? That's a good point, not sure to which level we need to enable all=20 modules of supported hardware. I added RFKILL and RFKILL_GPIO as it was=20 not obvious to me that those need to be enabled to get proper WiFi=20 support. Also those are tiny drivers compared to the RTW89 driver. OTOH, I see that this driver is enabled for the loongarch architecture,=20 so maybe we can do the same for riscv.. Paul, any idea about that, any policy? > I was testing with a distro defconfig, so didn't need to add it > manually. I should have realized this sooner. Yes same, so I also didn't notice. Regards Aurelien --=20 Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://aurel32.net