Hello Rob,
On 1/19/22 2:50 AM, Rob Herring wrote:
> The 'phandle-array' type is a bit ambiguous. It can be either just an
> array of phandles or an array of phandles plus args. Many schemas for
> phandle-array properties aren't clear in the schema which case applies
> though the description usuall
Add linux-fbdev diffusion list in loop for patch-set review.
On 04/21/2016 05:29 PM, Arnaud POULIQUEN wrote:
> This patchset implements audio interface in HDMI drm driver. Implementation
> is based on
> ASoC generic hdmi codec driver( https://patchwork.kernel.org/patch/8713141/).
Add linux-fbdev diffusion list in loop for patch-set review.
On 04/21/2016 05:29 PM, Arnaud POULIQUEN wrote:
> Add the interface needed by audio hdmi-codec driver.
>
> Signed-off-by: Arnaud Pouliquen
> Acked-by: Benjamin Gaignard
> Acked-by: Vincent ABRIOU
> ---
> driver
Add linux-fbdev diffusion list in loop for patch-set review.
On 04/21/2016 05:29 PM, Arnaud POULIQUEN wrote:
> Add helper functions to compute HDMI CTS and N parameters.
> Implementation is based on HDMI 1.4b specification.
>
> Signed-off-by: Arnaud Pouliquen
> Acked-by: Be
d meta-schema is pending.
>
[...]
> .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 2 --
[...]
> .../devicetree/bindings/mailbox/st,stm32-ipcc.yaml | 2 --
[...]
> .../devicetree/bindings/remoteproc/st,stm32-rproc.yaml | 2 --
[...]
> Documentation/devicetree/bindings/sound/st,stm32-sai.yaml | 3 ---
Reviewed-by: Arnaud Pouliquen
Thanks,
Arnaud
016, Peter Griffin wrote:
>>>
>>>> This patch adds the DT node for the uniperif reader
>>>> IP block found on STiH407 family silicon.
>>>>
>>>> Signed-off-by: Arnaud Pouliquen
>>>> Signed-off-by: Peter Griffin
>>>> ---
>&g
This fix allows to play audio while HDMI is disconnected.
When HDMI is disable, audio configuration is stored and samples
are dropped (by HDMI IP).
When HDMI is enabled, audio HDMI configuration is applied and samples
are outputted on HDMI wire.
Signed-off-by: Arnaud Pouliquen
---
drivers/gpu
control is called before the number of the channel is specified
(i.e. hw_params is set), it returns all channels set to UNKNOWN.
Signed-off-by: Arnaud Pouliquen
---
sound/soc/codecs/hdmi-codec.c | 380 +-
1 file changed, 379 insertions(+), 1 deletion(-)
diff
During probe, DAIs can need to perform some actions that requests
the knowledge of the pcm runtime handle.
The callback is called during DAIs linking, after PCM device creation.
For instance this can be used to add relationship between a DAI pcm
control and the pcm device.
Signed-off-by: Arnaud
not supported. Consequence is that unused channel in
the mid of CEA audio infoframe channel mapping are considered as
active.
example for channel allocation 0x02: FL, FR, 0, FC)
This configuration is only available for a 4 channels stream.
- Channel allocation table has been
Add helper to allow users to retrieve the speaker allocations without
knowledge of the ELD structure.
Signed-off-by: Arnaud Pouliquen
Reviewed-by: Jani Nikula
---
include/drm/drm_edid.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/include/drm/drm_edid.h b/include/drm
Hello,
Any comments on this patch-set?
what about the introduction of pcm new callback in DAI ops to use chmap
helpers?
Is it something reasonable, or should i come back on V1?
Regards
Arnaud
> 2017-01-03 16:52 GMT+01:00 Arnaud Pouliquen :
> Aim of this patch is to add 'Playback
On 01/19/2017 11:29 AM, Mark Brown wrote:
> On Wed, Jan 18, 2017 at 07:38:53AM +1100, Eric Anholt wrote:
>> Mark Brown writes:
>
>>> You don't appear to have sent this to any of the DRM
>>> maintainers - it does need review from them.
>
>> It was sent to dri-devel. That's us. And the patch a
://patchwork.kernel.org/patch/8887341)
Thanks and regards
Arnaud
On 04/28/2016 02:13 PM, Arnaud Pouliquen wrote:
> Add linux-fbdev diffusion list in loop for patch-set review.
>
> On 04/21/2016 05:29 PM, Arnaud POULIQUEN wrote:
>> Add helper functions to compute HDMI CTS a
Add the interface needed by audio hdmi-codec driver.
Signed-off-by: Arnaud Pouliquen
---
drivers/gpu/drm/sti/Kconfig| 1 +
drivers/gpu/drm/sti/sti_hdmi.c | 294 ++---
drivers/gpu/drm/sti/sti_hdmi.h | 13 ++
3 files changed, 291 insertions(+), 17
latform based on generic
hdmi-codec driver:
https://patchwork.kernel.org/patch/7215271/ ("ASoC: hdmi-codec: Add
hdmi-codec for external HDMI-encoders")
https://patchwork.kernel.org/patch/8062611/ ("video: hdmi: add helper
function for N and CTS")
Arnaud Poul
Hello Jyri,
Integrated and tested on sti platform with success.
I will re-submit patch-set associated to sti platform, when (if) patches
accepted.
Regards
Arnaud
On 02/17/2016 03:49 PM, Jyri Sarha wrote:
> The hdmi-codec is a platform device driver to be registered from
> drivers of external HD
34 PM, Doug Anderson wrote:
> Hi,
>
> On Thu, Apr 21, 2016 at 8:29 AM, Arnaud Pouliquen
> wrote:
>> Add helper functions to compute HDMI CTS and N parameters.
>> Implementation is based on HDMI 1.4b specification.
>
> It would be super nice to have this somewhere common.
control is called before the number of the channel is specified
(i.e. hw_params is set), it returns all channels set to UNKNOWN.
Notice that SNDRV_CTL_TLVT_CHMAP_FIXED is used for all mappings,
as no information is available from HDMI driver to allow channel swapping.
Signed-off-by: Arnaud
reordered and HDMI 2.0 is not
supported.
Arnaud Pouliquen (2):
DRM: add help to get ELD speaker allocation
ASoC: hdmi-codec: add channel mapping control
include/drm/drm_edid.h| 13 ++
sound/soc/codecs/hdmi-codec.c | 346 +-
2 files ch
Add helper to allow users to retrieve the speaker allocations without
knowledge of the ELD structure.
Signed-off-by: Arnaud Pouliquen
---
include/drm/drm_edid.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index 919933d
Hi,
On 12/08/2016 10:13 PM, Takashi Sakamoto wrote:
> On Dec 9 2016 05:52, Takashi Sakamoto wrote:
>> On Dec 9 2016 01:37, Arnaud Pouliquen wrote:
>>> Aim of this patch is to add 'Playback Channel Map' control to export
>>> audio capabilities in term of HD
On 12/11/2016 07:09 AM, Takashi Sakamoto wrote:
> On Dec 9 2016 01:37, Arnaud Pouliquen wrote:
>> Add user interface to provide channel mapping.
>> In a first step this control is read only.
>>
>> As TLV type, the control provides all configurations available for
>
static const struct snd_kcontrol_new hdmi_controls[] = {
{
.access = SNDRV_CTL_ELEM_ACCESS_READ |
@@ -79,6 +400,17 @@ static const struct snd_kcontrol_new hdmi_controls[] =
{
.info = hdmi_eld_ctl_info,
.get = hdmi_eld_ctl_get,
On 12/12/2016 01:03 PM, Takashi Sakamoto wrote:
> On 2016å¹´12æ12æ¥ 18:38, Arnaud Pouliquen wrote:
>>>> + */
>>>> +static struct hdmi_codec_cea_spk_alloc hdmi_codec_channel_alloc[] = {
>>>> +/* channel: 7
On 12/12/2016 03:05 PM, Takashi Sakamoto wrote:
> On Dec 12 2016 21:55, Takashi Iwai wrote:
>> On Mon, 12 Dec 2016 13:12:16 +0100,
>> Takashi Sakamoto wrote:
>>>
>>> On Dec 12 2016 18:54, Takashi Iwai wrote:
>>> +enum hdmi_codec_cea_spk_placement {
>>> + FL = (1 << 0),/* F
On 12/13/2016 02:58 PM, Takashi Sakamoto wrote:
> On 2016å¹´12æ13æ¥ 22:23, Takashi Sakamoto wrote:
>> Hi Arnaud,
This table is invariant in lifetime of the storage object, as well.
Let's put into .rodata section, too.
>>> This table is updated in hdmi_codec_cea_init_channel_allo
For HDMI, channel mapping can be retrieved from ELD. In this case mapping
can change during runtime (plug/unplug).
This patch suppresses the 'const' property of the struct chmap.
Signed-off-by: Arnaud Pouliquen
---
include/sound/pcm.h | 4 ++--
sound/core/pcm_lib.c | 6 +++---
2 fil
stream.
- Channel allocation table has been reordered and HDMI 2.0 is not
supported.
Arnaud Pouliquen (4):
DRM: add help to get ELD speaker allocation
ALSA pcm: allow non constant snd_pcm_chmap_elem
ASoC: core: add optional pcm_new callback for DAI driver
ASoC: hdmi-codec: add channel mappi
During probe, DAIs can need to perform some actions that requests
the knowledge of the pcm runtime handle.
The callback is called during DAIs linking, after PCM device creation.
For instance this can be used to add relation ship between a DAI pcm
control and the pcm device.
Signed-off-by: Arnaud
Add helper to allow users to retrieve the speaker allocations without
knowledge of the ELD structure.
Signed-off-by: Arnaud Pouliquen
---
include/drm/drm_edid.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index 919933d
control is called before the number of the channel is specified
(i.e. hw_params is set), it returns all channels set to UNKNOWN.
Signed-off-by: Arnaud Pouliquen
---
sound/soc/codecs/hdmi-codec.c | 310 +-
1 file changed, 309 insertions(+), 1 deletion(-)
diff
Hi Takashi,
Reviewed and tested for sti machine.
Acked-by: Arnaud Pouliquen
Regards
Arnaud
On 12/16/2016 10:26 AM, Takashi Sakamoto wrote:
> This is a fix for Linux 4.10-rc1.
>
> In C language specification, a bit-field is interpreted as a signed or
> unsigned integer type consi
io infoframe channel mapping are considered as
active.
example for channel allocation 0x02: FL, FR, 0, FC)
This configuration is only available for a 4 channels stream.
- Channel allocation table has been reordered and HDMI 2.0 is not
supported.
Arnaud Pouliquen (4):
DR
Add helper to allow users to retrieve the speaker allocations without
knowledge of the ELD structure.
Signed-off-by: Arnaud Pouliquen
---
include/drm/drm_edid.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index c3a7d44
uild test WARNING on asoc/for-next]
> [also build test WARNING on v4.9 next-20161219]
> [if your patch is applied to the wrong git tree, please drop us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Arnaud-Pouliquen/Generic-HDMI-codec-
I detected 2 issues in this version, details below.
V3 is following.
Sorry for the inconvenience...
Regards
Arnaud
On 12/14/2016 04:16 PM, Arnaud Pouliquen wrote:
> +static unsigned long hdmi_codec_spk_mask_from_alloc(int spk_alloc)
> +{
> + int i;
> + const u
control is called before the number of the channel is specified
(i.e. hw_params is set), it returns all channels set to UNKNOWN.
Signed-off-by: Arnaud Pouliquen
---
sound/soc/codecs/hdmi-codec.c | 313 +-
1 file changed, 312 insertions(+), 1 deletion(-)
diff
During probe, DAIs can need to perform some actions that request
the knowledge of the pcm runtime handle.
The callback is called during DAIs linking, after PCM device creation.
For instance this can be used to add relationship between a DAI pcm
control and the pcm device.
Signed-off-by: Arnaud
For HDMI, channel mapping can be retrieved from ELD. In this case mapping
can change during runtime (plug/unplug).
This patch removes the 'const' property of the struct chmap.
Signed-off-by: Arnaud Pouliquen
---
include/sound/pcm.h | 4 ++--
sound/core/pcm_lib.c | 6 +++---
2 files
Add a generic codec to interface audio with DRM drivers
Signed-off-by: Arnaud Pouliquen
---
include/sound/hdmi_drm.h| 16 ++
sound/soc/codecs/Kconfig| 4 ++
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/hdmi_drm.c | 125
4
it to suggest a possible DRM API.
Arnaud Pouliquen (5):
video: hdmi: add help function for N and cts
drm: add helper functionto add audio capabilities for bridge
ASoC: codec: hdmi drm codec driver
drm: sti: connect audio driver
DT: sti: add audio HDMI dai link in audio card
arch/arm/boo
Add management of the audio bridge
Signed-off-by: Arnaud Pouliquen
---
drivers/gpu/drm/sti/sti_hdmi.c | 146 +
drivers/gpu/drm/sti/sti_hdmi.h | 3 +
2 files changed, 137 insertions(+), 12 deletions(-)
diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b
Add helper function to compute CTS and N parameters base on
table described in HDMI specification 1.4b
Signed-off-by: Arnaud Pouliquen
---
drivers/video/hdmi.c | 148 +++
include/linux/hdmi.h | 8 +++
2 files changed, 156 insertions(+)
diff
Extend bridge capabilities for audio to enable to connect an audio driver to a
DRM driver with audio capabilities
Signed-off-by: Arnaud Pouliquen
---
drivers/gpu/drm/drm_bridge.c | 114 +++
include/drm/drm_crtc.h | 31
include/linux
Add the HDMI dai link to support audio for HDMi output
Signed-off-by: Arnaud Pouliquen
---
arch/arm/boot/dts/stih410.dtsi | 4 ++--
arch/arm/boot/dts/stihxxx-b2120.dtsi | 21 +
arch/arm/configs/multi_v7_defconfig | 1 +
3 files changed, 24 insertions(+), 2 deletions
to provide a V2 next week.
>
> I have not yet gotten to bottom of drm-side audio bride part, but I am
> working on it. Bellow is couple of early comments to the ASoC part.
>
> Best regards,
> Jyri
>
> On 09/21/15 16:19, Arnaud Pouliquen wrote:
>> +
>> +s
few questions/remarks
BR,
Arnaud
> +static void hdmi_codec_abort(struct device *dev)
> +{
> +struct hdmi_codec_priv *hcp = dev_get_drvdata(dev);
> +
> +dev_dbg(dev, "%s()\n", __func__);
> +
> +mutex_lock(&hcp->current_stream_lock);
> +if (hcp->current_stream && hcp->current_stream-
New version Tested with success on sti platform
Acked-by: Arnaud Pouliquen
Regards
Arnaud
On 03/31/2016 03:36 PM, Jyri Sarha wrote:
> The hdmi-codec is a platform device driver to be registered from
> drivers of external HDMI encoders with I2S and/or spdif interface. The
> drive
On 03/31/2016 03:36 PM, Jyri Sarha wrote:
> Add audio abort() callback, that is provided at audio stream start,
> for video side. This is for video side to use in case there is a
> pressing need to tear down the audio playback for some reason.
>
> Signed-off-by: Jyri Sarha
> ---
> include/soun
Add helper function to compute HDMI CTS and N parameters
Implementation is based on HDMI 1.4b specification.
Signed-off-by: Arnaud Pouliquen
Acked-by: Benjamin Gaignard
Acked-by: Vincent ABRIOU
---
drivers/video/hdmi.c | 202 +++
include/linux
https://patchwork.kernel.org/patch/8062611/ ("video: hdmi: add helper
function for N and CTS")
Arnaud Pouliquen (2):
drm: sti: Add ASoC generic hdmi codec support.
video: hdmi: add helper function for N and CTS
drivers/gpu/drm/sti/Kconfig| 1
Add the interface needed by audio hdmi-codec driver.
Signed-off-by: Arnaud Pouliquen
Acked-by: Benjamin Gaignard
Acked-by: Vincent ABRIOU
---
drivers/gpu/drm/sti/Kconfig| 1 +
drivers/gpu/drm/sti/sti_hdmi.c | 248 ++---
drivers/gpu/drm/sti/sti_hdmi.h
On 04/21/2016 02:39 PM, Philipp Zabel wrote:
> Hi Arnaud,
>
> Am Donnerstag, den 21.04.2016, 10:07 +0200 schrieb Arnaud Pouliquen:
>> Add helper function to compute HDMI CTS and N parameters
>> Implementation is based on HDMI 1.4b specification.
>>
>> Signed-o
t;video: hdmi: add helper
function for N and CTS")
Arnaud Pouliquen (2):
video: hdmi: add helper functions for N and CTS
drm: sti: Add ASoC generic hdmi codec support.
drivers/gpu/drm/sti/Kconfig| 1 +
drivers/gpu/drm/sti/sti_hdmi.c | 248 ++---
Add helper functions to compute HDMI CTS and N parameters.
Implementation is based on HDMI 1.4b specification.
Signed-off-by: Arnaud Pouliquen
Acked-by: Benjamin Gaignard
Acked-by: Vincent ABRIOU
---
drivers/video/hdmi.c | 208 +++
include/linux
Add the interface needed by audio hdmi-codec driver.
Signed-off-by: Arnaud Pouliquen
Acked-by: Benjamin Gaignard
Acked-by: Vincent ABRIOU
---
drivers/gpu/drm/sti/Kconfig| 1 +
drivers/gpu/drm/sti/sti_hdmi.c | 248 ++---
drivers/gpu/drm/sti/sti_hdmi.h
Hello Srinivas,
On 08/01/2017 02:52 PM, Srinivas Kandagatla wrote:
As example, if you configure bus in Left justified format with 24 bits
sample length, 32 bits application samples should be truncated to 24
bits samples at ADV7533 I2S interface level (LSB dropped).
>>
>>> May be we
Hello Srinivas,
On 08/01/2017 12:49 AM, srinivas.kandaga...@linaro.org wrote:
> From: Srinivas Kandagatla
>
> ADV7533 only supports audio samples word width from 16-24 bits.
> This patch restricts the audio sample sizes to the supported ones,
> so that sound card does not report wrong list of su
Hello Jyri,
> +
> +static int hdmi_codec_hw_params(struct snd_pcm_substream *substream,
> + struct snd_pcm_hw_params *params,
> + struct snd_soc_dai *dai)
> +{
> + struct hdmi_codec_priv *hcp = snd_soc_dai_get_drvdata(dai);
> + struct
Hello Jyri,
Acked-by: Arnaud Pouliquen
With few nitpicking remarks on form.
Regards
Arnaud
On 03/08/2016 09:14 PM, Jyri Sarha wrote:
> Add IEC958 channel status helper that gets the audio properties from
> snd_pcm_hw_params instead of snd_pcm_runtime. This is needed to
> produce th
Hello Jyri,
Tested with success on sti platform
Acked-by: Arnaud Pouliquen
Regards
Arnaud
On 03/08/2016 09:14 PM, Jyri Sarha wrote:
> The hdmi-codec is a platform device driver to be registered from
> drivers of external HDMI encoders with I2S and/or spdif interface. The
> drive
Add the HDMI dai link to support audio for HDMi output
Signed-off-by: Arnaud Pouliquen
---
arch/arm/boot/dts/stih410.dtsi | 6 +-
arch/arm/boot/dts/stihxxx-b2120.dtsi | 21 +
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/stih410
ost it to suggest a possible DRM API.
Arnaud Pouliquen (5):
video: hdmi: add helper function for N and CTS
drm: add helper function to add audio capabilities for bridge
ASoC: codec: hdmi drm codec driver
drm: sti: connect audio driver
DT: sti: add audio HDMI dai link in audio card
ar
Add helper function to compute HDMI CTS and N parameters
Implementation is based on HDMI 1.4b specification.
Signed-off-by: Arnaud Pouliquen
Cc: linux-fbdev at vger.kernel.org
Cc: Jean-Christophe Plagniol-Villard
Cc: Tomi Valkeinen
---
drivers/video/hdmi.c | 147
Registeur Asoc codec and implement audio bridge ops.
Signed-off-by: Arnaud Pouliquen
---
drivers/gpu/drm/sti/sti_hdmi.c | 184 ++---
drivers/gpu/drm/sti/sti_hdmi.h | 3 +
2 files changed, 176 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/sti
Extend bridge capabilities for audio to enable to connect an audio driver to a
DRM driver with audio capabilities
Signed-off-by: Arnaud Pouliquen
---
drivers/gpu/drm/drm_bridge.c | 137 ++-
include/drm/drm_crtc.h | 62
include
Add a generic codec to interface audio with DRM drivers
Signed-off-by: Arnaud Pouliquen
---
include/sound/hdmi_drm.h| 15 ++
sound/soc/codecs/Kconfig| 8 +-
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/hdmi_drm.c | 358
4 files
Hello Jyri,
Thanks your feedback, my answers in line
On 10/05/2015 03:27 PM, Jyri Sarha wrote:
> On 10/01/15 19:50, Arnaud Pouliquen wrote:
>>
>> Version 2:
>> This version integrates missing features upgraded to be aligned when possible
>> with patch set:
>
On 10/06/2015 04:33 PM, Jean-Francois Moine wrote:
> On Tue, 6 Oct 2015 11:23:03 +0200
> Arnaud Pouliquen wrote:
> [snip]
>> As API is defined in DRM, it seems more logical to match it with the one
>> defined for video. From my windows, i didn't see any blocking
>> My approach is the reverse: DRM driver does not need to know anything
>> about audio side. As ALSA is the client of DRM, seems more logical from
>> my point of view ...
>> Now if a generic solution must be found for all video drivers, sure,
>> your solution is more flexible.
>> But if i well u
> After reading the ELCE Audio mini conf minutes [1] I gather that HDMI
> audio was not discussed after all.
>
> My conclusion from the Lars-Peter's latest mail [2] related to the
> subject is that the wind is currently blowing slightly in favour of my
> version of the hdmi codec [3], or at least n
72 matches
Mail list logo