[PATCH v4 27/28] ASoC: codecs: Add support for the framer codec

Christophe Leroy christophe.leroy at csgroup.eu
Sat Aug 19 18:57:41 AEST 2023

Le 19/08/2023 à 01:18, Randy Dunlap a écrit :
> Hi,
> On 8/18/23 09:39, Christophe Leroy wrote:
>> +config SND_SOC_FRAMER
>> +	tristate "Framer codec"
>> +	depends on GENERIC_FRAMER
>> +	help
>> +	  Enable support for the framer codec.
>> +	  The framer codec uses the generic framer infrastructure to transport
>> +	  some audio data over an analog E1/T1/J1 line.
>> +	  This codec allows to use some of the time slots available on the TDM
>> +	  bus on which the framer is connected to transport the audio data.
>> +
> Just curious: what controls the slot allocations/usages?
> Is that done in userspace?

For audio, this is done in userspace through alsalib.

For IP over E1, a mask is provided with the userspace tool 'sethdlc'

For the time being there is no sharing, either the E1 line is used for 
audio either the E1 line is used for IP over E1 (HDLC)


More information about the Linuxppc-dev mailing list