arm64: dts: rockchip: Fix compatible for Bluetooth on rk3566-anbernic
authorChris Morgan <macromorgan@hotmail.com>
Mon, 8 May 2023 16:08:11 +0000 (11:08 -0500)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 8 Jun 2023 08:31:16 +0000 (10:31 +0200)
The realtek Bluetooth module uses the same driver as the
realtek,rtl8822cs-bt and the realtek,rtl8723bs-bt, however by selecting
the 8723bs advanced power saving features are disabled that appear
to interfere with normal operation of the bluetooth module. This
change switches the compatible string to disable power saving. Without
this patch evtest of a paired bluetooth controller fails, with this
patch the controller operates as expected.

Fixes: b6986b7920bb ("arm64: dts: rockchip: Update compatible for bluetooth")
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20230508160811.3568213-3-macroalpha82@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi

index 69f332738d247f52d1a8ad27cd25e4ab62f1fe0a..a2c31d53b45bc2e09df1a5c627cbf8a8c0449965 100644 (file)
        status = "okay";
 
        bluetooth {
-               compatible = "realtek,rtl8821cs-bt", "realtek,rtl8822cs-bt";
+               compatible = "realtek,rtl8821cs-bt", "realtek,rtl8723bs-bt";
                device-wake-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
                enable-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
                host-wake-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>;