mbox series

[0/4] ASoC: rsnd: adjust disabled module for R-Car D3

Message ID 87bl8rk02q.wl-kuninori.morimoto.gx@renesas.com
Headers show
Series ASoC: rsnd: adjust disabled module for R-Car D3 | expand

Message

Kuninori Morimoto May 31, 2021, 4:18 a.m. UTC
Hi Mark, Geert

Renesas Sound driver is assuming that all SSI/SRC
are connected.
But some SSI/SRC are not connected on Some Renesas SoC.
ex)
	H2	E2

	SRC0	      <=
	SRC1	SRC1
	SRC2	SRC2
	...	...

We accepted it by using "status = disabled" on DT before.

ex)
	rcar_sound,src {
		src-0 {
=>			status = "disabled";
		};
		src1: src-1 {
			...
		};
		...

But R-Car D3 have many disabled modules (It has SSI3/SSI4, SRC5/SRC6),
and Renesas SoC maintainer don't want above style on DT.

ex)
	rcar_sound,src {
=>		src0: src-0 { status = "disabled"; };
=>		src1: src-1 { status = "disabled"; };
=>		src2: src-2 { status = "disabled"; };
=>		src3: src-3 { status = "disabled"; };
=>		src4: src-4 { status = "disabled"; };
		src5: src-5 {
			...
		};
		...

This patch-set adjust to this situation, and enables to intuitive DT settings.

	rcar_sound,src {
		src5: src-5 {
			...
		};
		src6: src-6 {
			...
		};
	};

Kuninori Morimoto (4):
  ASoC: rsnd: tidyup rsnd_parse_connect_common()
  ASoC: rsnd: tidyup rsnd_dma_request_channel()
  ASoC: rsnd: tidyup rsnd_parse_connect_xxx()
  ASoC: rsnd: adjust disabled module

 sound/soc/sh/rcar/core.c | 58 ++++++++++++++++++++++++++++++++++++++--
 sound/soc/sh/rcar/dma.c  |  8 +++---
 sound/soc/sh/rcar/dvc.c  |  2 +-
 sound/soc/sh/rcar/rsnd.h | 16 ++++++-----
 sound/soc/sh/rcar/src.c  |  6 +++--
 sound/soc/sh/rcar/ssi.c  | 12 ++++++---
 sound/soc/sh/rcar/ssiu.c | 10 ++++---
 7 files changed, 91 insertions(+), 21 deletions(-)

Comments

Mark Brown June 1, 2021, 5:38 p.m. UTC | #1
On 31 May 2021 13:18:37 +0900, Kuninori Morimoto wrote:
> Renesas Sound driver is assuming that all SSI/SRC
> are connected.
> But some SSI/SRC are not connected on Some Renesas SoC.
> ex)
> 	H2	E2
> 
> 	SRC0	      <=
> 	SRC1	SRC1
> 	SRC2	SRC2
> 	...	...
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/4] ASoC: rsnd: tidyup rsnd_parse_connect_common()
      commit: ec02b5a1d1c91b1e05b62f8092252137cf9be488
[2/4] ASoC: rsnd: tidyup rsnd_dma_request_channel()
      commit: 039f2ccc64b8a2649f54d654a4d7d92864c6fdb1
[3/4] ASoC: rsnd: tidyup rsnd_parse_connect_xxx()
      commit: 73919dbe480d0b6cf3eeb54d25cb2538b6d3b024
[4/4] ASoC: rsnd: adjust disabled module
      commit: c413983eb66a0f6de37c13f7da3dd5fa488e5967

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark