From: Chris Morgan <macroalpha82@gmail.com> 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 <macromorgan@hotmail.com> Subject: [PATCH 0/3 V5] Bluetooth: Add support for RTL8821CS Date: Wed, 15 Mar 2023 12:36:54 -0500 [thread overview] Message-ID: <20230315173657.28692-1-macroalpha82@gmail.com> (raw) From: Chris Morgan <macromorgan@hotmail.com> This patch series is to add support for the RTL8821CS Bluetooth controller found on the RTL8821CS WiFi/Bluetooth combo chip. This has been tested with firmware version 0x75b8f098 which has been submitted by Realtek for inclusion in linux-firmware. https://lore.kernel.org/linux-firmware/20230223062453.181239-1-max.chou@realtek.com/ Changes from V4: - After extensive testing it was found that there are problems with using the bluetooth that were not caught with the initial testing. This can be mitigated by setting the "H5_INFO_WAKEUP_DISABLE" flag. The easiest way to accomplish that is to change the fallback compatible string to "realtek,rtl8723bs-bt". Updated the binding documentation and binding to reflect this. No change to the driver from V4 was necessary. Removed "reviewed-by" from documentation due to this change. Changes from V3: - Corrected bindings so that all but the 8821 use enum, and 8821 uses items. Changes from V2: - Corrected devicetree documentation to change compatible from const back to enum. - Removed "reviewed-by" from Alistair Francis as binding documentation updated with changes. Changes from V1: - Switched to use a fallback string for the rtl8822cs so as to not add an extra entry to the of_device_id table. The driver is capable of selecting the correct firmware blob to load. - Updated the messages to note a new version of the firmware was tested and that Realtek has submitted this firmware upstream. - Updated the devicetree node on the Anbernic RGxx3 series to use the fallback string of realtek,rtl8822cs-bt. Chris Morgan (3): dt-bindings: net: realtek-bluetooth: Add RTL8821CS Bluetooth: hci_h5: btrtl: Add support for RTL8821CS arm64: dts: rockchip: Update compatible for bluetooth .../bindings/net/realtek-bluetooth.yaml | 24 ++++++++++++------- .../dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 2 +- drivers/bluetooth/btrtl.c | 8 +++++++ 3 files changed, 24 insertions(+), 10 deletions(-) -- 2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Chris Morgan <macroalpha82@gmail.com> 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 <macromorgan@hotmail.com> Subject: [PATCH 0/3 V5] Bluetooth: Add support for RTL8821CS Date: Wed, 15 Mar 2023 12:36:54 -0500 [thread overview] Message-ID: <20230315173657.28692-1-macroalpha82@gmail.com> (raw) From: Chris Morgan <macromorgan@hotmail.com> This patch series is to add support for the RTL8821CS Bluetooth controller found on the RTL8821CS WiFi/Bluetooth combo chip. This has been tested with firmware version 0x75b8f098 which has been submitted by Realtek for inclusion in linux-firmware. https://lore.kernel.org/linux-firmware/20230223062453.181239-1-max.chou@realtek.com/ Changes from V4: - After extensive testing it was found that there are problems with using the bluetooth that were not caught with the initial testing. This can be mitigated by setting the "H5_INFO_WAKEUP_DISABLE" flag. The easiest way to accomplish that is to change the fallback compatible string to "realtek,rtl8723bs-bt". Updated the binding documentation and binding to reflect this. No change to the driver from V4 was necessary. Removed "reviewed-by" from documentation due to this change. Changes from V3: - Corrected bindings so that all but the 8821 use enum, and 8821 uses items. Changes from V2: - Corrected devicetree documentation to change compatible from const back to enum. - Removed "reviewed-by" from Alistair Francis as binding documentation updated with changes. Changes from V1: - Switched to use a fallback string for the rtl8822cs so as to not add an extra entry to the of_device_id table. The driver is capable of selecting the correct firmware blob to load. - Updated the messages to note a new version of the firmware was tested and that Realtek has submitted this firmware upstream. - Updated the devicetree node on the Anbernic RGxx3 series to use the fallback string of realtek,rtl8822cs-bt. Chris Morgan (3): dt-bindings: net: realtek-bluetooth: Add RTL8821CS Bluetooth: hci_h5: btrtl: Add support for RTL8821CS arm64: dts: rockchip: Update compatible for bluetooth .../bindings/net/realtek-bluetooth.yaml | 24 ++++++++++++------- .../dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 2 +- drivers/bluetooth/btrtl.c | 8 +++++++ 3 files changed, 24 insertions(+), 10 deletions(-) -- 2.34.1 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip
next reply other threads:[~2023-03-15 17:37 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-15 17:36 Chris Morgan [this message] 2023-03-15 17:36 ` [PATCH 0/3 V5] Bluetooth: Add support for RTL8821CS Chris Morgan 2023-03-15 17:36 ` [PATCH 1/3 V5] dt-bindings: net: realtek-bluetooth: Add RTL8821CS Chris Morgan 2023-03-15 17:36 ` Chris Morgan 2023-03-15 17:39 ` Bluetooth: Add support for RTL8821CS bluez.test.bot 2023-03-16 7:55 ` [PATCH 1/3 V5] dt-bindings: net: realtek-bluetooth: Add RTL8821CS Krzysztof Kozlowski 2023-03-16 7:55 ` Krzysztof Kozlowski 2023-03-16 19:36 ` Chris Morgan 2023-03-16 19:36 ` Chris Morgan 2023-03-17 8:26 ` Krzysztof Kozlowski 2023-03-17 8:26 ` Krzysztof Kozlowski 2023-03-15 17:36 ` [PATCH 2/3 V5] Bluetooth: hci_h5: btrtl: Add support for RTL8821CS Chris Morgan 2023-03-15 17:36 ` Chris Morgan 2023-03-15 17:36 ` [PATCH 3/3 V5] arm64: dts: rockchip: Update compatible for bluetooth Chris Morgan 2023-03-15 17:36 ` Chris Morgan 2023-03-22 23:44 ` [PATCH 0/3 V5] Bluetooth: Add support for RTL8821CS patchwork-bot+bluetooth 2023-03-22 23:44 ` patchwork-bot+bluetooth
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230315173657.28692-1-macroalpha82@gmail.com \ --to=macroalpha82@gmail.com \ --cc=alistair@alistair23.me \ --cc=anarsoul@gmail.com \ --cc=devicetree@vger.kernel.org \ --cc=heiko@sntech.de \ --cc=johan.hedberg@gmail.com \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-bluetooth@vger.kernel.org \ --cc=linux-rockchip@lists.infradead.org \ --cc=luiz.dentz@gmail.com \ --cc=macromorgan@hotmail.com \ --cc=marcel@holtmann.org \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.