]> 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)
commit2745569fbec07af6310c052489d91958688fe94c
treeed0a2c5c5daba3c18a3f5072eeaaba3a96bdf6ac
parentafc5d0acf5d48d44be509ffedacc2ed36ad52fa1
parenta29842abe1af03e77991f21cae61dce5f3c850e0
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: 38b949f99f223acf8fbefc606d013dc80504b63b
--
2.26.0