diff mbox series

[1/4] pinctrl: gemini: Add missing functions

Message ID 20171028133719.27528-1-linus.walleij@linaro.org
State New
Headers show
Series [1/4] pinctrl: gemini: Add missing functions | expand

Commit Message

Linus Walleij Oct. 28, 2017, 1:37 p.m. UTC
Some two functions were missing from the Gemini pin control
driver. Noticed when trying to use ethernet. Fix it up by
adding them.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/pinctrl/pinctrl-gemini.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.13.6

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Hans Ulli Kroll Nov. 1, 2017, 5:55 a.m. UTC | #1
Hi Linus

On Sat, 28 Oct 2017, Linus Walleij wrote:

> Some two functions were missing from the Gemini pin control

> driver. Noticed when trying to use ethernet. Fix it up by

> adding them.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---


Acked-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>


--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/drivers/pinctrl/pinctrl-gemini.c b/drivers/pinctrl/pinctrl-gemini.c
index 39e6221e7100..7ffd768c0e02 100644
--- a/drivers/pinctrl/pinctrl-gemini.c
+++ b/drivers/pinctrl/pinctrl-gemini.c
@@ -2074,6 +2074,16 @@  static const struct gemini_pmx_func gemini_pmx_functions[] = {
 		.num_groups = ARRAY_SIZE(satagrps),
 	},
 	{
+		.name = "usb",
+		.groups = usbgrps,
+		.num_groups = ARRAY_SIZE(usbgrps),
+	},
+	{
+		.name = "gmii",
+		.groups = gmiigrps,
+		.num_groups = ARRAY_SIZE(gmiigrps),
+	},
+	{
 		.name = "pci",
 		.groups = pcigrps,
 		.num_groups = ARRAY_SIZE(pcigrps),