From patchwork Fri Oct 28 13:03:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1696075 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MzN5Y5sQqz23kY for ; Sat, 29 Oct 2022 00:03:27 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1ooP0w-0004uk-DZ; Fri, 28 Oct 2022 13:03:10 +0000 Received: from mail-pl1-f181.google.com ([209.85.214.181]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ooP0v-0004uc-3k for kernel-team@lists.ubuntu.com; Fri, 28 Oct 2022 13:03:09 +0000 Received: by mail-pl1-f181.google.com with SMTP id j12so4792275plj.5 for ; Fri, 28 Oct 2022 06:03:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=flGUJHu9Xh23mI4YFWp9HdvN8u3foEX13qkO6DqF0k8=; b=hcml+ppHb40v0x7uAH9xqiBe9iwe9xgkIPaHzTx1tslYjpGSBUhX7fMdHY9ZHXD5qn 58k0LSC1zPvRQlFi4hk9m2ZbnM272CqSuKGNgARdX+hLKI6XBULZRhLyf6cUDx/jjQcW rVjvIK1UpbonrFGRoN9qaHSxtMURUMLGB3RAbpkIMnhrKSm6ct+vi/q7Z8n0bSEttHPV Hr9OLSoTuZ5pfojwYUeBrlNR0CvNpMSp3lZ4kyXYjW2bAoXm7ez0NTjgyiF6JcHps8yv o+YHIXgkjorHMQSI18YCOOMMaSNoOLCiKNhWF0HY6gvMW1knPVyEdXeQya62dX6C52L9 mIQw== X-Gm-Message-State: ACrzQf2tsoULfFmIj+yaGinHUbHwqE3URsniWsJKvkOuavZgEn06yKD8 9q76fyQ5g2MLCwcvN0KelryhvKcix2TxqA== X-Google-Smtp-Source: AMsMyM6GZ396CbcK8QakpgPp1txlwhYhKhtasg2VWhbuuuKMpWVn4VW3MBgBm75dy5fe9zVR0KLxTw== X-Received: by 2002:a17:903:41d0:b0:186:ceff:f80c with SMTP id u16-20020a17090341d000b00186cefff80cmr16984137ple.7.1666962186737; Fri, 28 Oct 2022 06:03:06 -0700 (PDT) Received: from yewun.. (2001-b400-e7ab-1c33-62d6-6d35-b446-32f1.emome-ip6.hinet.net. [2001:b400:e7ab:1c33:62d6:6d35:b446:32f1]) by smtp.gmail.com with ESMTPSA id c6-20020a170902d48600b00172f6726d8esm2994356plg.277.2022.10.28.06.03.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 06:03:06 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][PULL][linux-firmware][Jammy] Realtek 8852c WiFi/BT firmware support Date: Fri, 28 Oct 2022 21:03:01 +0800 Message-Id: <20221028130301.988251-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.214.181; envelope-from=vicamo@gmail.com; helo=mail-pl1-f181.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" 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) and Kinetic are nominated for fix. ---------------------------------------------------------------- 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 0efab9c7ba951703213dba490a0a3832df819163: rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A (2022-10-28 20:40:54 +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 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