Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10741525rwl; Thu, 12 Jan 2023 01:49:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXsYUj3/pjY+/etYj+93fGoOiRso9cevV7R/ooyvrteBC75mdQVRWF5NcrKSxvhOBtQsvQdm X-Received: by 2002:a17:90b:240b:b0:228:cde7:fefb with SMTP id nr11-20020a17090b240b00b00228cde7fefbmr9540456pjb.30.1673516944957; Thu, 12 Jan 2023 01:49:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673516944; cv=none; d=google.com; s=arc-20160816; b=rcEF0x4VTb0+O8rgz7+JDkNInCtJ9i+9ROL1cnUnQmWvfi8FXuL5kNTmWaEKhOmLgr +w10T3pn4Cu5J8LREnolwk9poIFMguZKD6JuMzkUk6aravRYGVF0OYFEiT159UW6+Tlv YSDngOK/GfB1IdwmtYlVxNpkiQeHF+Os+zK0GdXXaZTJBZ7DprHMqjU4wdFo7dnz+tKe 9MCbX4xJ3oKKj+k7GI8zRJ5xTGtZMbz2ILJiyEvKHBAbywpySzbOTYTR8j1aeUOY3ink jMO/EMakTLfHdbeC69E1s5LWf5vRB3uGKtwXS04pF5zZTnOyPHC2eK+ckYtoRd+v5el9 f5HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=/MisFuCPL+l9oVHGQMObB7KX01tl51Za3+ap9uQYP8o=; b=yp02kaAXYeD+8L+Jofx39JCQFS1mKjLtNRxfvva/Uc2TPY10h3mnliuK337m076grH /jPy3YwETsBwa0zsmsajnu0rmo3k64PXNRT869FNrOTSlt9c4Jd+mHobmc+4oosRymaL +CyLBtbD9Sle1jeyAgtZVVHCgcgwuT6QhCY6ZhOGwbk0OMlAjn1KlWKXsx3woKYRtZsm 01lEPD6bxq+18laMs4fzUd1CaDIuZ+BGS/yz0YWHspoB4TFSU2pn7a0HI1rru+iAhedC 9fi0rQw7H/Wz6sXx25C6VhySPRCuAAk0TibwRXB+YePsYfaZmRSQXWO8BVizb3SDrxa7 bsUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ng16-20020a17090b1a9000b00228e17f957bsi5507053pjb.69.2023.01.12.01.48.43; Thu, 12 Jan 2023 01:49:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239000AbjALJpi (ORCPT + 99 others); Thu, 12 Jan 2023 04:45:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239589AbjALJoq (ORCPT ); Thu, 12 Jan 2023 04:44:46 -0500 Received: from out28-4.mail.aliyun.com (out28-4.mail.aliyun.com [115.124.28.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEBCCB4AE; Thu, 12 Jan 2023 01:42:28 -0800 (PST) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.460409|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_regular_dialog|0.0416294-0.000944656-0.957426;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047211;MF=victor@allwinnertech.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.QqwgL03_1673516544; Received: from SunxiBot.allwinnertech.com(mailfrom:victor@allwinnertech.com fp:SMTPD_---.QqwgL03_1673516544) by smtp.aliyun-inc.com; Thu, 12 Jan 2023 17:42:24 +0800 From: Victor Hassan To: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Bluetooth: btrtl: Add support for RTL8852BS Date: Thu, 12 Jan 2023 17:42:40 +0800 Message-Id: <20230112094240.49794-1-victor@allwinnertech.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Add the support for RTL8852BS BT controller on UART interface. The necessary firmware file will be submitted to linux-firmware. Signed-off-by: Victor Hassan --- drivers/bluetooth/btrtl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c index 69c3fe649ca7..36c3a23324f8 100644 --- a/drivers/bluetooth/btrtl.c +++ b/drivers/bluetooth/btrtl.c @@ -198,6 +198,14 @@ static const struct id_table ic_id_table[] = { .fw_name = "rtl_bt/rtl8852bu_fw.bin", .cfg_name = "rtl_bt/rtl8852bu_config" }, + /* 8852B with UART interface */ + { IC_INFO(RTL_ROM_LMP_8852A, 0xb, 0xb, HCI_UART), + .config_needed = true, + .has_rom_version = true, + .has_msft_ext = true, + .fw_name = "rtl_bt/rtl8852bs_fw.bin", + .cfg_name = "rtl_bt/rtl8852bs_config" }, + /* 8852C */ { IC_INFO(RTL_ROM_LMP_8852A, 0xc, 0xc, HCI_USB), .config_needed = false, @@ -965,5 +973,7 @@ MODULE_FIRMWARE("rtl_bt/rtl8852au_fw.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852au_config.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852bu_fw.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852bu_config.bin"); +MODULE_FIRMWARE("rtl_bt/rtl8852bs_fw.bin"); +MODULE_FIRMWARE("rtl_bt/rtl8852bs_config.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852cu_fw.bin"); MODULE_FIRMWARE("rtl_bt/rtl8852cu_config.bin"); -- 2.29.0