Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp509067rwd; Sun, 14 May 2023 00:49:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ728fbJaZ8ywjeST76TlVFarNWK1aomfI8qbpu688nYQ3HMXdtLCg1vfn+EtuUla6+Cb/XH X-Received: by 2002:a17:90b:1bc1:b0:24e:2248:31c with SMTP id oa1-20020a17090b1bc100b0024e2248031cmr30510043pjb.22.1684050598992; Sun, 14 May 2023 00:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684050598; cv=none; d=google.com; s=arc-20160816; b=0KaBY+Zf9j+hJrLNTQlu/IHed8fqBSKcDpUH6PL9vlXd5AWWhWor7XK87w5bxTRaPq Mwin4q2wu38tJGtJCEmqZsQcK33pXk2wRxeNR0GD2ZhSe6vkrlCbFgTEF7V62/foJMkr Glek91xEhqseECYXWoIeqMvLqCyrHnwxtRCR6VF7nmrGocMIdTZKf5KAV+Q0tqCLjakb CY2J4V5AlVP3LLcAKgpz4X7ziuJNuP0kbeSpkFyX7Y1zuW/pTGan6T1gdJpmZ0Mnf0ip jM++mLlfBVtEvUDQ51UTuADR5SLpAliVMkKDMJB/UtAnXjOTG7jVi/MV9lOgtwLB9h+T 2KhA== 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:dkim-signature; bh=psVi+uu7gPRH/n0OWz4yeAMRQ5ZWsimFDEGiHD2LvJ8=; b=WRzDKKhGxfIzWdgv3C0tZsgBqZ/nIdm26XWfB0uuTWLCCx0m9ZxgiZiXsjuAWckYKj 1kyv+QxprIozCZxnegoJpj3HeWcYN/ZW63MgS7DwLPDDgwri/3oNrCcilIvb2GzLSNyp zleUk7TwjIyG8MC1T/BokwZhf0FLJegiJD6UeYuSDdnzOp0wADg9ioW/TWrUEbBJuYJR YvVwe189yp/fZ5qS/gNYS9+mOsNB8BPb95hI5sAcyVttkT6uR4p0RNKZRcEbE2xnBS1w M2PXY2g8w5erhr3RuPnr+8WXOtAgtgX44QDrD7PutzPKBRuTgWp8s2Txl4aBCxeV+JFH lDMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@heitbaum.com header.s=google header.b=AWe4i2zm; 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 f6-20020a17090ab94600b002528f697d12si8131293pjw.160.2023.05.14.00.49.33; Sun, 14 May 2023 00:49:58 -0700 (PDT) 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; dkim=pass header.i=@heitbaum.com header.s=google header.b=AWe4i2zm; 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 S229704AbjENHrs (ORCPT + 99 others); Sun, 14 May 2023 03:47:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbjENHrr (ORCPT ); Sun, 14 May 2023 03:47:47 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFDE71FDC for ; Sun, 14 May 2023 00:47:43 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1ab0c697c84so88110255ad.3 for ; Sun, 14 May 2023 00:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heitbaum.com; s=google; t=1684050463; x=1686642463; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=psVi+uu7gPRH/n0OWz4yeAMRQ5ZWsimFDEGiHD2LvJ8=; b=AWe4i2zm1twY3RzeclNA2KPZeLsVWmdvGhmCNhP/v3rJcaUQfX6BVh8bK9hUZNK6tZ LSsur3BEk57P2fPhgbvkp7++cjUrCUY4BH2LgWSRS+DDBD2oTRvuaYOouCfLb8yVkzvD 8IKT89FT0EI1MRY6pK9gPBQ4QImGr87/+vgsM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684050463; x=1686642463; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=psVi+uu7gPRH/n0OWz4yeAMRQ5ZWsimFDEGiHD2LvJ8=; b=bO3v7SPllQ6LpzrCuz1KCgwQDKKLCwTWtWZn6Q2Ip9j6hHeChBVTY+ELt6q8pbJup+ mbUTmP8i//fvN/6w9CC+hnvcYC27s58VIw25ET5toDHbOpIOrfbqPK7wwyoyUFhpS5ym tLV0ssriHj7BOk9nk8AxtQqyRvNqsq/fbNuo79CcCHRRgXFKmVxDWPhj8Kan189sBFm8 Plh5mfytK2JAc0tezL9yQxlGz+99a7saoCdMMO5ChoL+74D4Hp9J6hu5COhMHva2tlFH mLFLTKq5RLj+4FyBxS0G4YthZb9AyBabGaaR+txPNQPgfmpTaPuuhLpORsxzbwWal2aS 7RkQ== X-Gm-Message-State: AC+VfDziJNiG+1HoYvd0Qf4KNFq6kt5FfgAzdfPOUQkAUQuLHnZAKl0t yKZu1p+lgZeJin/a366ala0LwA== X-Received: by 2002:a17:903:1110:b0:1ab:74c:bdf2 with SMTP id n16-20020a170903111000b001ab074cbdf2mr41326845plh.28.1684050463081; Sun, 14 May 2023 00:47:43 -0700 (PDT) Received: from 8add390ca20e.heitbaum.com ([122.199.31.3]) by smtp.googlemail.com with ESMTPSA id j4-20020a17090276c400b00194caf3e975sm10903363plt.208.2023.05.14.00.47.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 May 2023 00:47:42 -0700 (PDT) From: Rudi Heitbaum To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, anarsoul@gmail.com, alistair@alistair23.me Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-bluetooth@vger.kernel.org, Rudi Heitbaum Subject: [PATCH 0/3] Bluetooth: btrtl: Add support for RTL8822BS Date: Sun, 14 May 2023 07:47:28 +0000 Message-Id: <20230514074731.70614-1-rudi@heitbaum.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 With the recent support of the RTL8822BS SDIO WiFi and the BROKEN_LOCAL_EXT_FEATURES_PAGE_2 quirk complete the enablement by adding Bluetooth support on the RTL8822BS UART with hci_ver = 0x07. The RTL8822BS requires the BROKEN_LOCAL_EXT_FEATURES_PAGE_2 quirk. Test results: [ 10.029959] Bluetooth: hci0: RTL: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822 [ 10.047194] Bluetooth: hci0: RTL: rom_version status=0 version=2 [ 10.047250] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822bs_fw.bin [ 10.114730] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822bs_config.bin [ 10.237433] Bluetooth: hci0: RTL: cfg_sz 75, total sz 24543 [ 11.244540] Bluetooth: hci0: RTL: fw version 0xaa89f793 [ 11.279285] Bluetooth: hci0: broken local ext features page 2 Rudi Heitbaum (3): dt-bindings: net: realtek-bluetooth: Add RTL8822BS Bluetooth: btrtl: Add support for RTL8822BS UART arm64: dts: allwinner: h6: tanix-tx6: Add compatible bluetooth .../devicetree/bindings/net/realtek-bluetooth.yaml | 13 ++++++++----- .../boot/dts/allwinner/sun50i-h6-tanix-tx6.dts | 2 +- drivers/bluetooth/btrtl.c | 12 +++++++++++- drivers/bluetooth/hci_h5.c | 6 ++++++ 4 files changed, 26 insertions(+), 7 deletions(-) base-commit: bb7c241fae6228e89c0286ffd6f249b3b0dea225 -- 2.25.1