]> git.baikalelectronics.ru Git - kernel.git/commit
Merge series "ASoC: rsnd: Fixes for multichannel HDMI audio output" from Matthias...
authorMark Brown <broonie@kernel.org>
Thu, 16 Apr 2020 12:01:34 +0000 (13:01 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 16 Apr 2020 12:01:34 +0000 (13:01 +0100)
commit942583bf045129d55627739db677fecf116d0f82
treeed0a2c5c5daba3c18a3f5072eeaaba3a96bdf6ac
parent39cd6fcb9d39b457a58bafc50b56cc8aa84c5a4d
parent5635dbf2ac3d2dab1bd741f5879f048147a5fb96
Merge series "ASoC: rsnd: Fixes for multichannel HDMI audio output" from Matthias Blankertz <matthias.blankertz@cetitec.com>:

This fixes two issues in the snd-soc-rcar driver blocking multichannel
HDMI audio out: The parent SSI in a multi-SSI configuration is not
correctly set up and started, and the SSI->HDMI channel mapping is
wrong.

With these patches, the following device tree snippet can be used on an
r8a7795-based platform (Salvator-X) to enable multichannel HDMI audio on
HDMI0:

rsnd_port1: port@1 {
rsnd_endpoint1: endpoint {
remote-endpoint = <&dw_hdmi0_snd_in>;

dai-format = "i2s";
bitclock-master = <&rsnd_endpoint1>;
frame-master = <&rsnd_endpoint1>;

playback = <&ssi0 &ssi1 &ssi2 &ssi9>;
};
};

With a capable receiver attached, all of 2ch (stereo), 6ch (e.g. 5.1)
and 8ch audio output should work.

Matthias Blankertz (2):
  ASoC: rsnd: Fix parent SSI start/stop in multi-SSI mode
  ASoC: rsnd: Fix HDMI channel mapping for multi-SSI mode

 sound/soc/sh/rcar/ssi.c  | 8 ++++----
 sound/soc/sh/rcar/ssiu.c | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

base-commit: 2ffa2ab596487f754e06cc3ea64a62170558e436
--
2.26.0