From c087a94bea49acf34d651f7308506fe462a937b3 Mon Sep 17 00:00:00 2001 From: Lad Prabhakar Date: Fri, 25 Oct 2024 16:05:07 +0100 Subject: [PATCH 1/5] ASoC: Rename "sh" to "renesas" Rename the "sh" folder to "renesas" to better reflect the Renesas-specific drivers. Signed-off-by: Lad Prabhakar Acked-by: Kuninori Morimoto Link: https://patch.msgid.link/20241025150511.722040-2-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Mark Brown --- sound/soc/Kconfig | 2 +- sound/soc/Makefile | 2 +- sound/soc/{sh => renesas}/Kconfig | 0 sound/soc/{sh => renesas}/Makefile | 0 sound/soc/{sh => renesas}/dma-sh7760.c | 0 sound/soc/{sh => renesas}/fsi.c | 0 sound/soc/{sh => renesas}/hac.c | 0 sound/soc/{sh => renesas}/migor.c | 0 sound/soc/{sh => renesas}/rcar/Makefile | 0 sound/soc/{sh => renesas}/rcar/adg.c | 0 sound/soc/{sh => renesas}/rcar/cmd.c | 0 sound/soc/{sh => renesas}/rcar/core.c | 0 sound/soc/{sh => renesas}/rcar/ctu.c | 0 sound/soc/{sh => renesas}/rcar/debugfs.c | 0 sound/soc/{sh => renesas}/rcar/dma.c | 0 sound/soc/{sh => renesas}/rcar/dvc.c | 0 sound/soc/{sh => renesas}/rcar/gen.c | 0 sound/soc/{sh => renesas}/rcar/mix.c | 0 sound/soc/{sh => renesas}/rcar/rsnd.h | 0 sound/soc/{sh => renesas}/rcar/src.c | 0 sound/soc/{sh => renesas}/rcar/ssi.c | 0 sound/soc/{sh => renesas}/rcar/ssiu.c | 0 sound/soc/{sh => renesas}/rz-ssi.c | 0 sound/soc/{sh => renesas}/sh7760-ac97.c | 0 sound/soc/{sh => renesas}/siu.h | 0 sound/soc/{sh => renesas}/siu_dai.c | 0 sound/soc/{sh => renesas}/siu_pcm.c | 0 sound/soc/{sh => renesas}/ssi.c | 0 28 files changed, 2 insertions(+), 2 deletions(-) rename sound/soc/{sh => renesas}/Kconfig (100%) rename sound/soc/{sh => renesas}/Makefile (100%) rename sound/soc/{sh => renesas}/dma-sh7760.c (100%) rename sound/soc/{sh => renesas}/fsi.c (100%) rename sound/soc/{sh => renesas}/hac.c (100%) rename sound/soc/{sh => renesas}/migor.c (100%) rename sound/soc/{sh => renesas}/rcar/Makefile (100%) rename sound/soc/{sh => renesas}/rcar/adg.c (100%) rename sound/soc/{sh => renesas}/rcar/cmd.c (100%) rename sound/soc/{sh => renesas}/rcar/core.c (100%) rename sound/soc/{sh => renesas}/rcar/ctu.c (100%) rename sound/soc/{sh => renesas}/rcar/debugfs.c (100%) rename sound/soc/{sh => renesas}/rcar/dma.c (100%) rename sound/soc/{sh => renesas}/rcar/dvc.c (100%) rename sound/soc/{sh => renesas}/rcar/gen.c (100%) rename sound/soc/{sh => renesas}/rcar/mix.c (100%) rename sound/soc/{sh => renesas}/rcar/rsnd.h (100%) rename sound/soc/{sh => renesas}/rcar/src.c (100%) rename sound/soc/{sh => renesas}/rcar/ssi.c (100%) rename sound/soc/{sh => renesas}/rcar/ssiu.c (100%) rename sound/soc/{sh => renesas}/rz-ssi.c (100%) rename sound/soc/{sh => renesas}/sh7760-ac97.c (100%) rename sound/soc/{sh => renesas}/siu.h (100%) rename sound/soc/{sh => renesas}/siu_dai.c (100%) rename sound/soc/{sh => renesas}/siu_pcm.c (100%) rename sound/soc/{sh => renesas}/ssi.c (100%) diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index 8e01b421fe8d..5efba76abb31 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig @@ -106,10 +106,10 @@ source "sound/soc/meson/Kconfig" source "sound/soc/mxs/Kconfig" source "sound/soc/pxa/Kconfig" source "sound/soc/qcom/Kconfig" +source "sound/soc/renesas/Kconfig" source "sound/soc/rockchip/Kconfig" source "sound/soc/samsung/Kconfig" source "sound/soc/sdca/Kconfig" -source "sound/soc/sh/Kconfig" source "sound/soc/sof/Kconfig" source "sound/soc/spear/Kconfig" source "sound/soc/sprd/Kconfig" diff --git a/sound/soc/Makefile b/sound/soc/Makefile index 5307b0b62a93..08baaa11d813 100644 --- a/sound/soc/Makefile +++ b/sound/soc/Makefile @@ -59,10 +59,10 @@ obj-$(CONFIG_SND_SOC) += mxs/ obj-$(CONFIG_SND_SOC) += kirkwood/ obj-$(CONFIG_SND_SOC) += pxa/ obj-$(CONFIG_SND_SOC) += qcom/ +obj-$(CONFIG_SND_SOC) += renesas/ obj-$(CONFIG_SND_SOC) += rockchip/ obj-$(CONFIG_SND_SOC) += samsung/ obj-$(CONFIG_SND_SOC) += sdca/ -obj-$(CONFIG_SND_SOC) += sh/ obj-$(CONFIG_SND_SOC) += sof/ obj-$(CONFIG_SND_SOC) += spear/ obj-$(CONFIG_SND_SOC) += sprd/ diff --git a/sound/soc/sh/Kconfig b/sound/soc/renesas/Kconfig similarity index 100% rename from sound/soc/sh/Kconfig rename to sound/soc/renesas/Kconfig diff --git a/sound/soc/sh/Makefile b/sound/soc/renesas/Makefile similarity index 100% rename from sound/soc/sh/Makefile rename to sound/soc/renesas/Makefile diff --git a/sound/soc/sh/dma-sh7760.c b/sound/soc/renesas/dma-sh7760.c similarity index 100% rename from sound/soc/sh/dma-sh7760.c rename to sound/soc/renesas/dma-sh7760.c diff --git a/sound/soc/sh/fsi.c b/sound/soc/renesas/fsi.c similarity index 100% rename from sound/soc/sh/fsi.c rename to sound/soc/renesas/fsi.c diff --git a/sound/soc/sh/hac.c b/sound/soc/renesas/hac.c similarity index 100% rename from sound/soc/sh/hac.c rename to sound/soc/renesas/hac.c diff --git a/sound/soc/sh/migor.c b/sound/soc/renesas/migor.c similarity index 100% rename from sound/soc/sh/migor.c rename to sound/soc/renesas/migor.c diff --git a/sound/soc/sh/rcar/Makefile b/sound/soc/renesas/rcar/Makefile similarity index 100% rename from sound/soc/sh/rcar/Makefile rename to sound/soc/renesas/rcar/Makefile diff --git a/sound/soc/sh/rcar/adg.c b/sound/soc/renesas/rcar/adg.c similarity index 100% rename from sound/soc/sh/rcar/adg.c rename to sound/soc/renesas/rcar/adg.c diff --git a/sound/soc/sh/rcar/cmd.c b/sound/soc/renesas/rcar/cmd.c similarity index 100% rename from sound/soc/sh/rcar/cmd.c rename to sound/soc/renesas/rcar/cmd.c diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/renesas/rcar/core.c similarity index 100% rename from sound/soc/sh/rcar/core.c rename to sound/soc/renesas/rcar/core.c diff --git a/sound/soc/sh/rcar/ctu.c b/sound/soc/renesas/rcar/ctu.c similarity index 100% rename from sound/soc/sh/rcar/ctu.c rename to sound/soc/renesas/rcar/ctu.c diff --git a/sound/soc/sh/rcar/debugfs.c b/sound/soc/renesas/rcar/debugfs.c similarity index 100% rename from sound/soc/sh/rcar/debugfs.c rename to sound/soc/renesas/rcar/debugfs.c diff --git a/sound/soc/sh/rcar/dma.c b/sound/soc/renesas/rcar/dma.c similarity index 100% rename from sound/soc/sh/rcar/dma.c rename to sound/soc/renesas/rcar/dma.c diff --git a/sound/soc/sh/rcar/dvc.c b/sound/soc/renesas/rcar/dvc.c similarity index 100% rename from sound/soc/sh/rcar/dvc.c rename to sound/soc/renesas/rcar/dvc.c diff --git a/sound/soc/sh/rcar/gen.c b/sound/soc/renesas/rcar/gen.c similarity index 100% rename from sound/soc/sh/rcar/gen.c rename to sound/soc/renesas/rcar/gen.c diff --git a/sound/soc/sh/rcar/mix.c b/sound/soc/renesas/rcar/mix.c similarity index 100% rename from sound/soc/sh/rcar/mix.c rename to sound/soc/renesas/rcar/mix.c diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/renesas/rcar/rsnd.h similarity index 100% rename from sound/soc/sh/rcar/rsnd.h rename to sound/soc/renesas/rcar/rsnd.h diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/renesas/rcar/src.c similarity index 100% rename from sound/soc/sh/rcar/src.c rename to sound/soc/renesas/rcar/src.c diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/renesas/rcar/ssi.c similarity index 100% rename from sound/soc/sh/rcar/ssi.c rename to sound/soc/renesas/rcar/ssi.c diff --git a/sound/soc/sh/rcar/ssiu.c b/sound/soc/renesas/rcar/ssiu.c similarity index 100% rename from sound/soc/sh/rcar/ssiu.c rename to sound/soc/renesas/rcar/ssiu.c diff --git a/sound/soc/sh/rz-ssi.c b/sound/soc/renesas/rz-ssi.c similarity index 100% rename from sound/soc/sh/rz-ssi.c rename to sound/soc/renesas/rz-ssi.c diff --git a/sound/soc/sh/sh7760-ac97.c b/sound/soc/renesas/sh7760-ac97.c similarity index 100% rename from sound/soc/sh/sh7760-ac97.c rename to sound/soc/renesas/sh7760-ac97.c diff --git a/sound/soc/sh/siu.h b/sound/soc/renesas/siu.h similarity index 100% rename from sound/soc/sh/siu.h rename to sound/soc/renesas/siu.h diff --git a/sound/soc/sh/siu_dai.c b/sound/soc/renesas/siu_dai.c similarity index 100% rename from sound/soc/sh/siu_dai.c rename to sound/soc/renesas/siu_dai.c diff --git a/sound/soc/sh/siu_pcm.c b/sound/soc/renesas/siu_pcm.c similarity index 100% rename from sound/soc/sh/siu_pcm.c rename to sound/soc/renesas/siu_pcm.c diff --git a/sound/soc/sh/ssi.c b/sound/soc/renesas/ssi.c similarity index 100% rename from sound/soc/sh/ssi.c rename to sound/soc/renesas/ssi.c From 94c0a8a10f05782a4426a67343e3081601ad3f1a Mon Sep 17 00:00:00 2001 From: Lad Prabhakar Date: Fri, 25 Oct 2024 16:05:08 +0100 Subject: [PATCH 2/5] ASoC: renesas, rsnd: Update file path The "sound/soc/sh" directory has been renamed to "sound/soc/renesas". Update the reference in renesas,rsnd.txt to reflect the new file path for consistency. Signed-off-by: Lad Prabhakar Acked-by: Kuninori Morimoto Link: https://patch.msgid.link/20241025150511.722040-3-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Mark Brown --- Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt index dfd768b1ad7d..3f07b072d995 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt @@ -109,7 +109,7 @@ For more detail information, see below - Register Description - CTUn Scale Value exx Register (CTUn_SVxxR) - ${LINUX}/sound/soc/sh/rcar/ctu.c + ${LINUX}/sound/soc/renesas/rcar/ctu.c - comment of header You need to use "simple-scu-audio-card" or "audio-graph-scu-card" for it. From 1b3130e9e77e4286a2e495b4b3c3efcf54848633 Mon Sep 17 00:00:00 2001 From: Lad Prabhakar Date: Fri, 25 Oct 2024 16:05:09 +0100 Subject: [PATCH 3/5] ASoC: audio-graph-card2: Update comment with renamed file path The "sound/soc/sh" directory has been renamed to "sound/soc/renesas". Update the comment in audio-graph-card2.c to reflect the new file path for better accuracy. Signed-off-by: Lad Prabhakar Acked-by: Kuninori Morimoto Link: https://patch.msgid.link/20241025150511.722040-4-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Mark Brown --- sound/soc/generic/audio-graph-card2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/generic/audio-graph-card2.c b/sound/soc/generic/audio-graph-card2.c index 4ad3d1b0714f..747afe7d6f34 100644 --- a/sound/soc/generic/audio-graph-card2.c +++ b/sound/soc/generic/audio-graph-card2.c @@ -50,7 +50,7 @@ snd_soc_runtime_get_dai_fmt() sample driver - linux/sound/soc/sh/rcar/core.c + linux/sound/soc/renesas/rcar/core.c linux/sound/soc/codecs/ak4613.c linux/sound/soc/codecs/pcm3168a.c linux/sound/soc/soc-utils.c From 3dc2c89473a43b1ab83a7f0196e41eb3145844d6 Mon Sep 17 00:00:00 2001 From: Lad Prabhakar Date: Fri, 25 Oct 2024 16:05:10 +0100 Subject: [PATCH 4/5] MAINTAINERS: Add entry for Renesas R-Car and FSI ASoC drivers Add a new entry to the MAINTAINERS file for Renesas R-CAR and FSI ASoC drivers. Signed-off-by: Lad Prabhakar Acked-by: Kuninori Morimoto Link: https://patch.msgid.link/20241025150511.722040-5-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Mark Brown --- MAINTAINERS | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 877b53abba49..674f14783552 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19667,6 +19667,17 @@ S: Maintained F: Documentation/devicetree/bindings/sound/renesas,idt821034.yaml F: sound/soc/codecs/idt821034.c +RENESAS R-CAR & FSI AUDIO (ASoC) DRIVERS +M: Kuninori Morimoto +L: linux-sound@vger.kernel.org +L: linux-renesas-soc@vger.kernel.org +S: Supported +F: Documentation/devicetree/bindings/sound/renesas,rsnd.* +F: Documentation/devicetree/bindings/sound/renesas,fsi.yaml +F: sound/soc/renesas/rcar/ +F: sound/soc/renesas/fsi.c +F: include/sound/sh_fsi.h + RENESAS R-CAR GEN3 & RZ/N1 NAND CONTROLLER DRIVER M: Miquel Raynal L: linux-mtd@lists.infradead.org From 8fc6907ee343336dc5ae75665883fdbf7e012d26 Mon Sep 17 00:00:00 2001 From: Lad Prabhakar Date: Fri, 25 Oct 2024 16:05:11 +0100 Subject: [PATCH 5/5] MAINTAINERS: Add entry for Renesas RZ ASoC driver Add a new entry to the MAINTAINERS file for Renesas RZ ASoC driver. Signed-off-by: Lad Prabhakar Acked-by: Biju Das Link: https://patch.msgid.link/20241025150511.722040-6-prabhakar.mahadev-lad.rj@bp.renesas.com Acked-by: Kuninori Morimoto Signed-off-by: Mark Brown --- MAINTAINERS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 674f14783552..a870d5798e81 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19726,6 +19726,15 @@ S: Supported F: Documentation/devicetree/bindings/i2c/renesas,riic.yaml F: drivers/i2c/busses/i2c-riic.c +RENESAS RZ AUDIO (ASoC) DRIVER +M: Biju Das +M: Lad Prabhakar +L: linux-sound@vger.kernel.org +L: linux-renesas-soc@vger.kernel.org +S: Supported +F: Documentation/devicetree/bindings/sound/renesas,rz-ssi.yaml +F: sound/soc/renesas/rz-ssi.c + RENESAS RZ/G2L A/D DRIVER M: Lad Prabhakar L: linux-iio@vger.kernel.org