All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] pinctrl: freescale: imx8ulp: fix module autoloading
@ 2024-04-10 17:01 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:01 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.  Pin controllers are
considered core components, so usually they are built-in, however these
can be built and used as modules on some generic kernel.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pinctrl/freescale/pinctrl-imx8ulp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/freescale/pinctrl-imx8ulp.c b/drivers/pinctrl/freescale/pinctrl-imx8ulp.c
index 2e86ca9fc7ac..5632c7285147 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx8ulp.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx8ulp.c
@@ -252,6 +252,7 @@ static const struct of_device_id imx8ulp_pinctrl_of_match[] = {
 	{ .compatible = "fsl,imx8ulp-iomuxc1", },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, imx8ulp_pinctrl_of_match);
 
 static int imx8ulp_pinctrl_probe(struct platform_device *pdev)
 {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 1/5] pinctrl: freescale: imx8ulp: fix module autoloading
@ 2024-04-10 17:01 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:01 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.  Pin controllers are
considered core components, so usually they are built-in, however these
can be built and used as modules on some generic kernel.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pinctrl/freescale/pinctrl-imx8ulp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/freescale/pinctrl-imx8ulp.c b/drivers/pinctrl/freescale/pinctrl-imx8ulp.c
index 2e86ca9fc7ac..5632c7285147 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx8ulp.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx8ulp.c
@@ -252,6 +252,7 @@ static const struct of_device_id imx8ulp_pinctrl_of_match[] = {
 	{ .compatible = "fsl,imx8ulp-iomuxc1", },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, imx8ulp_pinctrl_of_match);
 
 static int imx8ulp_pinctrl_probe(struct platform_device *pdev)
 {
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 2/5] pinctrl: mediatek: fix module autoloading
  2024-04-10 17:01 ` Krzysztof Kozlowski
@ 2024-04-10 17:01   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:01 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.  Pin controllers are
considered core components, so usually they are built-in, however these
can be built and used as modules on some generic kernel.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pinctrl/mediatek/pinctrl-mt6765.c | 1 +
 drivers/pinctrl/mediatek/pinctrl-mt6779.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6765.c b/drivers/pinctrl/mediatek/pinctrl-mt6765.c
index f6ec41eb6e0c..72609cf74760 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt6765.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt6765.c
@@ -1086,6 +1086,7 @@ static const struct of_device_id mt6765_pinctrl_of_match[] = {
 	{ .compatible = "mediatek,mt6765-pinctrl", .data = &mt6765_data },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, mt6765_pinctrl_of_match);
 
 static struct platform_driver mt6765_pinctrl_driver = {
 	.driver = {
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6779.c b/drivers/pinctrl/mediatek/pinctrl-mt6779.c
index 62d4f5ad6737..591905e4132a 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt6779.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt6779.c
@@ -762,6 +762,7 @@ static const struct of_device_id mt6779_pinctrl_of_match[] = {
 	{ .compatible = "mediatek,mt6779-pinctrl", .data = &mt6779_data },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, mt6779_pinctrl_of_match);
 
 static struct platform_driver mt6779_pinctrl_driver = {
 	.driver = {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 2/5] pinctrl: mediatek: fix module autoloading
@ 2024-04-10 17:01   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:01 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.  Pin controllers are
considered core components, so usually they are built-in, however these
can be built and used as modules on some generic kernel.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pinctrl/mediatek/pinctrl-mt6765.c | 1 +
 drivers/pinctrl/mediatek/pinctrl-mt6779.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6765.c b/drivers/pinctrl/mediatek/pinctrl-mt6765.c
index f6ec41eb6e0c..72609cf74760 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt6765.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt6765.c
@@ -1086,6 +1086,7 @@ static const struct of_device_id mt6765_pinctrl_of_match[] = {
 	{ .compatible = "mediatek,mt6765-pinctrl", .data = &mt6765_data },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, mt6765_pinctrl_of_match);
 
 static struct platform_driver mt6765_pinctrl_driver = {
 	.driver = {
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6779.c b/drivers/pinctrl/mediatek/pinctrl-mt6779.c
index 62d4f5ad6737..591905e4132a 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt6779.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt6779.c
@@ -762,6 +762,7 @@ static const struct of_device_id mt6779_pinctrl_of_match[] = {
 	{ .compatible = "mediatek,mt6779-pinctrl", .data = &mt6779_data },
 	{ }
 };
+MODULE_DEVICE_TABLE(of, mt6779_pinctrl_of_match);
 
 static struct platform_driver mt6779_pinctrl_driver = {
 	.driver = {
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 3/5] pinctrl: loongson2: fix module autoloading
  2024-04-10 17:01 ` Krzysztof Kozlowski
