1 From 8d8cec9bf6e9260397872785f249dfb59a417d08 Mon Sep 17 00:00:00 2001
2 From: Ansuel Smith <ansuelsmth@gmail.com>
3 Date: Wed, 19 Feb 2020 18:59:39 +0100
4 Subject: ipq8064: pinctrl: Fixed missing RGMII pincontrol definitions
6 Add missing gpio definition for mdio and rgmii2.
8 Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
9 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
10 Link: https://lore.kernel.org/r/20200219175940.744-1-ansuelsmth@gmail.com
11 Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
12 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
14 drivers/pinctrl/qcom/pinctrl-ipq8064.c | 10 +++++-----
15 1 file changed, 5 insertions(+), 5 deletions(-)
17 --- a/drivers/pinctrl/qcom/pinctrl-ipq8064.c
18 +++ b/drivers/pinctrl/qcom/pinctrl-ipq8064.c
19 @@ -299,7 +299,7 @@ static const char * const gpio_groups[]
22 static const char * const mdio_groups[] = {
23 - "gpio0", "gpio1", "gpio10", "gpio11",
24 + "gpio0", "gpio1", "gpio2", "gpio10", "gpio11", "gpio66",
27 static const char * const mi2s_groups[] = {
28 @@ -403,8 +403,8 @@ static const char * const usb2_hsic_grou
31 static const char * const rgmii2_groups[] = {
32 - "gpio27", "gpio28", "gpio29", "gpio30", "gpio31", "gpio32",
33 - "gpio51", "gpio52", "gpio59", "gpio60", "gpio61", "gpio62",
34 + "gpio2", "gpio27", "gpio28", "gpio29", "gpio30", "gpio31", "gpio32",
35 + "gpio51", "gpio52", "gpio59", "gpio60", "gpio61", "gpio62", "gpio66",
38 static const char * const sata_groups[] = {
39 @@ -539,7 +539,7 @@ static const struct msm_function ipq8064
40 static const struct msm_pingroup ipq8064_groups[] = {
41 PINGROUP(0, mdio, NA, NA, NA, NA, NA, NA, NA, NA, NA),
42 PINGROUP(1, mdio, NA, NA, NA, NA, NA, NA, NA, NA, NA),
43 - PINGROUP(2, gsbi5_spi_cs3, NA, NA, NA, NA, NA, NA, NA, NA, NA),
44 + PINGROUP(2, gsbi5_spi_cs3, rgmii2, mdio, NA, NA, NA, NA, NA, NA, NA),
45 PINGROUP(3, pcie1_rst, pcie1_prsnt, pdm, NA, NA, NA, NA, NA, NA, NA),
46 PINGROUP(4, pcie1_pwren_n, pcie1_pwren, NA, NA, NA, NA, NA, NA, NA, NA),
47 PINGROUP(5, pcie1_clk_req, pcie1_pwrflt, NA, NA, NA, NA, NA, NA, NA, NA),
48 @@ -603,7 +603,7 @@ static const struct msm_pingroup ipq8064
49 PINGROUP(63, pcie3_rst, NA, NA, NA, NA, NA, NA, NA, NA, NA),
50 PINGROUP(64, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA),
51 PINGROUP(65, pcie3_clk_req, NA, NA, NA, NA, NA, NA, NA, NA, NA),
52 - PINGROUP(66, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA),
53 + PINGROUP(66, rgmii2, mdio, NA, NA, NA, NA, NA, NA, NA, NA),
54 PINGROUP(67, usb2_hsic, NA, NA, NA, NA, NA, NA, NA, NA, NA),
55 PINGROUP(68, usb2_hsic, NA, NA, NA, NA, NA, NA, NA, NA, NA),
56 SDC_PINGROUP(sdc3_clk, 0x204a, 14, 6),