diff options
author | KaiChieh Chuang <kaichieh.chuang@mediatek.com> | 2019-01-30 09:47:11 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-02 18:58:43 +0300 |
commit | 425da20a98e0ab6ba6b37ff00ab50519d7dd7740 (patch) | |
tree | 0d131620b6e733c46563e40e74a4a11b1eea1a87 /Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt | |
parent | 909d74e39fe18e145a15ba3638f764e7ac3382c1 (diff) | |
download | linux-425da20a98e0ab6ba6b37ff00ab50519d7dd7740.tar.xz |
ASoC: mediatek: add documents for btcvsd driver
document for btcvsd driver
Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt | 24 |
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>; + }; |