summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-03-19 13:12:32 +0000
committerMark Brown <broonie@kernel.org>2019-03-19 13:12:32 +0000
commit249acb5f47df27109d74a0d904a5da56c8bac28f (patch)
treebade04b7c88324eaf6f826dd69a10146edd9a819 /Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt
parent9384d0e6facc9f5b325a2d401e9ed6bb49507a2a (diff)
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff)
downloadlinux-249acb5f47df27109d74a0d904a5da56c8bac28f.tar.gz
linux-249acb5f47df27109d74a0d904a5da56c8bac28f.tar.bz2
linux-249acb5f47df27109d74a0d904a5da56c8bac28f.zip
Merge tag 'v5.1-rc1' into spi-5.2
Linux 5.1-rc1
Diffstat (limited to 'Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt b/Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt
new file mode 100644
index 000000000000..679e44839b48
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt
@@ -0,0 +1,24 @@
+Mediatek ALSA BT SCO CVSD/MSBC Driver
+
+Required properties:
+- compatible = "mediatek,mtk-btcvsd-snd";
+- reg: register location and size of PKV and SRAM_BANK2
+- interrupts: should contain BTSCO interrupt
+- mediatek,infracfg: the phandles of INFRASYS
+- mediatek,offset: Array contains of register offset and mask
+ infra_misc_offset,
+ infra_conn_bt_cvsd_mask,
+ cvsd_mcu_read_offset,
+ cvsd_mcu_write_offset,
+ cvsd_packet_indicator_offset
+
+Example:
+
+ mtk-btcvsd-snd@18000000 {
+ compatible = "mediatek,mtk-btcvsd-snd";
+ reg=<0 0x18000000 0 0x1000>,
+ <0 0x18080000 0 0x8000>;
+ interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_LOW>;
+ mediatek,infracfg = <&infrasys>;
+ mediatek,offset = <0xf00 0x800 0xfd0 0xfd4 0xfd8>;
+ };