xref: /freebsd/sys/contrib/device-tree/Bindings/sound/sprd-mcdt.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotSpreadtrum Multi-Channel Data Transfer Binding
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe Multi-channel data transfer controller is used for sound stream
4*c66ec88fSEmmanuel Vadottransmission between audio subsystem and other AP/CP subsystem. It
5*c66ec88fSEmmanuel Vadotsupports 10 DAC channel and 10 ADC channel, and each channel can be
6*c66ec88fSEmmanuel Vadotconfigured with DMA mode or interrupt mode.
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotRequired properties:
9*c66ec88fSEmmanuel Vadot- compatible: Should be "sprd,sc9860-mcdt".
10*c66ec88fSEmmanuel Vadot- reg: Should contain registers address and length.
11*c66ec88fSEmmanuel Vadot- interrupts: Should contain one interrupt shared by all channel.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadotmcdt@41490000 {
16*c66ec88fSEmmanuel Vadot	compatible = "sprd,sc9860-mcdt";
17*c66ec88fSEmmanuel Vadot	reg = <0 0x41490000 0 0x170>;
18*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
19*c66ec88fSEmmanuel Vadot};
20