@ 2024-04-10 17:01   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:01 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.  Pin controllers are
considered core components, so usually they are built-in, however these
can be built and used as modules on some generic kernel.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pinctrl/pinctrl-loongson2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-loongson2.c b/drivers/pinctrl/pinctrl-loongson2.c
index a72ffeca26fb..4d4fbeadafb7 100644
--- a/drivers/pinctrl/pinctrl-loongson2.c
+++ b/drivers/pinctrl/pinctrl-loongson2.c
@@ -286,6 +286,7 @@ static const struct of_device_id loongson2_pinctrl_dt_match[] = {
 	},
 	{ }
 };
+MODULE_DEVICE_TABLE(of, loongson2_pinctrl_dt_match);
 
 static struct platform_driver loongson2_pinctrl_driver = {
 	.probe		= loongson2_pinctrl_probe,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 3/5] pinctrl: loongson2: fix module autoloading
@ 2024-04-10 17:01   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:01 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.  Pin controllers are
considered core components, so usually they are built-in, however these
can be built and used as modules on some generic kernel.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pinctrl/pinctrl-loongson2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-loongson2.c b/drivers/pinctrl/pinctrl-loongson2.c
index a72ffeca26fb..4d4fbeadafb7 100644
--- a/drivers/pinctrl/pinctrl-loongson2.c
+++ b/drivers/pinctrl/pinctrl-loongson2.c
@@ -286,6 +286,7 @@ static const struct of_device_id loongson2_pinctrl_dt_match[] = {
 	},
 	{ }
 };
+MODULE_DEVICE_TABLE(of, loongson2_pinctrl_dt_match);
 
 static struct platform_driver loongson2_pinctrl_driver = {
 	.probe		= loongson2_pinctrl_probe,
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 4/5] pinctrl: qcom: sm7150: fix module autoloading
  2024-04-10 17:01 ` Krzysztof Kozlowski
@ 2024-04-10 17:01   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:01 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.  Pin controllers are
considered core components, so usually they are built-in, however these
can be built and used as modules on some generic kernel.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pinctrl/qcom/pinctrl-sm7150.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/qcom/pinctrl-sm7150.c b/drivers/pinctrl/qcom/pinctrl-sm7150.c
index c25357ca1963..c542f9bc6bcd 100644
--- a/drivers/pinctrl/qcom/pinctrl-sm7150.c
+++ b/drivers/pinctrl/qcom/pinctrl-sm7150.c
@@ -1246,6 +1246,7 @@ static const struct of_device_id sm7150_tlmm_of_match[] = {
 	{ .compatible = "qcom,sm7150-tlmm", },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, sm7150_tlmm_of_match);
 
 static struct platform_driver sm7150_tlmm_driver = {
 	.driver = {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 4/5] pinctrl: qcom: sm7150: fix module autoloading
@ 2024-04-10 17:01   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:01 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.  Pin controllers are
considered core components, so usually they are built-in, however these
can be built and used as modules on some generic kernel.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pinctrl/qcom/pinctrl-sm7150.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/qcom/pinctrl-sm7150.c b/drivers/pinctrl/qcom/pinctrl-sm7150.c
index c25357ca1963..c542f9bc6bcd 100644
--- a/drivers/pinctrl/qcom/pinctrl-sm7150.c
+++ b/drivers/pinctrl/qcom/pinctrl-sm7150.c
@@ -1246,6 +1246,7 @@ static const struct of_device_id sm7150_tlmm_of_match[] = {
 	{ .compatible = "qcom,sm7150-tlmm", },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, sm7150_tlmm_of_match);
 
 static struct platform_driver sm7150_tlmm_driver = {
 	.driver = {
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 5/5] pinctrl: realtek: fix module autoloading
  2024-04-10 17:01 ` Krzysztof Kozlowski
