From patchwork Fri Feb 24 23:23:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13151856 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 67075C6FA8E for ; Fri, 24 Feb 2023 23:24:13 +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=6SZnPBwEdN/9f2i41tXGGOcC0QrbRVy+/RwWtxy9pus=; b=is5U1MRNe8mFDf 4wQ/ttFeK5HJ040hsm6d6f+BOmC0L4VltXjpRps1DlGAs835RB3hBtbLnMG3e72gWiGWG05dgVeZ/ H4arPgwZDqGrOniT+NHowRHQGSnpBRzRDLfmddlnKAjHM0O2tLZ4Qkk9V0QeyFfykF9e0cM58jMwq fMiuVbig/tlfkVC0nRTjyESrPBxsmZ3DDuMIBNVoMD2aDfX52vuNQOwUCl0cmIkZqr/FL5gf+/TDQ soIk+ikZ/2vqYgyWhUZZpvqXtfF6DCg22rZIJKrYhQlserRp8bl5i7qVqYx5a7ooLQVPfQSpjzjlZ 5OGJIo5Hv5KWnA41nh+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVhPr-004Hbb-EZ; Fri, 24 Feb 2023 23:23:52 +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 1pVhPn-004HaB-Ct for linux-rockchip@lists.infradead.org; Fri, 24 Feb 2023 23:23:48 +0000 Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-17235c8dab9so1290249fac.7 for ; Fri, 24 Feb 2023 15:23:46 -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=ALnkpz8ALlNTqOsurEtcPehgpRmTbr/BEiX5U4d+ylg=; b=EtSwvEl4wHMAYWoOnr6OlfOCj5VIPJX9tUA9ATsc/F2ZYx/XAT4GO+z2GEbdbXBCCB 39uvCsULlJmHlGFJfk/YSR7DLC/htqkS3lhAzFHPrj7EZXGP/ZBXFz3nkie2ACMFthPZ gPb+5BXzNxhe4RBPCx+2GyyM0WLgNk5yxKPhy9lGuHq0i3h2sbfqQKQwF6up7b7Af7A5 YGOBheos3F9B/Tdh9M1YL7Kqaw33eUP3JDsSTK1JmaI6RFgKbO8rnC/A9HDfEYLroWCH DKGKUBMeEC+McM+hsbrkAsy4gWqvQ+htRAgV8eqAnmgtM+Ig3d7QYq4kRZ/wwFIRYPKp iqyw== 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=ALnkpz8ALlNTqOsurEtcPehgpRmTbr/BEiX5U4d+ylg=; b=QKtAmo97Q59JMXzNKsXiK2dcRtZ48HTl4R84xlOlDk/vR/FovjVnsmx+feSNj0yOOJ Doi4zw6pMr4l8qyX1oUiJVz//oq0paOo2uKSvKgEGG3Y82R7lq0BG1iDX/cOd0vK0UkQ jY1A0IyNA7Fc/QCWuS4H0iy+BTiL7FAXQNQyeaML6OvZn8zobLKwsYmivcLsnlCWnGZe v/TsGOeLGOfcKQStOma5XQ+OQe8ELmdR75PNNiGn11wmKwUztYlGizYwzG+kiNx1rAcN 7fBqGQ/8jZH8f3w1YyyPLxsP1T5Rz613Z0gjPrV4z+fLEzus42rqrLyWimiP98F7n4tU gcKg== X-Gm-Message-State: AO0yUKVMV//atPMyvDzL4J/v1X+EZpJAMbPmIq34x1uzMWYEB1oqP99S cONYbn2iP4jjg1FFNsesb1w= X-Google-Smtp-Source: AK7set+4l2GHkhtxjGmZf4wArC1qwF3lZiAbvPIz0e1IHuhEpBXL8gPl73rsRn2bqElTB3K4PyIQqA== X-Received: by 2002:a05:6870:a54b:b0:172:21e9:21c7 with SMTP id p11-20020a056870a54b00b0017221e921c7mr8946638oal.40.1677281026056; Fri, 24 Feb 2023 15:23:46 -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 k22-20020a056870d39600b0016b0369f08fsm119706oag.15.2023.02.24.15.23.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 15:23:45 -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 V2] dt-bindings: net: realtek-bluetooth: Add RTL8821CS Date: Fri, 24 Feb 2023 17:23:37 -0600 Message-Id: <20230224232339.124969-2-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230224232339.124969-1-macroalpha82@gmail.com> References: <20230224232339.124969-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230224_152347_463416_583C3B08 X-CRM114-Status: UNSURE ( 8.38 ) 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: Alistair Francis --- .../bindings/net/realtek-bluetooth.yaml | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml index 143b5667abad..f91d06d629b9 100644 --- a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml +++ b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml @@ -4,24 +4,29 @@ $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: + - const: realtek,rtl8723bs-bt + - const: realtek,rtl8723cs-bt + - const: realtek,rtl8723ds-bt + - const: realtek,rtl8822cs-bt + - items: + - enum: + - realtek,rtl8821cs-bt + - const: realtek,rtl8822cs-bt device-wake-gpios: maxItems: 1 From patchwork Fri Feb 24 23:23:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13151853 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 7DAB5C64ED8 for ; Fri, 24 Feb 2023 23:24:02 +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=qGTn4EqJXPQctd UCrGAYJey3CSGYzMA8R0ptsrcyWkZ0pFXl47Hf4iRJnxb/A3qSAwS3pZtN3waO808ceouSv87fAau UDTAElbVQ9df4UAZSMgO/R2c+1EOfJjy1iD1cDey5w71PyTe3iAGQr8vwzmKYuzNN22rqFmj5JdcJ Qhc5dEz1Qh9YAR/uYZhZ2MQAfsVe+6cnxM1FErk4r3jtHw6NNHfn2OK7AT9I67Q/HM1WTT2Ce9qRa D/P/gbQkGBdbmTy8UPkaLAUluVHxblCTuxlX/KdVsN9hfMd0bKHA9FJz0lD9rnfRo7MMm19Dv7GIX StUEzQ8NK9KWBq6/qtBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVhPu-004Hc1-Hz; Fri, 24 Feb 2023 23:23:54 +0000 Received: from mail-oa1-x30.google.com ([2001:4860:4864:20::30]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVhPo-004HaE-6I for linux-rockchip@lists.infradead.org; Fri, 24 Feb 2023 23:23:49 +0000 Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-17227cba608so1319040fac.3 for ; Fri, 24 Feb 2023 15:23:47 -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=jgvBF2hfMIZ0N5yUXWOdlorcPiNIzuUWRsOiPxYXlQy8aG+xFTqs+9zivEXSBx2d5p YS+0QT7FG+tWlpR3O59uhR9cz5VDAknOm6/x3Rxp1DClido4JghwtoyKIxXfHiKw3BAH OWg9Y+l3y5z6KTQfTPj1jd+NyPxamUzBeiPgl549xUXm/FU9H27cDEOC5v8mAh+IK+qT zg9RQPqup6HJFgCluvHEpn7Lf1m8x6fJw2rguE1e86dvFF3vHQiBFgSrri3ddjetl7dU ubLHNsf3XEeZcwqV4MHiatNZLcVc/Z4S13AFhdBAZUAKrhd1JrnYRM+u0716tINddHEa EDzw== 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=hx1C7zZn+864LXZNQ7cemYU9FDlLXe6AF0aVhCPQ3lzr4O1p+aaWE5DVJ0V4IJBt/P ahVOMFBt/nl+wjU5Sca2PJmpjmxvpFunBH4ZSwc0CACv237uBlosVB8/eI4JcU/wkuzd AdfKl57Z/dZbgawarML0kJLgM1BgTWOxQPo1JhNyABGZzTYFLM3LnS7hXNkBoIF+pmor rMcOHKM54JJdmcwtIhe+OJQ1NzwlfZhjXTbSxF4m+IhxGEq2Rfb22Mc4Bs7I3q6qAkcr YX68MQKpDnMsXzXFoIbIRIKJEJjSTEv7aAddr2gKXjYx2gYYGcngKDynb6RX4UlB3APX kMjQ== X-Gm-Message-State: AO0yUKV/81sR8qbt+pSTomBemCf8/9l2DirAK/PGUWboEj+encHkTSG3 hxCVwlMXjaRWH34IHA1jaWw= X-Google-Smtp-Source: AK7set+zka4pq8KQXGjVN1FASvAvHq0OCmxDjCs6BbiXJ/sRS9u4YynA9aCd4kkTI1sVbq15KIMgJQ== X-Received: by 2002:a05:6870:d1ca:b0:172:80f4:9887 with SMTP id b10-20020a056870d1ca00b0017280f49887mr5493008oac.31.1677281026960; Fri, 24 Feb 2023 15:23:46 -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 k22-20020a056870d39600b0016b0369f08fsm119706oag.15.2023.02.24.15.23.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 15:23:46 -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 V2] Bluetooth: hci_h5: btrtl: Add support for RTL8821CS Date: Fri, 24 Feb 2023 17:23:38 -0600 Message-Id: <20230224232339.124969-3-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230224232339.124969-1-macroalpha82@gmail.com> References: <20230224232339.124969-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230224_152348_559942_86B34C06 X-CRM114-Status: GOOD ( 10.21 ) 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 Fri Feb 24 23:23:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13151855 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 D9B59C64ED8 for ; Fri, 24 Feb 2023 23:24:12 +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=v3u7xFrQDroGlb HjjoWdT/L3GY+3dzeK66pUGheL08eCdjtiwpsU4joKStYQY/IKxgNgbULcOKsIcautSa6c7IVKVhk N3ljLy5isxQipEIm++WBYUDw3x+EyFBAIuJ4dBJSlFTyR4y34QMlIMh3/J3notYXwV2DOeisKg6Fa i2kjZCh346SMCLGEmtMz1qQ4ZMXkc4rvaH5LT2aH5YILvXFhyZWn7t7ZcvLjmtyyVHTsOlR2FcbVZ wAdiLkqYsBEdTNCo2CcwdOGJIbOUmNN1EhDPCR3wY/ODrPsVuuvgBQ5I+9D2zXMwYzjeHD0TEuHLN siPXJGqLnGO40+8vvt+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVhPu-004HcB-VV; Fri, 24 Feb 2023 23:23:54 +0000 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVhPp-004Haf-2T for linux-rockchip@lists.infradead.org; Fri, 24 Feb 2023 23:23:50 +0000 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-17213c961dfso1372053fac.0 for ; Fri, 24 Feb 2023 15:23:48 -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=WqcUrpJHyMd+DOpqLUAY26fI/ntqOLcXGXmVAEQ1CtlMgxgMxuBXEgLob50LuZSO5j t0ScwxeHCX+fLeR49iM27ekm8HCiNs7h81oah4QyAk1IMXj6TFMQswKGzasnBwZekOH3 FVAhWr4Tc0SEGzmnzpW9v7cYGtNu+i4RlAEHUxcCrs3m+O35foj9pefCGZnOzOXScUE2 IUFZRoylJ+KLKBIgVrZeJmKmlFJ0sMVF5aJ7sRIxP0RqclypWRjsB3KW/RtrDeufZZvK JuAvvjnQBuN19iOon7+BRGVjVOYq/IrmAGsXvGxmkrpznce8jc3FKdaorllUl0x1B4jo tzZQ== 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=H53lIpRsKsbUtkHP+Jjnt8PEiyuagPRDnL15hoRTVLFfiOyBQ1sB9bCMnwAhVnktmF h2TBriZBZWpgORGgZWH85M1daBc+Gso/uufCiHYD7nTsZYgJf20M2792AnsOVo1pO71n CBMAAESVaFRx1y/K+MTzqeaFee3ewdRH0d9r8jWTzWdH7MD9sB3FsyM7hlGi4J094UG3 vgLpa6BxYYrFJppIzV8d9vrU4/1mXlFxO/RkTpFgVi4vjhfgbzkBxQQwVZhfd6xOlllK N6BqvsSb1hs7CYrxDyfS90Bab2Qgjp9g/GDMeEhnw6C9Qx8yCJh08uvDUXo4BlF+eUMK t+Nw== X-Gm-Message-State: AO0yUKUgpjzXTENjj0UaUNsz3W6M+0Ot714HF2f73uqhwPv/T1bpV9Kb /SRzEZDBdX/AJ5ruTxxboOk= X-Google-Smtp-Source: AK7set8C1egSTfnJAP1SL8dAmi9WqnexME0wh4BKjbOYt1RbkKQwYW5BEpVydoralYI7E1k4RlKwEQ== X-Received: by 2002:a05:6870:e9a1:b0:16a:b45a:e2d9 with SMTP id r33-20020a056870e9a100b0016ab45ae2d9mr12176536oao.7.1677281027757; Fri, 24 Feb 2023 15:23:47 -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 k22-20020a056870d39600b0016b0369f08fsm119706oag.15.2023.02.24.15.23.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 15:23:47 -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 V2] arm64: dts: rockchip: Update compatible for bluetooth Date: Fri, 24 Feb 2023 17:23:39 -0600 Message-Id: <20230224232339.124969-4-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230224232339.124969-1-macroalpha82@gmail.com> References: <20230224232339.124969-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230224_152349_150931_3AF3D876 X-CRM114-Status: GOOD ( 10.01 ) 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>;