[PW_SID:1148595] Enable Bluetooth and WiFi on K3 Pico ITX - #2500
[PW_SID:1148595] Enable Bluetooth and WiFi on K3 Pico ITX#2500linux-riscv-bot wants to merge 6 commits into
Conversation
On the SpacemiT K3 SoC, the combo phy provides 8 lines that can either be used for PCIe or USB3, depending on its configuration (spacemit,apmu). This configuration is defined at the board level, and assigning a phy line to a USB3 controller while it is configured as PCIe results in an "Invalid PHY mode" error. Move the USB3 phy at the board level, the as it is done for the submitted PCIe controller [1]. Keep the USB2 phy at the SoC level as there is one phy per USB controller. [1] https://lore.kernel.org/20260727094726.890179-3-inochiama@gmail.com/ Fixes: 46380e4 ("riscv: dts: spacemit: k3: add USB controller and USB phy support") Cc: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…oard The SpacemiT K3 has 4 USB3 controllers labelled A to D. On the K3 Pico-ITX board, the controllers B and C are used in USB2 mode only respectively for the M.2 B-Key slot and for the RTL8852BE Bluetooth controller. Add the two controller nodes, the two corresponding USB2 PHY nodes, and enable them on the K3 Pico-ITX board. Tested-by: Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…oard On the K3 Pico-ITX board, by default the GPIO pin that connects to the RTL8852BE Bluetooth enable signal is driven low, resulting in impossibility to use Bluetooth. Add a DT node to expose it as an RFKILL device, which lets the Bluetooth driver or userspace toggle it as required. Tested-by: Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
… board On the K3 Pico-ITX board, by default the GPIO pin that connects to the RTL8852BE WLAN enable signal is driven low, resulting in impossibility to connect to any network. Add a DT node to expose it as an RFKILL device, which lets the WLAN driver or userspace toggle it as required. Tested-by: Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…TX board The SpacemiT K3 Pico-ITX board has a RTL8852BE Bluetooth and WLAN controller connected through PCIe and USB. For the WLAN part, enable CFG80211, MAC80211, RTW89 and RTW89_8852BE as modules. For the Bluetooth, enable CONFIG_BT and CONFIG_BT_HCIBTUSB as modules. Both also require RFKILL and RFKILL_GPIO. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
52e58c6 to
c325d80
Compare
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 1: "[v3,1/5] riscv: dts: spacemit: k3: move USB3 phy to board level" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 2: "[v3,2/5] riscv: dts: spacemit: k3: add USB3 B and C controllers for Pico-ITX board" |
|
Patch 5: "[v3,5/5] riscv64: defconfig: Enable BT and WLAN support for SpacemiT K3 Pico-ITX board" |
|
Patch 5: "[v3,5/5] riscv64: defconfig: Enable BT and WLAN support for SpacemiT K3 Pico-ITX board" |
|
Patch 5: "[v3,5/5] riscv64: defconfig: Enable BT and WLAN support for SpacemiT K3 Pico-ITX board" |
aa59017 to
875d2a7
Compare
PR for series 1148595 applied to workflow
Name: Enable Bluetooth and WiFi on K3 Pico ITX
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1148595
Version: 3