The ADV7511 chip allows 24 bits samples max in I2S mode, excepted for
direct AES3 mode (SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE format).
However the HDMI codec exposes S32_LE format as supported.
Adapt ADV7511 HDMI I2S format list to expose formats actually supported.
Signed-off-by: Olivier Moysan
messages from
Pipewire.
Adjust the capabilities reported by the ADV7511 driver, to more
accurately reflect its actual capabilities.
Changes in v2:
- Re-order patches
- Set no_spdif_capture flag
Olivier Moysan (3):
drm: bridge: adv7511: fill stream capabilities
ASoC: hdmi-codec: allow to refine
Set no_i2s_capture and no_spdif_capture flags in hdmi_codec_pdata structure
to report that the ADV7511 HDMI bridge does not support i2s or spdif audio
capture.
Signed-off-by: Olivier Moysan
---
drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a
Hi Dmitry,
On 12/11/24 23:52, Dmitry Baryshkov wrote:
On Tue, Dec 10, 2024 at 02:42:52PM +0100, Olivier Moysan wrote:
Set no_i2s_capture flag in hdmi_codec_pdata structure to report
that the ADV7511 HDMI bridge does not support i2s audio capture.
Signed-off-by: Olivier Moysan
---
drivers
Hi Dmitry,
On 12/11/24 23:54, Dmitry Baryshkov wrote:
On Tue, Dec 10, 2024 at 02:42:53PM +0100, Olivier Moysan wrote:
The ADV7511 chip allows 24 bits samples max in I2S mode, excepted for
direct AES3 mode (SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE format).
However the HDMI codec exposes S32_LE
The ADV7511 chip allows 24 bits samples max in I2S mode, excepted for
direct AES3 mode (SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE format).
However the HDMI codec exposes S32_LE format as supported.
Adapt ADV7511 HDMI I2S format list to expose formats actually supported.
Signed-off-by: Olivier Moysan
Set no_i2s_capture flag in hdmi_codec_pdata structure to report
that the ADV7511 HDMI bridge does not support i2s audio capture.
Signed-off-by: Olivier Moysan
---
drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/bridge/adv7511
messages from
Pipewire.
Adjust the capabilities reported by the ADV7511 driver, to more
accurately reflect its actual capabilities.
Olivier Moysan (3):
drm: bridge: adv7511: fill i2s stream capabilities
drm: bridge: adv7511: remove s32 format from i2s capabilities
ASoC: hdmi-codec: allow to
The master clock on i2s bus is not mandatory,
as sii902X internal PLL can be used instead.
Make use of mclk optional.
Signed-off-by: Olivier Moysan
Reviewed-by: Jyri Sarha
Acked-by: Andrzej Hajda
---
drivers/gpu/drm/bridge/sii902x.c | 19 ++-
1 file changed, 10 insertions
Fix audio master clock use for Silab sii902x HDMI transceiver.
Make audio master clock optional, as this clock is not mandatory.
Changes in v2:
- Rely on clk framework to manage undefined mclk case.
- Use devm_clk_get_optional instead of devm_clk_get.
Olivier Moysan (3):
drm/bridge: sii902x
Add devm_clk_get call to retrieve reference to master clock.
Fixes: ff5781634c41 ("drm/bridge: sii902x: Implement HDMI audio support")
Signed-off-by: Olivier Moysan
Reviewed-by: Jyri Sarha
Acked-by: Andrzej Hajda audio.i2s_fifo_sequence[i] |= audio
As stated in SiL9022/24 datasheet, master clock is not required for I2S.
Make mclk property optional in DT bindings.
Fixes: 3f18021f43a3 ("dt-bindings: display: sii902x: Add HDMI audio bindings")
Signed-off-by: Olivier Moysan
Reviewed-by: Jyri Sarha
Acked-by: Andrzej Hajda
---
Doc
Implement get_dai_id callback of audio HDMI codec
to support ASoC audio graph card.
HDMI audio output has to be connected to sii902x port 3.
get_dai_id callback maps this port to ASoC DAI index 0.
Signed-off-by: Olivier Moysan
---
drivers/gpu/drm/bridge/sii902x.c | 23 +++
1
Fix audio master clock use for Silab sii902x HDMI transceiver.
Make audio master clock optional, as this clock is not mandatory.
Olivier Moysan (3):
drm/bridge: sii902x: fix missing reference to mclk clock
dt-bindings: display: sii902x: Change audio mclk binding
drm/bridge: sii902x: make
As stated in SiL9022/24 datasheet, master clock is not required for I2S.
Make mclk property optional in DT bindings.
Fixes: 3f18021f43a3 ("dt-bindings: display: sii902x: Add HDMI audio bindings")
Signed-off-by: Olivier Moysan
---
Documentation/devicetree/bindings/display/bridge/sii90
The master clock on i2s bus is not mandatory,
as sii902X internal PLL can be used instead.
Make use of mclk optional.
Fixes: ff5781634c41 ("drm/bridge: sii902x: Implement HDMI audio support")
Signed-off-by: Olivier Moysan
---
drivers/gpu/drm/bridge/sii9
Add devm_clk_get call to retrieve reference to master clock.
Fixes: ff5781634c41 ("drm/bridge: sii902x: Implement HDMI audio support")
Signed-off-by: Olivier Moysan
---
drivers/gpu/drm/bridge/sii902x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/bridge/s
Hello Jyri,
STM32MP157C-DK2 discovery boards use a SiI9022A HDMI transmitter.
see: https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html
On this board audio samples are sent to HDMI transmitter through the i2s
link. This i2s link does not provide a master clock. internal PLL is
used inste
Hello Jyri,
On 3/13/19 6:52 PM, Jyri Sarha wrote:
> On 13/03/2019 18:47, Laurent Pinchart wrote:
>> Hello again,
>>
>> On Wed, Mar 13, 2019 at 06:29:19PM +0200, Laurent Pinchart wrote:
>>> On Wed, Mar 13, 2019 at 06:01:07PM +0200, Jyri Sarha wrote:
The sii902x chip family supports also HDMI a
Hi Jyri,
I also implemented HDMI audio support for sii902x to enable audio on a
STM32 board. As you submitted your patches first, I will align on it.
I had a first look at the current patch and I have some comments below.
I will review more in details and make some tests, asap.
I agree with Laur
20 matches
Mail list logo