[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b94a3ea1-cfb0-f132-f16f-f56f2fd5628a@csgroup.eu>
Date: Sat, 19 Aug 2023 08:57:41 +0000
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: Randy Dunlap <rdunlap@...radead.org>, Herve Codina
<herve.codina@...tlin.com>, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, Andrew Lunn <andrew@...n.ch>, Rob Herring
<robh+dt@...nel.org>, Krzysztof Kozlowski
<krzysztof.kozlowski+dt@...aro.org>, Conor Dooley <conor+dt@...nel.org>, Lee
Jones <lee@...nel.org>, Linus Walleij <linus.walleij@...aro.org>, Qiang Zhao
<qiang.zhao@....com>, Li Yang <leoyang.li@....com>, Liam Girdwood
<lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>, Jaroslav Kysela
<perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>, Shengjiu Wang
<shengjiu.wang@...il.com>, Xiubo Li <Xiubo.Lee@...il.com>, Fabio Estevam
<festevam@...il.com>, Nicolin Chen <nicoleotsuka@...il.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "alsa-devel@...a-project.org"
<alsa-devel@...a-project.org>, Thomas Petazzoni
<thomas.petazzoni@...tlin.com>
Subject: Re: [PATCH v4 27/28] ASoC: codecs: Add support for the framer codec
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)
Christophe
Powered by blists - more mailing lists