Browse Source

pinctrl: gemini: Add missing functions

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>
Linus Walleij 8 years ago
parent
commit
89aab2d6a7
1 changed files with 10 additions and 0 deletions
  1. 10 0
      drivers/pinctrl/pinctrl-gemini.c

+ 10 - 0
drivers/pinctrl/pinctrl-gemini.c

@@ -2073,6 +2073,16 @@ static const struct gemini_pmx_func gemini_pmx_functions[] = {
 		.groups = satagrps,
 		.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,