diff options
Diffstat (limited to 'target/linux/gemini/patches-4.14/0002-pinctrl-gemini-Add-missing-functions.patch')
-rw-r--r-- | target/linux/gemini/patches-4.14/0002-pinctrl-gemini-Add-missing-functions.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/gemini/patches-4.14/0002-pinctrl-gemini-Add-missing-functions.patch b/target/linux/gemini/patches-4.14/0002-pinctrl-gemini-Add-missing-functions.patch new file mode 100644 index 0000000000..604fee469c --- /dev/null +++ b/target/linux/gemini/patches-4.14/0002-pinctrl-gemini-Add-missing-functions.patch @@ -0,0 +1,33 @@ +From fd7823e6993f440930e9cb85e56375be5823485c Mon Sep 17 00:00:00 2001 +From: Linus Walleij <linus.walleij@linaro.org> +Date: Sat, 14 Oct 2017 17:13:03 +0200 +Subject: [PATCH 02/31] 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> +--- + drivers/pinctrl/pinctrl-gemini.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +--- a/drivers/pinctrl/pinctrl-gemini.c ++++ b/drivers/pinctrl/pinctrl-gemini.c +@@ -2074,6 +2074,16 @@ static const struct gemini_pmx_func gemi + .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), |