All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] pinctrl: ocelot: add help and description information to ocelot pinctrl kconfig
@ 2022-09-09 15:38 Colin Foster
  2022-09-14 12:26 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Foster @ 2022-09-09 15:38 UTC (permalink / raw)
  To: linux-kernel, linux-gpio
  Cc: Linus Walleij, Florian Fainelli, Vladimir Oltean, Andy Shevchenko

Add missed help information and module export name to the Microsemi Ocelot
and Jaguar2 SoC.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
---

v1:
There was a race to get pinctrl-ocelot able to be used as a module. I
lost the race to v6.0-rc1, but still have this reviewed patch with
documentation following me around - I figure I might as well submit
this.

The last patch submission (with reviewed tags) was here:
https://patchwork.kernel.org/project/netdevbpf/patch/20220803054728.1541104-4-colin.foster@in-advantage.com/

---
 drivers/pinctrl/Kconfig          | 5 +++++
 drivers/pinctrl/pinctrl-ocelot.c | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index d768dcf75cf1..50815f126595 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -324,6 +324,11 @@ config PINCTRL_OCELOT
 	select GENERIC_PINMUX_FUNCTIONS
 	select OF_GPIO
 	select REGMAP_MMIO
+	help
+	  Support for the internal GPIO interfaces on Microsemi Ocelot and
+	  Jaguar2 SoCs.
+
+	  If conpiled as a module, the module name will be pinctrl-ocelot.
 
 config PINCTRL_OXNAS
 	bool
diff --git a/drivers/pinctrl/pinctrl-ocelot.c b/drivers/pinctrl/pinctrl-ocelot.c
index 340ca2373429..f635743a639d 100644
--- a/drivers/pinctrl/pinctrl-ocelot.c
+++ b/drivers/pinctrl/pinctrl-ocelot.c
@@ -2046,4 +2046,6 @@ static struct platform_driver ocelot_pinctrl_driver = {
 	.probe = ocelot_pinctrl_probe,
 };
 module_platform_driver(ocelot_pinctrl_driver);
+
+MODULE_DESCRIPTION("Ocelot Chip Pinctrl Driver");
 MODULE_LICENSE("Dual MIT/GPL");
-- 
2.25.1


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

* Re: [PATCH v1] pinctrl: ocelot: add help and description information to ocelot pinctrl kconfig
  2022-09-09 15:38 [PATCH v1] pinctrl: ocelot: add help and description information to ocelot pinctrl kconfig Colin Foster
@ 2022-09-14 12:26 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2022-09-14 12:26 UTC (permalink / raw)
  To: Colin Foster
  Cc: linux-kernel, linux-gpio, Florian Fainelli, Vladimir Oltean,
	Andy Shevchenko

On Fri, Sep 9, 2022 at 5:38 PM Colin Foster
<colin.foster@in-advantage.com> wrote:

> Add missed help information and module export name to the Microsemi Ocelot
> and Jaguar2 SoC.
>
> Signed-off-by: Colin Foster <colin.foster@in-advantage.com>

Patch applied.

Yours,
Linus Walleij

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

end of thread, other threads:[~2022-09-14 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09 15:38 [PATCH v1] pinctrl: ocelot: add help and description information to ocelot pinctrl kconfig Colin Foster
2022-09-14 12:26 ` Linus Walleij

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.