@ 2024-04-10 17:01   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:01 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.  Pin controllers are
considered core components, so usually they are built-in, however these

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pinctrl/realtek/pinctrl-rtd1315e.c | 1 +
 drivers/pinctrl/realtek/pinctrl-rtd1319d.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/pinctrl/realtek/pinctrl-rtd1315e.c b/drivers/pinctrl/realtek/pinctrl-rtd1315e.c
index 10afc736a52b..86f919122bed 100644
--- a/drivers/pinctrl/realtek/pinctrl-rtd1315e.c
+++ b/drivers/pinctrl/realtek/pinctrl-rtd1315e.c
@@ -1414,6 +1414,7 @@ static const struct of_device_id rtd1315e_pinctrl_of_match[] = {
 	{ .compatible = "realtek,rtd1315e-pinctrl", },
 	{},
 };
+MODULE_DEVICE_TABLE(of, rtd1315e_pinctrl_of_match);
 
 static struct platform_driver rtd1315e_pinctrl_driver = {
 	.driver = {
diff --git a/drivers/pinctrl/realtek/pinctrl-rtd1319d.c b/drivers/pinctrl/realtek/pinctrl-rtd1319d.c
index b1a654ac30dc..474c337d2d05 100644
--- a/drivers/pinctrl/realtek/pinctrl-rtd1319d.c
+++ b/drivers/pinctrl/realtek/pinctrl-rtd1319d.c
@@ -1584,6 +1584,7 @@ static const struct of_device_id rtd1319d_pinctrl_of_match[] = {
 	{ .compatible = "realtek,rtd1319d-pinctrl", },
 	{},
 };
+MODULE_DEVICE_TABLE(of, rtd1319d_pinctrl_of_match);
 
 static struct platform_driver rtd1319d_pinctrl_driver = {
 	.driver = {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 5/5] pinctrl: realtek: fix module autoloading
@ 2024-04-10 17:01   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:01 UTC (permalink / raw)
  To: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.  Pin controllers are
considered core components, so usually they are built-in, however these

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pinctrl/realtek/pinctrl-rtd1315e.c | 1 +
 drivers/pinctrl/realtek/pinctrl-rtd1319d.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/pinctrl/realtek/pinctrl-rtd1315e.c b/drivers/pinctrl/realtek/pinctrl-rtd1315e.c
index 10afc736a52b..86f919122bed 100644
--- a/drivers/pinctrl/realtek/pinctrl-rtd1315e.c
+++ b/drivers/pinctrl/realtek/pinctrl-rtd1315e.c
@@ -1414,6 +1414,7 @@ static const struct of_device_id rtd1315e_pinctrl_of_match[] = {
 	{ .compatible = "realtek,rtd1315e-pinctrl", },
 	{},
 };
+MODULE_DEVICE_TABLE(of, rtd1315e_pinctrl_of_match);
 
 static struct platform_driver rtd1315e_pinctrl_driver = {
 	.driver = {
diff --git a/drivers/pinctrl/realtek/pinctrl-rtd1319d.c b/drivers/pinctrl/realtek/pinctrl-rtd1319d.c
index b1a654ac30dc..474c337d2d05 100644
--- a/drivers/pinctrl/realtek/pinctrl-rtd1319d.c
+++ b/drivers/pinctrl/realtek/pinctrl-rtd1319d.c
@@ -1584,6 +1584,7 @@ static const struct of_device_id rtd1319d_pinctrl_of_match[] = {
 	{ .compatible = "realtek,rtd1319d-pinctrl", },
 	{},
 };
+MODULE_DEVICE_TABLE(of, rtd1319d_pinctrl_of_match);
 
 static struct platform_driver rtd1319d_pinctrl_driver = {
 	.driver = {
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/5] pinctrl: qcom: sm7150: fix module autoloading
  2024-04-10 17:01   ` Krzysztof Kozlowski
@ 2024-04-10 17:51     ` Konrad Dybcio
  -1 siblings, 0 replies; 18+ messages in thread
From: Konrad Dybcio @ 2024-04-10 17:51 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Dong Aisheng, Fabio Estevam, Shawn Guo,
	Jacky Bai, Pengutronix Kernel Team, Linus Walleij, Sascha Hauer,
	Sean Wang, Matthias Brugger, AngeloGioacchino Del Regno,
	zhanghongchen, Yinbo Zhu, Bjorn Andersson, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm



On 4/10/24 19:01, Krzysztof Kozlowski wrote:
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.  Pin controllers are
> considered core components, so usually they are built-in, however these
> can be built and used as modules on some generic kernel.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/5] pinctrl: qcom: sm7150: fix module autoloading
@ 2024-04-10 17:51     ` Konrad Dybcio
  0 siblings, 0 replies; 18+ messages in thread
From: Konrad Dybcio @ 2024-04-10 17:51 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Dong Aisheng, Fabio Estevam, Shawn Guo,
	Jacky Bai, Pengutronix Kernel Team, Linus Walleij, Sascha Hauer,
	Sean Wang, Matthias Brugger, AngeloGioacchino Del Regno,
	zhanghongchen, Yinbo Zhu, Bjorn Andersson, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm



On 4/10/24 19:01, Krzysztof Kozlowski wrote:
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.  Pin controllers are
> considered core components, so usually they are built-in, however these
> can be built and used as modules on some generic kernel.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 5/5] pinctrl: realtek: fix module autoloading
  2024-04-10 17:01   ` Krzysztof Kozlowski
@ 2024-04-10 23:36     ` Fabio Estevam
  -1 siblings, 0 replies; 18+ messages in thread
From: Fabio Estevam @ 2024-04-10 23:36 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Dong Aisheng, Shawn Guo, Jacky Bai, Pengutronix Kernel Team,
	Linus Walleij, Sascha Hauer, Sean Wang, Matthias Brugger,
	AngeloGioacchino Del Regno, zhanghongchen, Yinbo Zhu,
	Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm

On Wed, Apr 10, 2024 at 2:02 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.  Pin controllers are
> considered core components, so usually they are built-in, however these

You forgot to complete the sentence.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 5/5] pinctrl: realtek: fix module autoloading
@ 2024-04-10 23:36     ` Fabio Estevam
  0 siblings, 0 replies; 18+ messages in thread
From: Fabio Estevam @ 2024-04-10 23:36 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Dong Aisheng, Shawn Guo, Jacky Bai, Pengutronix Kernel Team,
	Linus Walleij, Sascha Hauer, Sean Wang, Matthias Brugger,
	AngeloGioacchino Del Regno, zhanghongchen, Yinbo Zhu,
	Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm

On Wed, Apr 10, 2024 at 2:02 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.  Pin controllers are
> considered core components, so usually they are built-in, however these

You forgot to complete the sentence.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 5/5] pinctrl: realtek: fix module autoloading
  2024-04-10 23:36     ` Fabio Estevam
@ 2024-04-11  6:40       ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-11  6:40 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Dong Aisheng, Shawn Guo, Jacky Bai, Pengutronix Kernel Team,
	Linus Walleij, Sascha Hauer, Sean Wang, Matthias Brugger,
	AngeloGioacchino Del Regno, zhanghongchen, Yinbo Zhu,
	Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm

On 11/04/2024 01:36, Fabio Estevam wrote:
> On Wed, Apr 10, 2024 at 2:02 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
>> based on the alias from of_device_id table.  Pin controllers are
>> considered core components, so usually they are built-in, however these
> 
> You forgot to complete the sentence.

Yanked too little,
Yanked not enough,
Can cause a spittle,
From one's mouth.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 5/5] pinctrl: realtek: fix module autoloading
@ 2024-04-11  6:40       ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-11  6:40 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Dong Aisheng, Shawn Guo, Jacky Bai, Pengutronix Kernel Team,
	Linus Walleij, Sascha Hauer, Sean Wang, Matthias Brugger,
	AngeloGioacchino Del Regno, zhanghongchen, Yinbo Zhu,
	Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm

On 11/04/2024 01:36, Fabio Estevam wrote:
> On Wed, Apr 10, 2024 at 2:02 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
>> based on the alias from of_device_id table.  Pin controllers are
>> considered core components, so usually they are built-in, however these
> 
> You forgot to complete the sentence.

Yanked too little,
Yanked not enough,
Can cause a spittle,
From one's mouth.

Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/5] pinctrl: qcom: sm7150: fix module autoloading
  2024-04-10 17:01   ` Krzysztof Kozlowski
@ 2024-04-11 15:39     ` Bjorn Andersson
  -1 siblings, 0 replies; 18+ messages in thread
From: Bjorn Andersson @ 2024-04-11 15:39 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm

On Wed, Apr 10, 2024 at 07:01:49PM +0200, Krzysztof Kozlowski wrote:
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.  Pin controllers are
> considered core components, so usually they are built-in, however these
> can be built and used as modules on some generic kernel.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com>

Regards,
Bjorn

> ---
>  drivers/pinctrl/qcom/pinctrl-sm7150.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/pinctrl/qcom/pinctrl-sm7150.c b/drivers/pinctrl/qcom/pinctrl-sm7150.c
> index c25357ca1963..c542f9bc6bcd 100644
> --- a/drivers/pinctrl/qcom/pinctrl-sm7150.c
> +++ b/drivers/pinctrl/qcom/pinctrl-sm7150.c
> @@ -1246,6 +1246,7 @@ static const struct of_device_id sm7150_tlmm_of_match[] = {
>  	{ .compatible = "qcom,sm7150-tlmm", },
>  	{ },
>  };
> +MODULE_DEVICE_TABLE(of, sm7150_tlmm_of_match);
>  
>  static struct platform_driver sm7150_tlmm_driver = {
>  	.driver = {
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/5] pinctrl: qcom: sm7150: fix module autoloading
@ 2024-04-11 15:39     ` Bjorn Andersson
  0 siblings, 0 replies; 18+ messages in thread
From: Bjorn Andersson @ 2024-04-11 15:39 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Dong Aisheng, Fabio Estevam, Shawn Guo, Jacky Bai,
	Pengutronix Kernel Team, Linus Walleij, Sascha Hauer, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, zhanghongchen,
	Yinbo Zhu, Bjorn Andersson, Konrad Dybcio, linux-gpio, imx,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-arm-msm

On Wed, Apr 10, 2024 at 07:01:49PM +0200, Krzysztof Kozlowski wrote:
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.  Pin controllers are
> considered core components, so usually they are built-in, however these
> can be built and used as modules on some generic kernel.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com>

Regards,
Bjorn

> ---
>  drivers/pinctrl/qcom/pinctrl-sm7150.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/pinctrl/qcom/pinctrl-sm7150.c b/drivers/pinctrl/qcom/pinctrl-sm7150.c
> index c25357ca1963..c542f9bc6bcd 100644
> --- a/drivers/pinctrl/qcom/pinctrl-sm7150.c
> +++ b/drivers/pinctrl/qcom/pinctrl-sm7150.c
> @@ -1246,6 +1246,7 @@ static const struct of_device_id sm7150_tlmm_of_match[] = {
>  	{ .compatible = "qcom,sm7150-tlmm", },
>  	{ },
>  };
> +MODULE_DEVICE_TABLE(of, sm7150_tlmm_of_match);
>  
>  static struct platform_driver sm7150_tlmm_driver = {
>  	.driver = {
> -- 
> 2.34.1
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-04-11 15:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 17:01 [PATCH 1/5] pinctrl: freescale: imx8ulp: fix module autoloading Krzysztof Kozlowski
2024-04-10 17:01 ` Krzysztof Kozlowski
2024-04-10 17:01 ` [PATCH 2/5] pinctrl: mediatek: " Krzysztof Kozlowski
2024-04-10 17:01   ` Krzysztof Kozlowski
2024-04-10 17:01 ` [PATCH 3/5] pinctrl: loongson2: " Krzysztof Kozlowski
2024-04-10 17:01   ` Krzysztof Kozlowski
2024-04-10 17:01 ` [PATCH 4/5] pinctrl: qcom: sm7150: " Krzysztof Kozlowski
2024-04-10 17:01   ` Krzysztof Kozlowski
2024-04-10 17:51   ` Konrad Dybcio
2024-04-10 17:51     ` Konrad Dybcio
2024-04-11 15:39   ` Bjorn Andersson
2024-04-11 15:39     ` Bjorn Andersson
2024-04-10 17:01 ` [PATCH 5/5] pinctrl: realtek: " Krzysztof Kozlowski
2024-04-10 17:01   ` Krzysztof Kozlowski
2024-04-10 23:36   ` Fabio Estevam
2024-04-10 23:36     ` Fabio Estevam
2024-04-11  6:40     ` Krzysztof Kozlowski
2024-04-11  6:40       ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.