forked from xen-troops/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: mediatek: add documents for btcvsd driver
document for btcvsd driver Signed-off-by: KaiChieh Chuang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>; | ||
}; |