arm64: dts: imx8mm-beacon-som: Fix Choppy BT audio
diff mbox series

Message ID 20201007130237.230613-1-aford173@gmail.com
State Accepted
Commit 587258edd94c305077923ec458e04c032fca83e6
Headers show
Series
  • arm64: dts: imx8mm-beacon-som: Fix Choppy BT audio
Related show

Commit Message

Adam Ford Oct. 7, 2020, 1:02 p.m. UTC
When streaming bluetooth audio, the sound is choppy due to the
fact that the default baud rate of the HCI interface is too slow
to handle 16-bit stereo at 48KHz.

The Bluetooth chip is capable of up to 4M baud on the serial port,
so this patch sets the max-speed to 4000000 in order to properly
stream audio over the Bluetooth.

Fixes: 593816fa2f35 ("arm64: dts: imx: Add Beacon i.MX8m-Mini development kit")

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Shawn Guo Oct. 30, 2020, 7:57 a.m. UTC | #1
On Wed, Oct 07, 2020 at 08:02:37AM -0500, Adam Ford wrote:
> When streaming bluetooth audio, the sound is choppy due to the
> fact that the default baud rate of the HCI interface is too slow
> to handle 16-bit stereo at 48KHz.
> 
> The Bluetooth chip is capable of up to 4M baud on the serial port,
> so this patch sets the max-speed to 4000000 in order to properly
> stream audio over the Bluetooth.
> 
> Fixes: 593816fa2f35 ("arm64: dts: imx: Add Beacon i.MX8m-Mini development kit")
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>

Applied, thanks.

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi
index 55b36bddd513..b88c3c99b007 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi
@@ -211,6 +211,7 @@  bluetooth {
 		host-wakeup-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
 		device-wakeup-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
 		clocks = <&osc_32k>;
+		max-speed = <4000000>;
 		clock-names = "extclk";
 	};
 };