From patchwork Tue Feb 28 15:22:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13154990 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA884C64ED6 for ; Tue, 28 Feb 2023 15:22:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ek2f5pfJkMPhBYP8lGr2gcY4SGzhKOg2JGIL3AAiwT4=; b=OuoWeLo0SNfLsE ykKSQcOsBH9pIdNZMPNO+WrHQGQcFiI0bCerFDcYT9lKYq4Jrk7uduwZq+cBM1NpwjFgOa4gcDHHg yVlIAN2/dqbhhNRQ+vgFiVMp/nXRNvZmK4sNRIsf6K/mB6w0JFPI5PFLv1C4eYXwehuFhQ6XP1Iqx hS21Egb2KJpGHWfO5KZ65Jyl6RlLiH6CBkzoEYfqVj+dpsG2+TfEEI5BU3MT++H+8sari6JnxoDrs KD1um1Lzg4GpJYPR3qWJJllojzQf0qqO/1bdi67oAwI4R9dXHn88QfBQr+xk7HCHiORqd7JLay/Nn 4U2HLJpuXLpU3ImBPnxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1o2-00DdOB-TH; Tue, 28 Feb 2023 15:22:18 +0000 Received: from mail-oa1-x2e.google.com ([2001:4860:4864:20::2e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1nx-00DdMv-Va for linux-rockchip@lists.infradead.org; Tue, 28 Feb 2023 15:22:17 +0000 Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-173435e0ec4so1041931fac.12 for ; Tue, 28 Feb 2023 07:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZNwZxqp1M59lbObWhxH+qDHb6sQadQB3wcUdsvUzuDg=; b=boJodNHzF82rSDM7hSjyryImL1vLWP0H4Q4yv5ygE0dvjCuS3iyKMKUgNPVMR80U4e PbfweOHDwFQUW5tnTIzySam0pIaGIO4Pz7zDGky0ZCSiLoUOmg01C70qdLC7aWaN6Vrm lZeZSeb1b+CkTV/dA5FfVGpkCqQciTwFQq7dX9Pc5iPg2xJpDg4zaE4QdwrpUz84/+ga XbqeFnRZZqqlgGnUxpqT2ncYk5dcn/C428XV9fDeC3bpMZcgj55lbVqtNoQOHeZfmoqZ IfCnm49seyn1XMp3axRYgSgnBK5AQdqu0a6fU91uICbgfPd8JXBPk+Mzg3W1y4McAccA C2GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZNwZxqp1M59lbObWhxH+qDHb6sQadQB3wcUdsvUzuDg=; b=pDwM9Tl0Nl39Dddt7nFMxi1NQ02/RlIQA/4S+ov1qfoETMJnF8hsgfi7zO4/YM/9Q3 EmRxVbBOpVIUkjIRO/dLPQ6SF7H1gXuwLAjtNA4igWNheWkyssNDcUkK8+VaR8mUDD5x halnJDUOnEHyjEU1IbxWcaNkUBephkUi02WIvHZ42EvDXqVRP6NY/or+6Q3VJMgwRHF4 UOkmLTBYb9S4/akiMgYhKh4ic+taEDglZivOsmDVAByti8U3ymbn26zgzZZ9N2R5w3S7 MH9HEfdpZkxDTjYtqq52/wKpySK4JnbQaHcP77mBjAWs78LEgxMMsE5jaU/4yhwbaPsh WAsA== X-Gm-Message-State: AO0yUKUy4sPUZBV57h5cNQ1z+fVFNrg5Xymvh6lyAcZbwiC2xSvWfmbs 4rgzOIWAhVNssNhvT2k85Io= X-Google-Smtp-Source: AK7set9Y6B8ipvg8FwKex2pPzWjRmqyIyPVe8VjpBkfJ30VuzaGx0qO4maHeaaLWkEawdnj4S3/elg== X-Received: by 2002:a05:6870:5826:b0:171:9676:8942 with SMTP id r38-20020a056870582600b0017196768942mr1635028oap.3.1677597731249; Tue, 28 Feb 2023 07:22:11 -0800 (PST) Received: from localhost.localdomain (76-244-6-13.lightspeed.rcsntx.sbcglobal.net. [76.244.6.13]) by smtp.gmail.com with ESMTPSA id yy23-20020a056871259700b0017264f96879sm3318321oab.17.2023.02.28.07.22.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 07:22:11 -0800 (PST) From: Chris Morgan To: linux-bluetooth@vger.kernel.org Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, alistair@alistair23.me, anarsoul@gmail.com, luiz.dentz@gmail.com, johan.hedberg@gmail.com, marcel@holtmann.org, heiko@sntech.de, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, Chris Morgan Subject: [PATCH 1/3 V4] dt-bindings: net: realtek-bluetooth: Add RTL8821CS Date: Tue, 28 Feb 2023 09:22:03 -0600 Message-Id: <20230228152205.133582-2-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230228152205.133582-1-macroalpha82@gmail.com> References: <20230228152205.133582-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230228_072214_047270_7B492B09 X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Add compatible string for RTL8821CS for existing Realtek Bluetooth driver. Signed-off-by: Chris Morgan Reviewed-by: Krzysztof Kozlowski Reviewed-by: Alistair Francis --- .../bindings/net/realtek-bluetooth.yaml | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml index 143b5667abad..8cc2b9924680 100644 --- a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml +++ b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml @@ -4,24 +4,30 @@ $id: http://devicetree.org/schemas/net/realtek-bluetooth.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: RTL8723BS/RTL8723CS/RTL8822CS Bluetooth +title: RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS Bluetooth maintainers: - Vasily Khoruzhick - Alistair Francis description: - RTL8723CS/RTL8723CS/RTL8822CS is WiFi + BT chip. WiFi part is connected over - SDIO, while BT is connected over serial. It speaks H5 protocol with few - extra commands to upload firmware and change module speed. + RTL8723CS/RTL8723CS/RTL8821CS/RTL8822CS is a WiFi + BT chip. WiFi part + is connected over SDIO, while BT is connected over serial. It speaks + H5 protocol with few extra commands to upload firmware and change + module speed. properties: compatible: - enum: - - realtek,rtl8723bs-bt - - realtek,rtl8723cs-bt - - realtek,rtl8723ds-bt - - realtek,rtl8822cs-bt + oneOf: + - enum: + - realtek,rtl8723bs-bt + - realtek,rtl8723cs-bt + - realtek,rtl8723ds-bt + - realtek,rtl8822cs-bt + - items: + - enum: + - realtek,rtl8821cs-bt + - const: realtek,rtl8822cs-bt device-wake-gpios: maxItems: 1 From patchwork Tue Feb 28 15:22:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13154993 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9D9BFC64ED6 for ; Tue, 28 Feb 2023 15:22:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CuMegaKJhv+E9inXIewzif1xRni/zRpaWPgx6GzSYiQ=; b=AAEFyRsI6x3m4m Ug1CM/chZnr2sY6OT+AalAQlsFbkRP8nMr/1fdfRShpgNcpvTAB/WAYPwYSbZi0BTik5HAQZbHHuW D2+LGzobVLPlxYSv9q63nK9EHGj9rSadOZiKjZKuv0257RTaI0o5e6BMKZN2EdHHH7llujQBh/LW5 jrNNYgcOaWxgiOK4VvlBM1wy1IAEFOR7Mk3OM8N5xea1wX3qUlPnSxFSaIrXPNqL8WDNGggZRLCAt g5Cei5uJq6wvafqYyo/dVfdzeNXIoCfXaTp6ypctLmu4r+BJ2JPf6pl5FMeYqqmTcgkJFk0SrK1OL Mju9LdAoGWEU4HIhL69Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1o2-00DdO4-KR; Tue, 28 Feb 2023 15:22:18 +0000 Received: from mail-oa1-x35.google.com ([2001:4860:4864:20::35]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1ny-00DdN0-3W for linux-rockchip@lists.infradead.org; Tue, 28 Feb 2023 15:22:17 +0000 Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-172afa7bee2so11254462fac.6 for ; Tue, 28 Feb 2023 07:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Pi5SJcEKPHpeQOw0+UlGmmDXXROx+75oT2f8FTNnNag=; b=d5w7w27+GAkN37xqVH6ee8uy88MpzzRY30PwJvnMeeg9ZZhCYOoMqeE4FelbkHeUlj h+FbOl6jjK+E8rQNKx7XTgFa5bKU8heRCqSbhEdFLtaylBgv7ia0NKWXa3dHaC5dxEqo 88qzI1HDPT55GcYUT2Kl6kgCB9CTiJgjCyLZ9H6Pe30aZlZQht8+olLhf9uilAKNNQUj n5q/gJ9BoSHe8MLg96sh9JRmlZclZ65I45ksKxdByQZp+OiSXZ3EKLOnmzBf+v2r09ez xKSH4tNKb9zIHGRIbntSyKAtuk2iNzXQlz8ReyDnTa2K2LnqqOsFo7/8BS8sMJfzgqB/ HZGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Pi5SJcEKPHpeQOw0+UlGmmDXXROx+75oT2f8FTNnNag=; b=L5mEIVAT0JwFGK1Mg5+YPr8Z77kNP7HCzZKBvfjlea/3ctGSYoUmpdchREDHcQyy/i LNf2FcnHcAWhgwFUXmXjjLZ1vpHj0NhAdDIvzHSgQza36ef39aiBQnu2nxYfyqPleJua Pd+z9rwmDW3RyX3UQg8lQQR4A1uiMgl0qCUJEFNcr9NwkkWY3TTllM/zQtTPejNhbpRf fl2zcw4dBvfXau7Vs5zZOrrprQVBUt5asoYqvy1n5XO3c+Rr7I977VcGW9KVqocxdMvr 9xNBRmswCbiCWQgp3vXKIlx+nknYkxjGVeH9NevzRvyWeaCheweclnBrZpEHiis7babe BbSw== X-Gm-Message-State: AO0yUKU+8+IbEb54FHIz3BJana3IQsLSn8W6Rv0cEXSCoBawGwKvF3gD B9aFa41NtGzrBQN16xFB/MuipB8h3uw= X-Google-Smtp-Source: AK7set9rrJt43Ctw7elZnb2Hvde0dLtTQmNKHpPqPDo9gbz3WaMi2Pg/CGJ8oTZUgFDvxB777eL0aA== X-Received: by 2002:a05:6870:ec8a:b0:16a:2db3:fce3 with SMTP id eo10-20020a056870ec8a00b0016a2db3fce3mr1688775oab.40.1677597731944; Tue, 28 Feb 2023 07:22:11 -0800 (PST) Received: from localhost.localdomain (76-244-6-13.lightspeed.rcsntx.sbcglobal.net. [76.244.6.13]) by smtp.gmail.com with ESMTPSA id yy23-20020a056871259700b0017264f96879sm3318321oab.17.2023.02.28.07.22.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 07:22:11 -0800 (PST) From: Chris Morgan To: linux-bluetooth@vger.kernel.org Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, alistair@alistair23.me, anarsoul@gmail.com, luiz.dentz@gmail.com, johan.hedberg@gmail.com, marcel@holtmann.org, heiko@sntech.de, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, Chris Morgan Subject: [PATCH 2/3 V4] Bluetooth: hci_h5: btrtl: Add support for RTL8821CS Date: Tue, 28 Feb 2023 09:22:04 -0600 Message-Id: <20230228152205.133582-3-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230228152205.133582-1-macroalpha82@gmail.com> References: <20230228152205.133582-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230228_072214_182385_D8A0A62E X-CRM114-Status: GOOD ( 10.82 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan RTL8821CS is a WiFi + Bluetooth combo chip from Realtek that provides WiFi A/B/G/N/AC over an SDIO interface and Bluetooth 4.2 over a UART interface. Note that the firmware this was tested with was firmware version 0x75b8f098. Signed-off-by: Chris Morgan --- drivers/bluetooth/btrtl.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c index 69c3fe649ca7..72947d319fa6 100644 --- a/drivers/bluetooth/btrtl.c +++ b/drivers/bluetooth/btrtl.c @@ -128,6 +128,14 @@ static const struct id_table ic_id_table[] = { .fw_name = "rtl_bt/rtl8821c_fw.bin", .cfg_name = "rtl_bt/rtl8821c_config" }, + /* 8821CS */ + { IC_INFO(RTL_ROM_LMP_8821A, 0xc, 0x8, HCI_UART), + .config_needed = true, + .has_rom_version = true, + .has_msft_ext = true, + .fw_name = "rtl_bt/rtl8821cs_fw.bin", + .cfg_name = "rtl_bt/rtl8821cs_config" }, + /* 8761A */ { IC_INFO(RTL_ROM_LMP_8761A, 0xa, 0x6, HCI_USB), .config_needed = false, From patchwork Tue Feb 28 15:22:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13154992 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3563DC64EC7 for ; Tue, 28 Feb 2023 15:22:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3+IKuq8Bw0Y/7oStvIwkHPUlWcmZLzn15wmJnJFCMO4=; b=E+CbBMoyLLbNmK zCArHeUV08kXG38tPX7K/gmTxtizZEotS5lx25Z13CzC7vgArjgAeWRvZ6YXvbLpr/eo6Q/ka2x7U dnZFbNl4zbuvFaPGl5I93lhyeIXQTkJU9Rfiedt9+6GfWE1H4rtopR2hrL6SKvyRT2PLvumsRL8f8 FMbsve7thPx9D/yQwRY0tC+1DBnJbpW95f/H6ozY5rYFAWaDUQ31RF9L0oL7yboZwEEBvS0Xw8ReS TwqeCSXWZrEUMngb8wYt/iskwqutpCra5euqgGKSpP3t5Qjopa4wIrnRlOixbu4E+yVZr0CWKyVgk AYPN1QQUtGnl4pf16IJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1o9-00DdQ7-Fk; Tue, 28 Feb 2023 15:22:25 +0000 Received: from mail-oa1-x2d.google.com ([2001:4860:4864:20::2d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1o6-00DdN6-II for linux-rockchip@lists.infradead.org; Tue, 28 Feb 2023 15:22:23 +0000 Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-17235c8dab9so11222763fac.7 for ; Tue, 28 Feb 2023 07:22:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2f/vVHxyRFoilKJr+B3hBhPHEkdjVLFye93UcIisf+c=; b=S6cPNFB5zYJW4TTwflJkilbf7vs6laanJ9Lcs7sV3ZfQ/Ho8yCEo7EESQb4JYfuPhO APqELxQqSo2x7yxpSZ6+RmQE3LHlAqjXBB2bxfgXIpNAejje4ObQ/8FxfK0khYO1q+64 FZzRMaen+CTH5e+6ZMWSOTRvRDXQjplaxUNe+H4ox3RcJePwVN3p5HvuzuOCr/LGfJKG FobaqXL2CpT0AzXiyPpvtdbPO9iM9Wp5Pcv11dWBLLRXnn3qanZsxhHyBvz/O/xp5pWG 1Lr2AZvE+gnb4ykxxERXfJq72jAYUHtLv8mK8z5Z7PfGWb75d8iFSrzOtObqmcXfJmtv qGKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2f/vVHxyRFoilKJr+B3hBhPHEkdjVLFye93UcIisf+c=; b=ZbS8n8tP/m3rNgRUGmNL9mpSHvNfSK6fPDKPqV8Mu7BHarn+SXKGbkgb73ngMl30dG ta2BFJ0YtjS4VnySb8P0BVM2vDMPE+6ESUODJ848LDAmZG/tv1L/LwThMCGpEj5s2URl IFbrRD9b35x77ZM78BYFPxmf3R1yYcx95voFCGNa3GAmm84Fi2E2MKXJMso2jtut86sn QeiYOxVmqtCgken5REKnesV35iKc0tQUt+W6TnNBhWXpXjejcpXfN1uDPBSso1cK9dbE w2zQ2mczlKE/vP25ieAisKPTPWznvOUxb+5EpLU0Qh1SA8aWqg1hbaJk0svVndd0kNsy 7dEA== X-Gm-Message-State: AO0yUKWIALsFVS2WuPVCsajiUGPZ4WaQw0h+LrZOe+YP5PtbAS87Li9Z +lpybkP5ibHCj3uXwNHgKno= X-Google-Smtp-Source: AK7set+Bs6M0s35NU/ug9ooCav68C1qAncO8z5TCo9kcefJhAI97/M1BsGJ6XHjEPDCTLsf1Rn+nLQ== X-Received: by 2002:a05:6870:3486:b0:172:4278:13c9 with SMTP id n6-20020a056870348600b00172427813c9mr1627973oah.10.1677597732618; Tue, 28 Feb 2023 07:22:12 -0800 (PST) Received: from localhost.localdomain (76-244-6-13.lightspeed.rcsntx.sbcglobal.net. [76.244.6.13]) by smtp.gmail.com with ESMTPSA id yy23-20020a056871259700b0017264f96879sm3318321oab.17.2023.02.28.07.22.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 07:22:12 -0800 (PST) From: Chris Morgan To: linux-bluetooth@vger.kernel.org Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, alistair@alistair23.me, anarsoul@gmail.com, luiz.dentz@gmail.com, johan.hedberg@gmail.com, marcel@holtmann.org, heiko@sntech.de, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, Chris Morgan Subject: [PATCH 3/3 V4] arm64: dts: rockchip: Update compatible for bluetooth Date: Tue, 28 Feb 2023 09:22:05 -0600 Message-Id: <20230228152205.133582-4-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230228152205.133582-1-macroalpha82@gmail.com> References: <20230228152205.133582-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230228_072222_643210_6029F06D X-CRM114-Status: GOOD ( 10.62 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Update the compatible for the Realtek RTL8821CS bluetooth node. Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi index 41262a69d33e..8fadd8afb190 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi @@ -716,7 +716,7 @@ &uart1 { status = "okay"; bluetooth { - compatible = "realtek,rtl8821cs-bt"; + compatible = "realtek,rtl8821cs-bt", "realtek,rtl8822cs-bt"; device-wake-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>; host-wake-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>;