Re: [PATCH] dt-bindings: Improve phandle-array schemas

2022-01-19 Thread Arnaud POULIQUEN
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

[PATCH v4 0/2] sti: add audio interface to the hdmi driver

2016-04-28 Thread Arnaud Pouliquen
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/).

[PATCH v4 2/2] drm: sti: Add ASoC generic hdmi codec support.

2016-04-28 Thread Arnaud Pouliquen
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

[PATCH v4 1/2] video: hdmi: add helper functions for N and CTS

2016-04-28 Thread Arnaud Pouliquen
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

Re: [PATCH] dt-bindings: Drop redundant minItems/maxItems

2021-06-19 Thread Arnaud POULIQUEN
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

[PATCH v8 15/18] ARM: STi: DT: STiH407: Add uniperif reader dt nodes

2016-09-05 Thread Arnaud Pouliquen
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

[PATCH] drm: sti: allow audio playback on HDMI even if disabled.

2016-09-30 Thread Arnaud Pouliquen
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

[PATCH v4 3/3] ASoC: hdmi-codec: add channel mapping control

2017-01-03 Thread Arnaud Pouliquen
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

[PATCH v4 2/3] ASoC: core: add optional pcm_new callback for DAI driver

2017-01-03 Thread Arnaud Pouliquen
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

[PATCH v4 0/3] Generic HDMI codec: Add channel mapping control

2017-01-03 Thread Arnaud Pouliquen
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

[PATCH v4 1/3] DRM: add help to get ELD speaker allocation

2017-01-03 Thread Arnaud Pouliquen
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

Re: [PATCH v4 0/3] Generic HDMI codec: Add channel mapping control

2017-01-16 Thread Arnaud Pouliquen
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

Re: [PATCH v4 1/3] DRM: add help to get ELD speaker allocation

2017-01-19 Thread Arnaud Pouliquen
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

[PATCH v4 1/2] video: hdmi: add helper functions for N and CTS

2016-05-09 Thread Arnaud Pouliquen
://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

[PATCH v5 1/1] drm: sti: Add ASoC generic hdmi codec support.

2016-05-30 Thread Arnaud Pouliquen
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

[PATCH v5 0/1] sti: add audio interface to the hdmi driver

2016-05-30 Thread Arnaud Pouliquen
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

[PATCH RFC v5 2/8] ASoC: hdmi-codec: Add hdmi-codec for external HDMI-encoders

2016-02-22 Thread Arnaud Pouliquen
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

[v4,1/2] video: hdmi: add helper functions for N and CTS

2016-06-07 Thread Arnaud Pouliquen
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.

[PATCH 2/2] ASoC: hdmi-codec: add channel mapping control

2016-12-08 Thread Arnaud Pouliquen
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

[PATCH 0/2] Generic HDMI codec: Add channel mapping control

2016-12-08 Thread Arnaud Pouliquen
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

[PATCH 1/2] DRM: add help to get ELD speaker allocation

2016-12-08 Thread Arnaud Pouliquen
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

[PATCH 0/2] Generic HDMI codec: Add channel mapping control

2016-12-09 Thread Arnaud Pouliquen
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

[PATCH 2/2] ASoC: hdmi-codec: add channel mapping control

2016-12-12 Thread Arnaud Pouliquen
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 >

[PATCH 2/2] ASoC: hdmi-codec: add channel mapping control

2016-12-12 Thread Arnaud Pouliquen
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,

[PATCH 2/2] ASoC: hdmi-codec: add channel mapping control

2016-12-12 Thread Arnaud Pouliquen
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

[PATCH 2/2] ASoC: hdmi-codec: add channel mapping control

2016-12-12 Thread Arnaud Pouliquen
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

[PATCH 2/2] ASoC: hdmi-codec: add channel mapping control

2016-12-13 Thread Arnaud Pouliquen
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

[PATCH v2 2/4] ALSA pcm: allow non constant snd_pcm_chmap_elem

2016-12-14 Thread Arnaud Pouliquen
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

[PATCH v2 0/4] Generic HDMI codec: Add channel mapping control

2016-12-14 Thread Arnaud Pouliquen
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

[PATCH v2 3/4] ASoC: core: add optional pcm_new callback for DAI driver

2016-12-14 Thread Arnaud Pouliquen
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

[PATCH v2 1/4] DRM: add help to get ELD speaker allocation

2016-12-14 Thread Arnaud Pouliquen
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

[PATCH v2 4/4] ASoC: hdmi-codec: add channel mapping control

2016-12-14 Thread Arnaud Pouliquen
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

[alsa-lib][PATCH] ASoC: hdmi-codec: use unsigned type to structure members with bit-field instead of signed type

2016-12-16 Thread Arnaud Pouliquen
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

[PATCH v3 0/4] Generic HDMI codec: Add channel mapping control

2016-12-19 Thread Arnaud Pouliquen
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

[PATCH v3 1/4] DRM: add help to get ELD speaker allocation

2016-12-19 Thread Arnaud Pouliquen
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

[alsa-devel] [PATCH v3 2/4] ALSA pcm: allow non constant snd_pcm_chmap_elem

2016-12-19 Thread Arnaud Pouliquen
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-

[STLinux Kernel] [PATCH v2 4/4] ASoC: hdmi-codec: add channel mapping control

2016-12-19 Thread Arnaud Pouliquen
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

[PATCH v3 4/4] ASoC: hdmi-codec: add channel mapping control

2016-12-19 Thread Arnaud Pouliquen
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

[PATCH v3 3/4] ASoC: core: add optional pcm_new callback for DAI driver

2016-12-19 Thread Arnaud Pouliquen
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

[PATCH v3 2/4] ALSA pcm: allow non constant snd_pcm_chmap_elem

2016-12-19 Thread Arnaud Pouliquen
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

[RFC 3/5] ASoC: codec: hdmi drm codec driver

2015-09-21 Thread Arnaud Pouliquen
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

[RFC 0/5] another generic audio hdmi codec proposal

2015-09-21 Thread Arnaud Pouliquen
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

[RFC 4/5] drm: sti: connect audio driver

2015-09-21 Thread Arnaud Pouliquen
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

[RFC 1/5] video: hdmi: add help function for N and CTS

2015-09-21 Thread Arnaud Pouliquen
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

[RFC 2/5] drm: add helper functions to add bridge audio capabilities

2015-09-21 Thread Arnaud Pouliquen
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

[RFC 5/5] DT: sti: add audio HDMI dai link in audio card

2015-09-21 Thread Arnaud Pouliquen
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

[RFC 3/5] ASoC: codec: hdmi drm codec driver

2015-09-25 Thread Arnaud Pouliquen
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

[PATCH RFC v4 3/8] ASoC: hdmi-codec: Add hdmi-codec for external HDMI-encoders

2015-09-28 Thread Arnaud Pouliquen
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-

[PATCH v9 3/7] ASoC: hdmi-codec: Add hdmi-codec for external HDMI-encoders

2016-04-13 Thread Arnaud Pouliquen
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

[PATCH v9 4/7] ASoC: hdmi-codec: Add audio abort() callback for video side to use

2016-04-13 Thread Arnaud Pouliquen
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

[PATCH v3 1/2] video: hdmi: add helper function for N and CTS

2016-04-21 Thread Arnaud Pouliquen
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

[PATCH v3 0/2] sti: add audio interface to the hdmi driver

2016-04-21 Thread Arnaud Pouliquen
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

[PATCH v3 2/2] drm: sti: Add ASoC generic hdmi codec support.

2016-04-21 Thread Arnaud Pouliquen
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

[PATCH v3 1/2] video: hdmi: add helper function for N and CTS

2016-04-21 Thread Arnaud Pouliquen
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

[PATCH v4 0/2] sti: add audio interface to the hdmi driver

2016-04-21 Thread Arnaud Pouliquen
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 ++---

[PATCH v4 1/2] video: hdmi: add helper functions for N and CTS

2016-04-21 Thread Arnaud Pouliquen
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

[PATCH v4 2/2] drm: sti: Add ASoC generic hdmi codec support.

2016-04-21 Thread Arnaud Pouliquen
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

Re: [alsa-devel] [PATCH v2 2/2] drm/bridge: adv7511: restrict audio sample sizes

2017-08-01 Thread Arnaud Pouliquen
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

Re: [alsa-devel] [PATCH v2 2/2] drm/bridge: adv7511: restrict audio sample sizes

2017-08-01 Thread Arnaud Pouliquen
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

[PATCH RFC v5 2/8] ASoC: hdmi-codec: Add hdmi-codec for external HDMI-encoders

2016-03-08 Thread Arnaud Pouliquen
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

[PATCH v6 1/6] ALSA: pcm: add IEC958 channel status helper for hw_params

2016-03-09 Thread Arnaud Pouliquen
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

[PATCH v6 2/6] ASoC: hdmi-codec: Add hdmi-codec for external HDMI-encoders

2016-03-09 Thread Arnaud Pouliquen
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

[PATCH RFC V2 5/5] DT: sti: add audio HDMI dai link in audio card

2015-10-01 Thread Arnaud Pouliquen
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

[PATCH RFC V2 0/5] another generic audio hdmi codec proposal

2015-10-01 Thread Arnaud Pouliquen
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

[PATCH RFC V2 1/5] video: hdmi: add helper function for N and CTS

2015-10-01 Thread Arnaud Pouliquen
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

[PATCH RFC V2 4/5] drm: sti: connect audio driver

2015-10-01 Thread Arnaud Pouliquen
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

[PATCH RFC V2 2/5] drm: add helper functions to add audio capabilities for bridge

2015-10-01 Thread Arnaud Pouliquen
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

[PATCH RFC V2 3/5] ASoC: codec: hdmi drm codec driver

2015-10-01 Thread Arnaud Pouliquen
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

[alsa-devel] [PATCH RFC V2 0/5] another generic audio hdmi codec proposal

2015-10-06 Thread Arnaud Pouliquen
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: >

[alsa-devel] [PATCH RFC V2 0/5] another generic audio hdmi codec proposal

2015-10-07 Thread Arnaud Pouliquen
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

[alsa-devel] [PATCH RFC V2 0/5] another generic audio hdmi codec proposal

2015-10-07 Thread Arnaud Pouliquen
>> 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

HDMI codec, way forward?

2015-10-16 Thread Arnaud Pouliquen
> 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