arm64: dts: allwinner: pinephone: Add support for Bluetooth audio
authorSamuel Holland <samuel@sholland.org>
Fri, 30 Apr 2021 03:58:58 +0000 (22:58 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 11 May 2021 08:17:52 +0000 (10:17 +0200)
commit36777d962082bdfd2f8e45d5cd748b21838d76cc
treefb381ed4f385ff8f86f546ac92fdc3b0d29c1f86
parent984a51c5308c907ee934e9521cc7a0b3835a1f6e
arm64: dts: allwinner: pinephone: Add support for Bluetooth audio

The PinePhone has a Bluetooth chip with its PCM interface connected to
AIF3. Add the DAI link so headeset audio can be routed in hardware.

Even though the link is 16 bit PCM, configuring the link a 32-bit slot
is required for compatibility with AIF2, which also uses a 32-bit slot,
and which shares clock dividers with AIF3. Using equal clock frequencies
allows the modem and headset to be used at the same time.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210430035859.3487-7-samuel@sholland.org
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi