* [PATCH 1/9] ASoC: mediatek: mt2701-cs42448: Register to module device table
2022-11-07 16:04 [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table Nícolas F. R. A. Prado
@ 2022-11-07 16:04 ` Nícolas F. R. A. Prado
2022-11-08 8:43 ` AngeloGioacchino Del Regno
2022-11-07 16:04 ` [PATCH 2/9] ASoC: mediatek: mt2701-wm8960: " Nícolas F. R. A. Prado
` (8 subsequent siblings)
9 siblings, 1 reply; 21+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-07 16:04 UTC (permalink / raw)
To: Mark Brown
Cc: AngeloGioacchino Del Regno, kernel, Nícolas F. R. A. Prado,
Jaroslav Kysela, Liam Girdwood, Matthias Brugger, Takashi Iwai,
alsa-devel, linux-arm-kernel, linux-kernel, linux-mediatek
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/mediatek/mt2701/mt2701-cs42448.c b/sound/soc/mediatek/mt2701/mt2701-cs42448.c
index d9fd6eb786aa..08ef109744c7 100644
--- a/sound/soc/mediatek/mt2701/mt2701-cs42448.c
+++ b/sound/soc/mediatek/mt2701/mt2701-cs42448.c
@@ -418,6 +418,7 @@ static const struct of_device_id mt2701_cs42448_machine_dt_match[] = {
{.compatible = "mediatek,mt2701-cs42448-machine",},
{}
};
+MODULE_DEVICE_TABLE(of, mt2701_cs42448_machine_dt_match);
#endif
static struct platform_driver mt2701_cs42448_machine = {
--
2.38.1
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [PATCH 1/9] ASoC: mediatek: mt2701-cs42448: Register to module device table
2022-11-07 16:04 ` [PATCH 1/9] ASoC: mediatek: mt2701-cs42448: Register " Nícolas F. R. A. Prado
@ 2022-11-08 8:43 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 21+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-11-08 8:43 UTC (permalink / raw)
To: Nícolas F. R. A. Prado, Mark Brown
Cc: kernel, Jaroslav Kysela, Liam Girdwood, Matthias Brugger,
Takashi Iwai, alsa-devel, linux-arm-kernel, linux-kernel,
linux-mediatek
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
> Register the compatibles for this module on the module device table so
> it can be automatically loaded when a matching device is found on the
> system.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 2/9] ASoC: mediatek: mt2701-wm8960: Register to module device table
2022-11-07 16:04 [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table Nícolas F. R. A. Prado
2022-11-07 16:04 ` [PATCH 1/9] ASoC: mediatek: mt2701-cs42448: Register " Nícolas F. R. A. Prado
@ 2022-11-07 16:04 ` Nícolas F. R. A. Prado
2022-11-08 8:43 ` AngeloGioacchino Del Regno
2022-11-07 16:04 ` [PATCH 3/9] ASoC: mediatek: mt6797-mt6351: " Nícolas F. R. A. Prado
` (7 subsequent siblings)
9 siblings, 1 reply; 21+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-07 16:04 UTC (permalink / raw)
To: Mark Brown
Cc: AngeloGioacchino Del Regno, kernel, Nícolas F. R. A. Prado,
Jaroslav Kysela, Liam Girdwood, Matthias Brugger, Miaoqian Lin,
Takashi Iwai, alsa-devel, linux-arm-kernel, linux-kernel,
linux-mediatek
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt2701/mt2701-wm8960.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/mediatek/mt2701/mt2701-wm8960.c b/sound/soc/mediatek/mt2701/mt2701-wm8960.c
index 0cdf2ae36243..a184032c15b6 100644
--- a/sound/soc/mediatek/mt2701/mt2701-wm8960.c
+++ b/sound/soc/mediatek/mt2701/mt2701-wm8960.c
@@ -161,6 +161,7 @@ static const struct of_device_id mt2701_wm8960_machine_dt_match[] = {
{.compatible = "mediatek,mt2701-wm8960-machine",},
{}
};
+MODULE_DEVICE_TABLE(of, mt2701_wm8960_machine_dt_match);
#endif
static struct platform_driver mt2701_wm8960_machine = {
--
2.38.1
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [PATCH 2/9] ASoC: mediatek: mt2701-wm8960: Register to module device table
2022-11-07 16:04 ` [PATCH 2/9] ASoC: mediatek: mt2701-wm8960: " Nícolas F. R. A. Prado
@ 2022-11-08 8:43 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 21+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-11-08 8:43 UTC (permalink / raw)
To: Nícolas F. R. A. Prado, Mark Brown
Cc: kernel, Jaroslav Kysela, Liam Girdwood, Matthias Brugger,
Miaoqian Lin, Takashi Iwai, alsa-devel, linux-arm-kernel,
linux-kernel, linux-mediatek
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
> Register the compatibles for this module on the module device table so
> it can be automatically loaded when a matching device is found on the
> system.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 3/9] ASoC: mediatek: mt6797-mt6351: Register to module device table
2022-11-07 16:04 [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table Nícolas F. R. A. Prado
2022-11-07 16:04 ` [PATCH 1/9] ASoC: mediatek: mt2701-cs42448: Register " Nícolas F. R. A. Prado
2022-11-07 16:04 ` [PATCH 2/9] ASoC: mediatek: mt2701-wm8960: " Nícolas F. R. A. Prado
@ 2022-11-07 16:04 ` Nícolas F. R. A. Prado
2022-11-08 8:43 ` AngeloGioacchino Del Regno
2022-11-07 16:04 ` [PATCH 4/9] ASoC: mediatek: mt8183-da7219: " Nícolas F. R. A. Prado
` (6 subsequent siblings)
9 siblings, 1 reply; 21+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-07 16:04 UTC (permalink / raw)
To: Mark Brown
Cc: AngeloGioacchino Del Regno, kernel, Nícolas F. R. A. Prado,
Jaroslav Kysela, Liam Girdwood, Matthias Brugger, Miaoqian Lin,
Takashi Iwai, alsa-devel, linux-arm-kernel, linux-kernel,
linux-mediatek
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt6797/mt6797-mt6351.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
index d2f6213a6bfc..784c201b8fd4 100644
--- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c
+++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
@@ -242,6 +242,7 @@ static const struct of_device_id mt6797_mt6351_dt_match[] = {
{.compatible = "mediatek,mt6797-mt6351-sound",},
{}
};
+MODULE_DEVICE_TABLE(of, mt6797_mt6351_dt_match);
#endif
static struct platform_driver mt6797_mt6351_driver = {
--
2.38.1
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [PATCH 3/9] ASoC: mediatek: mt6797-mt6351: Register to module device table
2022-11-07 16:04 ` [PATCH 3/9] ASoC: mediatek: mt6797-mt6351: " Nícolas F. R. A. Prado
@ 2022-11-08 8:43 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 21+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-11-08 8:43 UTC (permalink / raw)
To: Nícolas F. R. A. Prado, Mark Brown
Cc: kernel, Jaroslav Kysela, Liam Girdwood, Matthias Brugger,
Miaoqian Lin, Takashi Iwai, alsa-devel, linux-arm-kernel,
linux-kernel, linux-mediatek
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
> Register the compatibles for this module on the module device table so
> it can be automatically loaded when a matching device is found on the
> system.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 4/9] ASoC: mediatek: mt8183-da7219: Register to module device table
2022-11-07 16:04 [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table Nícolas F. R. A. Prado
` (2 preceding siblings ...)
2022-11-07 16:04 ` [PATCH 3/9] ASoC: mediatek: mt6797-mt6351: " Nícolas F. R. A. Prado
@ 2022-11-07 16:04 ` Nícolas F. R. A. Prado
2022-11-07 16:04 ` [PATCH 5/9] ASoC: mediatek: mt8183-mt6358: " Nícolas F. R. A. Prado
` (5 subsequent siblings)
9 siblings, 0 replies; 21+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-07 16:04 UTC (permalink / raw)
To: Mark Brown
Cc: AngeloGioacchino Del Regno, kernel, Nícolas F. R. A. Prado,
Akihiko Odaki, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
Matthias Brugger, Miaoqian Lin, Takashi Iwai, Tzung-Bi Shih,
alsa-devel, linux-arm-kernel, linux-kernel, linux-mediatek
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
index 9f22d3939818..0e572fe28c58 100644
--- a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
+++ b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
@@ -842,6 +842,7 @@ static const struct of_device_id mt8183_da7219_max98357_dt_match[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, mt8183_da7219_max98357_dt_match);
#endif
static struct platform_driver mt8183_da7219_max98357_driver = {
--
2.38.1
^ permalink raw reply [flat|nested] 21+ messages in thread* [PATCH 5/9] ASoC: mediatek: mt8183-mt6358: Register to module device table
2022-11-07 16:04 [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table Nícolas F. R. A. Prado
` (3 preceding siblings ...)
2022-11-07 16:04 ` [PATCH 4/9] ASoC: mediatek: mt8183-da7219: " Nícolas F. R. A. Prado
@ 2022-11-07 16:04 ` Nícolas F. R. A. Prado
2022-11-08 11:01 ` Chen-Yu Tsai
2022-11-07 16:04 ` [PATCH 6/9] ASoC: mediatek: mt8186-da7219: " Nícolas F. R. A. Prado
` (4 subsequent siblings)
9 siblings, 1 reply; 21+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-07 16:04 UTC (permalink / raw)
To: Mark Brown
Cc: AngeloGioacchino Del Regno, kernel, Nícolas F. R. A. Prado,
Akihiko Odaki, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
Matthias Brugger, Takashi Iwai, Tzung-Bi Shih, alsa-devel,
linux-arm-kernel, linux-kernel, linux-mediatek
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c b/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
index a86085223677..8fb473543cf9 100644
--- a/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
+++ b/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
@@ -835,6 +835,7 @@ static const struct of_device_id mt8183_mt6358_ts3a227_max98357_dt_match[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, mt8183_mt6358_ts3a227_max98357_dt_match);
#endif
static struct platform_driver mt8183_mt6358_ts3a227_max98357_driver = {
--
2.38.1
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [PATCH 5/9] ASoC: mediatek: mt8183-mt6358: Register to module device table
2022-11-07 16:04 ` [PATCH 5/9] ASoC: mediatek: mt8183-mt6358: " Nícolas F. R. A. Prado
@ 2022-11-08 11:01 ` Chen-Yu Tsai
0 siblings, 0 replies; 21+ messages in thread
From: Chen-Yu Tsai @ 2022-11-08 11:01 UTC (permalink / raw)
To: Nícolas F. R. A. Prado
Cc: Mark Brown, AngeloGioacchino Del Regno, kernel, Akihiko Odaki,
Jaroslav Kysela, Jiaxin Yu, Liam Girdwood, Matthias Brugger,
Takashi Iwai, Tzung-Bi Shih, alsa-devel, linux-arm-kernel,
linux-kernel, linux-mediatek
On Tue, Nov 8, 2022 at 12:06 AM Nícolas F. R. A. Prado
<nfraprado@collabora.com> wrote:
>
> Register the compatibles for this module on the module device table so
> it can be automatically loaded when a matching device is found on the
> system.
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 6/9] ASoC: mediatek: mt8186-da7219: Register to module device table
2022-11-07 16:04 [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table Nícolas F. R. A. Prado
` (4 preceding siblings ...)
2022-11-07 16:04 ` [PATCH 5/9] ASoC: mediatek: mt8183-mt6358: " Nícolas F. R. A. Prado
@ 2022-11-07 16:04 ` Nícolas F. R. A. Prado
2022-11-08 8:43 ` AngeloGioacchino Del Regno
2022-11-07 16:04 ` [PATCH 7/9] ASoC: mediatek: mt8186-rt5682: " Nícolas F. R. A. Prado
` (3 subsequent siblings)
9 siblings, 1 reply; 21+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-07 16:04 UTC (permalink / raw)
To: Mark Brown
Cc: AngeloGioacchino Del Regno, kernel, Nícolas F. R. A. Prado,
Jaroslav Kysela, Jiaxin Yu, Liam Girdwood, Matthias Brugger,
Takashi Iwai, alsa-devel, chunxu.li, linux-arm-kernel,
linux-kernel, linux-mediatek
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c b/sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c
index cfca6bdee834..08ff57f7189c 100644
--- a/sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c
+++ b/sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c
@@ -1161,6 +1161,7 @@ static const struct of_device_id mt8186_mt6366_da7219_max98357_dt_match[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, mt8186_mt6366_da7219_max98357_dt_match);
#endif
static struct platform_driver mt8186_mt6366_da7219_max98357_driver = {
--
2.38.1
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [PATCH 6/9] ASoC: mediatek: mt8186-da7219: Register to module device table
2022-11-07 16:04 ` [PATCH 6/9] ASoC: mediatek: mt8186-da7219: " Nícolas F. R. A. Prado
@ 2022-11-08 8:43 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 21+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-11-08 8:43 UTC (permalink / raw)
To: Nícolas F. R. A. Prado, Mark Brown
Cc: kernel, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
Matthias Brugger, Takashi Iwai, alsa-devel, chunxu.li,
linux-arm-kernel, linux-kernel, linux-mediatek
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
> Register the compatibles for this module on the module device table so
> it can be automatically loaded when a matching device is found on the
> system.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 7/9] ASoC: mediatek: mt8186-rt5682: Register to module device table
2022-11-07 16:04 [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table Nícolas F. R. A. Prado
` (5 preceding siblings ...)
2022-11-07 16:04 ` [PATCH 6/9] ASoC: mediatek: mt8186-da7219: " Nícolas F. R. A. Prado
@ 2022-11-07 16:04 ` Nícolas F. R. A. Prado
2022-11-08 8:43 ` AngeloGioacchino Del Regno
2022-11-07 16:04 ` [PATCH 8/9] ASoC: mediatek: mt8192-mt6359: " Nícolas F. R. A. Prado
` (2 subsequent siblings)
9 siblings, 1 reply; 21+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-07 16:04 UTC (permalink / raw)
To: Mark Brown
Cc: AngeloGioacchino Del Regno, kernel, Nícolas F. R. A. Prado,
Ajye Huang, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
Matthias Brugger, Takashi Iwai, alsa-devel, chunxu.li,
linux-arm-kernel, linux-kernel, linux-mediatek
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c b/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c
index 16d834f3153d..e59d92e2afa3 100644
--- a/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c
+++ b/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c
@@ -1237,6 +1237,7 @@ static const struct of_device_id mt8186_mt6366_rt1019_rt5682s_dt_match[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, mt8186_mt6366_rt1019_rt5682s_dt_match);
#endif
static struct platform_driver mt8186_mt6366_rt1019_rt5682s_driver = {
--
2.38.1
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [PATCH 7/9] ASoC: mediatek: mt8186-rt5682: Register to module device table
2022-11-07 16:04 ` [PATCH 7/9] ASoC: mediatek: mt8186-rt5682: " Nícolas F. R. A. Prado
@ 2022-11-08 8:43 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 21+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-11-08 8:43 UTC (permalink / raw)
To: Nícolas F. R. A. Prado, Mark Brown
Cc: kernel, Ajye Huang, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
Matthias Brugger, Takashi Iwai, alsa-devel, chunxu.li,
linux-arm-kernel, linux-kernel, linux-mediatek
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
> Register the compatibles for this module on the module device table so
> it can be automatically loaded when a matching device is found on the
> system.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 8/9] ASoC: mediatek: mt8192-mt6359: Register to module device table
2022-11-07 16:04 [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table Nícolas F. R. A. Prado
` (6 preceding siblings ...)
2022-11-07 16:04 ` [PATCH 7/9] ASoC: mediatek: mt8186-rt5682: " Nícolas F. R. A. Prado
@ 2022-11-07 16:04 ` Nícolas F. R. A. Prado
2022-11-08 8:43 ` AngeloGioacchino Del Regno
2022-11-07 16:04 ` [PATCH 9/9] ASoC: mediatek: mt8195-mt6359: " Nícolas F. R. A. Prado
2022-11-08 10:35 ` [PATCH 0/9] ASoC: mediatek: Register machine drivers " Chen-Yu Tsai
9 siblings, 1 reply; 21+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-07 16:04 UTC (permalink / raw)
To: Mark Brown
Cc: AngeloGioacchino Del Regno, kernel, Nícolas F. R. A. Prado,
Akihiko Odaki, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
Matthias Brugger, Miaoqian Lin, Takashi Iwai, Tzung-Bi Shih,
alsa-devel, linux-arm-kernel, linux-kernel, linux-mediatek
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c b/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c
index b93c3237ef2d..16660eda577e 100644
--- a/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c
+++ b/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c
@@ -1261,6 +1261,7 @@ static const struct of_device_id mt8192_mt6359_dt_match[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, mt8192_mt6359_dt_match);
#endif
static const struct dev_pm_ops mt8192_mt6359_pm_ops = {
--
2.38.1
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [PATCH 8/9] ASoC: mediatek: mt8192-mt6359: Register to module device table
2022-11-07 16:04 ` [PATCH 8/9] ASoC: mediatek: mt8192-mt6359: " Nícolas F. R. A. Prado
@ 2022-11-08 8:43 ` AngeloGioacchino Del Regno
2022-11-08 11:03 ` Chen-Yu Tsai
0 siblings, 1 reply; 21+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-11-08 8:43 UTC (permalink / raw)
To: Nícolas F. R. A. Prado, Mark Brown
Cc: kernel, Akihiko Odaki, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
Matthias Brugger, Miaoqian Lin, Takashi Iwai, Tzung-Bi Shih,
alsa-devel, linux-arm-kernel, linux-kernel, linux-mediatek
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
> Register the compatibles for this module on the module device table so
> it can be automatically loaded when a matching device is found on the
> system.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 8/9] ASoC: mediatek: mt8192-mt6359: Register to module device table
2022-11-08 8:43 ` AngeloGioacchino Del Regno
@ 2022-11-08 11:03 ` Chen-Yu Tsai
0 siblings, 0 replies; 21+ messages in thread
From: Chen-Yu Tsai @ 2022-11-08 11:03 UTC (permalink / raw)
To: AngeloGioacchino Del Regno
Cc: Nícolas F. R. A. Prado, Mark Brown, kernel, Akihiko Odaki,
Jaroslav Kysela, Jiaxin Yu, Liam Girdwood, Matthias Brugger,
Miaoqian Lin, Takashi Iwai, Tzung-Bi Shih, alsa-devel,
linux-arm-kernel, linux-kernel, linux-mediatek
On Tue, Nov 8, 2022 at 4:44 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com> wrote:
>
> Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
> > Register the compatibles for this module on the module device table so
> > it can be automatically loaded when a matching device is found on the
> > system.
> >
> > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 9/9] ASoC: mediatek: mt8195-mt6359: Register to module device table
2022-11-07 16:04 [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table Nícolas F. R. A. Prado
` (7 preceding siblings ...)
2022-11-07 16:04 ` [PATCH 8/9] ASoC: mediatek: mt8192-mt6359: " Nícolas F. R. A. Prado
@ 2022-11-07 16:04 ` Nícolas F. R. A. Prado
2022-11-08 8:43 ` AngeloGioacchino Del Regno
2022-11-08 10:35 ` [PATCH 0/9] ASoC: mediatek: Register machine drivers " Chen-Yu Tsai
9 siblings, 1 reply; 21+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-11-07 16:04 UTC (permalink / raw)
To: Mark Brown
Cc: AngeloGioacchino Del Regno, kernel, Nícolas F. R. A. Prado,
Jaroslav Kysela, Liam Girdwood, Matthias Brugger, Takashi Iwai,
Trevor Wu, Tzung-Bi Shih, alsa-devel, linux-arm-kernel,
linux-kernel, linux-mediatek
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt8195/mt8195-mt6359.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/mediatek/mt8195/mt8195-mt6359.c b/sound/soc/mediatek/mt8195/mt8195-mt6359.c
index 480ed3e08d5b..61be66f47723 100644
--- a/sound/soc/mediatek/mt8195/mt8195-mt6359.c
+++ b/sound/soc/mediatek/mt8195/mt8195-mt6359.c
@@ -1544,6 +1544,7 @@ static const struct of_device_id mt8195_mt6359_dt_match[] = {
},
{},
};
+MODULE_DEVICE_TABLE(of, mt8195_mt6359_dt_match);
static struct platform_driver mt8195_mt6359_driver = {
.driver = {
--
2.38.1
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [PATCH 9/9] ASoC: mediatek: mt8195-mt6359: Register to module device table
2022-11-07 16:04 ` [PATCH 9/9] ASoC: mediatek: mt8195-mt6359: " Nícolas F. R. A. Prado
@ 2022-11-08 8:43 ` AngeloGioacchino Del Regno
2022-11-08 11:09 ` Chen-Yu Tsai
0 siblings, 1 reply; 21+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-11-08 8:43 UTC (permalink / raw)
To: Nícolas F. R. A. Prado, Mark Brown
Cc: kernel, Jaroslav Kysela, Liam Girdwood, Matthias Brugger,
Takashi Iwai, Trevor Wu, Tzung-Bi Shih, alsa-devel,
linux-arm-kernel, linux-kernel, linux-mediatek
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
> Register the compatibles for this module on the module device table so
> it can be automatically loaded when a matching device is found on the
> system.
>
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 9/9] ASoC: mediatek: mt8195-mt6359: Register to module device table
2022-11-08 8:43 ` AngeloGioacchino Del Regno
@ 2022-11-08 11:09 ` Chen-Yu Tsai
0 siblings, 0 replies; 21+ messages in thread
From: Chen-Yu Tsai @ 2022-11-08 11:09 UTC (permalink / raw)
To: AngeloGioacchino Del Regno
Cc: Nícolas F. R. A. Prado, Mark Brown, kernel, Jaroslav Kysela,
Liam Girdwood, Matthias Brugger, Takashi Iwai, Trevor Wu,
Tzung-Bi Shih, alsa-devel, linux-arm-kernel, linux-kernel,
linux-mediatek
On Tue, Nov 8, 2022 at 4:43 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com> wrote:
>
> Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto:
> > Register the compatibles for this module on the module device table so
> > it can be automatically loaded when a matching device is found on the
> > system.
> >
> > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
The module was automatically loaded.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table
2022-11-07 16:04 [PATCH 0/9] ASoC: mediatek: Register machine drivers to module device table Nícolas F. R. A. Prado
` (8 preceding siblings ...)
2022-11-07 16:04 ` [PATCH 9/9] ASoC: mediatek: mt8195-mt6359: " Nícolas F. R. A. Prado
@ 2022-11-08 10:35 ` Chen-Yu Tsai
9 siblings, 0 replies; 21+ messages in thread
From: Chen-Yu Tsai @ 2022-11-08 10:35 UTC (permalink / raw)
To: Nícolas F. R. A. Prado
Cc: Mark Brown, AngeloGioacchino Del Regno, kernel, Ajye Huang,
Akihiko Odaki, Jaroslav Kysela, Jiaxin Yu, Liam Girdwood,
Matthias Brugger, Miaoqian Lin, Takashi Iwai, Trevor Wu,
Tzung-Bi Shih, alsa-devel, chunxu.li, linux-arm-kernel,
linux-kernel, linux-mediatek
On Tue, Nov 8, 2022 at 12:05 AM Nícolas F. R. A. Prado
<nfraprado@collabora.com> wrote:
>
>
> Some ASoC machine drivers for MediaTek platforms were not being
> registered to the module device table, preventing them to be
> automatically loaded when built as modules. This series adds the missing
> registration to the drivers.
>
>
> Nícolas F. R. A. Prado (9):
> ASoC: mediatek: mt2701-cs42448: Register to module device table
> ASoC: mediatek: mt2701-wm8960: Register to module device table
> ASoC: mediatek: mt6797-mt6351: Register to module device table
> ASoC: mediatek: mt8183-da7219: Register to module device table
> ASoC: mediatek: mt8183-mt6358: Register to module device table
> ASoC: mediatek: mt8186-da7219: Register to module device table
> ASoC: mediatek: mt8186-rt5682: Register to module device table
> ASoC: mediatek: mt8192-mt6359: Register to module device table
> ASoC: mediatek: mt8195-mt6359: Register to module device table
Thanks! This was on my TODO list. Whole series is
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
^ permalink raw reply [flat|nested] 21+ messages in thread