diff mbox series

[SRU,PULL,V2,linux-firmware,Jammy] Realtek 8852c WiFi/BT firmware support

Message ID 20221109075233.306332-1-vicamo.yang@canonical.com
State New
Headers show
Series [SRU,PULL,V2,linux-firmware,Jammy] Realtek 8852c WiFi/BT firmware support | expand

Commit Message

You-Sheng Yang Nov. 9, 2022, 7:52 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1995046

[Impact]

Some OEM design RTK-8852c as WiFi/BT solution on new platform, need to add
both FW & config file to get it work with oem-6.0.

WiFi: rtw8852c

  rtw89_8852ce 0000:02:00.0: enabling device (0000 -> 0003)
  rtw89_8852ce 0000:02:00.0: Direct firmware load for rtw89/rtw8852c_fw.bin failed with error -2
  rtw89_8852ce 0000:02:00.0: failed to request firmware
  rtw89_8852ce 0000:02:00.0: failed to wait firmware completion
  rtw89_8852ce 0000:02:00.0: failed to setup chip information
  rtw89_8852ce: probe of 0000:02:00.0 failed with error -22

BT: rtl8852cu

  Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_fw.bin
  Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8852cu_fw.bin not found

[Fix]

rtw89/rtw8852c_fw.bin and rtl_bt/rtl8852cu_fw.bin are required. Kinetic
has already 5 commits out of 8.

[Test Case]

The driver will prompt for missed firmware blobs for a given platform.

[Where problems could occur]

New device to be supported for Jammy oem-6.0. May cause system stability
issues or power consumption performance.

[Other Info]

This device is supported since v5.19, so only Jammy (for oem-6.0), Kinetic
and above are nominated for fix.

V2: update signed-off

----------------------------------------------------------------
The following changes since commit 2108422fe53f1a3e4784145c4c53b61ec4f36d62:

  i915: Add GuC v70.5.1 for DG1, DG2, TGL and ADL-P (2022-10-14 16:23:52 +0300)

are available in the Git repository at:

  https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1995046/rtl8852c-wifi-bt/jammy

for you to fetch changes up to f4e86652441987aa43a97c643de26b7019cbdee5:

  rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A (2022-11-09 15:32:49 +0800)

----------------------------------------------------------------
Chin-Yen Lee (2):
      rtw89: 8852c: update fw to v0.27.56.0
      rtw89: 8852c: update fw to v0.27.56.1

Hilda Wu (2):
      rtl_bt: Update RTL8852C BT USB firmware to 0xDFB8_5A33
      rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A

Max Chou (1):
      rtl_bt: Add firmware and config files for RTL8852C

Ping-Ke Shih (2):
      rtw89: 8852c: add new firmware v0.27.20.0 for RTL8852C
      rtw89: 8852c: update fw to v0.27.42.0

Po-Hao Huang (1):
      rtw89: 8852c: update fw to v0.27.36.0

 WHENCE                      |   3 +++
 rtl_bt/rtl8852cu_config.bin | Bin 0 -> 6 bytes
 rtl_bt/rtl8852cu_fw.bin     | Bin 0 -> 106960 bytes
 rtw89/rtw8852c_fw.bin       | Bin 0 -> 1516040 bytes
 4 files changed, 3 insertions(+)
 create mode 100644 rtl_bt/rtl8852cu_config.bin
 create mode 100644 rtl_bt/rtl8852cu_fw.bin
 create mode 100644 rtw89/rtw8852c_fw.bin

Binary files /dev/null and b/rtw89/rtw8852c_fw.bin differ

Comments

Juerg Haefliger Nov. 14, 2022, 3:50 p.m. UTC | #1
Applied to linux-firmware jammy branch.

...Juerg


On Wed,  9 Nov 2022 15:52:33 +0800
You-Sheng Yang <vicamo.yang@canonical.com> wrote:

> BugLink: https://bugs.launchpad.net/bugs/1995046
> 
> [Impact]
> 
> Some OEM design RTK-8852c as WiFi/BT solution on new platform, need to add
> both FW & config file to get it work with oem-6.0.
> 
> WiFi: rtw8852c
> 
>   rtw89_8852ce 0000:02:00.0: enabling device (0000 -> 0003)
>   rtw89_8852ce 0000:02:00.0: Direct firmware load for rtw89/rtw8852c_fw.bin failed with error -2
>   rtw89_8852ce 0000:02:00.0: failed to request firmware
>   rtw89_8852ce 0000:02:00.0: failed to wait firmware completion
>   rtw89_8852ce 0000:02:00.0: failed to setup chip information
>   rtw89_8852ce: probe of 0000:02:00.0 failed with error -22
> 
> BT: rtl8852cu
> 
>   Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_fw.bin
>   Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8852cu_fw.bin not found
> 
> [Fix]
> 
> rtw89/rtw8852c_fw.bin and rtl_bt/rtl8852cu_fw.bin are required. Kinetic
> has already 5 commits out of 8.
> 
> [Test Case]
> 
> The driver will prompt for missed firmware blobs for a given platform.
> 
> [Where problems could occur]
> 
> New device to be supported for Jammy oem-6.0. May cause system stability
> issues or power consumption performance.
> 
> [Other Info]
> 
> This device is supported since v5.19, so only Jammy (for oem-6.0), Kinetic
> and above are nominated for fix.
> 
> V2: update signed-off
> 
> ----------------------------------------------------------------
> The following changes since commit 2108422fe53f1a3e4784145c4c53b61ec4f36d62:
> 
>   i915: Add GuC v70.5.1 for DG1, DG2, TGL and ADL-P (2022-10-14 16:23:52 +0300)
> 
> are available in the Git repository at:
> 
>   https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-1995046/rtl8852c-wifi-bt/jammy
> 
> for you to fetch changes up to f4e86652441987aa43a97c643de26b7019cbdee5:
> 
>   rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A (2022-11-09 15:32:49 +0800)
> 
> ----------------------------------------------------------------
> Chin-Yen Lee (2):
>       rtw89: 8852c: update fw to v0.27.56.0
>       rtw89: 8852c: update fw to v0.27.56.1
> 
> Hilda Wu (2):
>       rtl_bt: Update RTL8852C BT USB firmware to 0xDFB8_5A33
>       rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A
> 
> Max Chou (1):
>       rtl_bt: Add firmware and config files for RTL8852C
> 
> Ping-Ke Shih (2):
>       rtw89: 8852c: add new firmware v0.27.20.0 for RTL8852C
>       rtw89: 8852c: update fw to v0.27.42.0
> 
> Po-Hao Huang (1):
>       rtw89: 8852c: update fw to v0.27.36.0
> 
>  WHENCE                      |   3 +++
>  rtl_bt/rtl8852cu_config.bin | Bin 0 -> 6 bytes
>  rtl_bt/rtl8852cu_fw.bin     | Bin 0 -> 106960 bytes
>  rtw89/rtw8852c_fw.bin       | Bin 0 -> 1516040 bytes
>  4 files changed, 3 insertions(+)
>  create mode 100644 rtl_bt/rtl8852cu_config.bin
>  create mode 100644 rtl_bt/rtl8852cu_fw.bin
>  create mode 100644 rtw89/rtw8852c_fw.bin
> 
> diff --git a/WHENCE b/WHENCE
> index a601021a..7778d97c 100644
> --- a/WHENCE
> +++ b/WHENCE
> @@ -3358,6 +3358,7 @@ Licence: Redistributable. See LICENCE.rtlwifi_firmware.txt for details.
>  Driver: rtw89 - Realtek 802.11ax WLAN driver for RTL8852A
>  
>  File: rtw89/rtw8852a_fw.bin
> +File: rtw89/rtw8852c_fw.bin
>  
>  Licence: Redistributable. See LICENCE.rtlwifi_firmware.txt for details.
>  
> @@ -4038,6 +4039,8 @@ File: rtl_bt/rtl8852au_fw.bin
>  File: rtl_bt/rtl8852au_config.bin
>  File: rtl_bt/rtl8852bu_fw.bin
>  File: rtl_bt/rtl8852bu_config.bin
> +File: rtl_bt/rtl8852cu_fw.bin
> +File: rtl_bt/rtl8852cu_config.bin
>  
>  Licence: Redistributable. See LICENCE.rtlwifi_firmware.txt for details.
>  
> diff --git a/rtl_bt/rtl8852cu_config.bin b/rtl_bt/rtl8852cu_config.bin
> new file mode 100644
> index 00000000..91d3f440
> Binary files /dev/null and b/rtl_bt/rtl8852cu_config.bin differ
> diff --git a/rtl_bt/rtl8852cu_fw.bin b/rtl_bt/rtl8852cu_fw.bin
> new file mode 100644
> index 00000000..f3566292
> Binary files /dev/null and b/rtl_bt/rtl8852cu_fw.bin differ
> diff --git a/rtw89/rtw8852c_fw.bin b/rtw89/rtw8852c_fw.bin
> new file mode 100644
> index 00000000..0825c1a3
> Binary files /dev/null and b/rtw89/rtw8852c_fw.bin differ
>
diff mbox series

Patch

diff --git a/WHENCE b/WHENCE
index a601021a..7778d97c 100644
--- a/WHENCE
+++ b/WHENCE
@@ -3358,6 +3358,7 @@  Licence: Redistributable. See LICENCE.rtlwifi_firmware.txt for details.
 Driver: rtw89 - Realtek 802.11ax WLAN driver for RTL8852A
 
 File: rtw89/rtw8852a_fw.bin
+File: rtw89/rtw8852c_fw.bin
 
 Licence: Redistributable. See LICENCE.rtlwifi_firmware.txt for details.
 
@@ -4038,6 +4039,8 @@  File: rtl_bt/rtl8852au_fw.bin
 File: rtl_bt/rtl8852au_config.bin
 File: rtl_bt/rtl8852bu_fw.bin
 File: rtl_bt/rtl8852bu_config.bin
+File: rtl_bt/rtl8852cu_fw.bin
+File: rtl_bt/rtl8852cu_config.bin
 
 Licence: Redistributable. See LICENCE.rtlwifi_firmware.txt for details.
 
diff --git a/rtl_bt/rtl8852cu_config.bin b/rtl_bt/rtl8852cu_config.bin
new file mode 100644
index 00000000..91d3f440
Binary files /dev/null and b/rtl_bt/rtl8852cu_config.bin differ
diff --git a/rtl_bt/rtl8852cu_fw.bin b/rtl_bt/rtl8852cu_fw.bin
new file mode 100644
index 00000000..f3566292
Binary files /dev/null and b/rtl_bt/rtl8852cu_fw.bin differ
diff --git a/rtw89/rtw8852c_fw.bin b/rtw89/rtw8852c_fw.bin
new file mode 100644
index 00000000..0825c1a3