Skip to content

Commit a76cbd7

Browse files
nvswarrenLinus Walleij
authored andcommitted
pinctrl: tegra: fix some typos and inconsistencies
drive_dev3_pins in pinctrl-tegra114.c wasn't used; delete it. pinctrl-tegra124.c had quite a few typos. Fix those. pinctrl-tegra124.c had a few mismatches between the *_groups[] ararys and the function lists in tegra124_groups[]. Fix those. Signed-off-by: Stephen Warren <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 893a7d1 commit a76cbd7

File tree

2 files changed

+17
-29
lines changed

2 files changed

+17
-29
lines changed

drivers/pinctrl/pinctrl-tegra114.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,11 +1341,6 @@ static const unsigned drive_uda_pins[] = {
13411341
TEGRA_PIN_ULPI_STP_PY3,
13421342
};
13431343

1344-
static const unsigned drive_dev3_pins[] = {
1345-
TEGRA_PIN_CLK3_OUT_PEE0,
1346-
TEGRA_PIN_CLK3_REQ_PEE1,
1347-
};
1348-
13491344
enum tegra_mux {
13501345
TEGRA_MUX_BLINK,
13511346
TEGRA_MUX_CEC,

drivers/pinctrl/pinctrl-tegra124.c

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,13 @@ static const struct pinctrl_pin_desc tegra124_pins[] = {
325325
PINCTRL_PIN(TEGRA_PIN_KB_ROW8_PS0, "KB_ROW8 PS0"),
326326
PINCTRL_PIN(TEGRA_PIN_KB_ROW9_PS1, "KB_ROW9 PS1"),
327327
PINCTRL_PIN(TEGRA_PIN_KB_ROW10_PS2, "KB_ROW10 PS2"),
328-
PINCTRL_PIN(TEGRA_PIN_KB_ROW11_PS3, "KB_ROW10 PS3"),
329-
PINCTRL_PIN(TEGRA_PIN_KB_ROW12_PS4, "KB_ROW10 PS4"),
330-
PINCTRL_PIN(TEGRA_PIN_KB_ROW13_PS5, "KB_ROW10 PS5"),
331-
PINCTRL_PIN(TEGRA_PIN_KB_ROW14_PS6, "KB_ROW10 PS6"),
332-
PINCTRL_PIN(TEGRA_PIN_KB_ROW15_PS7, "KB_ROW10 PS7"),
333-
PINCTRL_PIN(TEGRA_PIN_KB_ROW16_PT0, "KB_ROW10 PT0"),
334-
PINCTRL_PIN(TEGRA_PIN_KB_ROW17_PT1, "KB_ROW10 PT1"),
328+
PINCTRL_PIN(TEGRA_PIN_KB_ROW11_PS3, "KB_ROW11 PS3"),
329+
PINCTRL_PIN(TEGRA_PIN_KB_ROW12_PS4, "KB_ROW12 PS4"),
330+
PINCTRL_PIN(TEGRA_PIN_KB_ROW13_PS5, "KB_ROW13 PS5"),
331+
PINCTRL_PIN(TEGRA_PIN_KB_ROW14_PS6, "KB_ROW14 PS6"),
332+
PINCTRL_PIN(TEGRA_PIN_KB_ROW15_PS7, "KB_ROW15 PS7"),
333+
PINCTRL_PIN(TEGRA_PIN_KB_ROW16_PT0, "KB_ROW16 PT0"),
334+
PINCTRL_PIN(TEGRA_PIN_KB_ROW17_PT1, "KB_ROW17 PT1"),
335335
PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SCL_PT5, "GEN2_I2C_SCL PT5"),
336336
PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SDA_PT6, "GEN2_I2C_SDA PT6"),
337337
PINCTRL_PIN(TEGRA_PIN_SDMMC4_CMD_PT7, "SDMMC4_CMD PT7"),
@@ -1608,12 +1608,12 @@ static const char * const cpu_groups[] = {
16081608
};
16091609

16101610
static const char * const dap_groups[] = {
1611-
"dap_mclk1_pee2",
1611+
"dap_mclk1_req_pee2",
16121612
"clk2_req_pcc5",
16131613
};
16141614

16151615
static const char * const dap1_groups[] = {
1616-
"dap_mclk1_pee2",
1616+
"dap_mclk1_req_pee2",
16171617
};
16181618

16191619
static const char * const dap2_groups[] = {
@@ -2013,8 +2013,8 @@ static const char * const rsvd2_groups[] = {
20132013
"gen1_i2c_scl_pc4",
20142014
"gen1_i2c_sda_pc5",
20152015

2016-
"clk2_out_pee0",
2017-
"clk2_req_pee1",
2016+
"clk3_out_pee0",
2017+
"clk3_req_pee1",
20182018
"pc7",
20192019
"pi5",
20202020
"pj0",
@@ -2130,7 +2130,7 @@ static const char * const rsvd3_groups[] = {
21302130
"clk3_req_pee1",
21312131

21322132
"sdmmc4_dat5_paa5",
2133-
"gpio_pcc1",
2133+
"pcc1",
21342134
"cam_i2c_scl_pbb1",
21352135
"cam_i2c_sda_pbb2",
21362136
"pbb5",
@@ -2195,11 +2195,6 @@ static const char * const rsvd4_groups[] = {
21952195
"ddc_scl_pv4",
21962196
"ddc_sda_pv5",
21972197

2198-
"uart2_rts_n_pj6",
2199-
"uart2_cts_n_pj5",
2200-
"uart3_txd_pw6",
2201-
"uart3_rxd_pw7",
2202-
22032198
"pu0",
22042199
"pu1",
22052200
"pu2",
@@ -2234,6 +2229,7 @@ static const char * const rsvd4_groups[] = {
22342229
"gen2_i2c_scl_pt5",
22352230
"gen2_i2c_sda_pt6",
22362231

2232+
"sdmmc4_clk_pcc4",
22372233
"sdmmc4_cmd_pt7",
22382234
"sdmmc4_dat0_paa0",
22392235
"sdmmc4_dat1_paa1",
@@ -2271,7 +2267,7 @@ static const char * const rsvd4_groups[] = {
22712267
"dap1_din_pn1",
22722268
"dap1_sclk_pn3",
22732269
"dap_mclk1_req_pee2",
2274-
"dap_mclk1_pw5",
2270+
"dap_mclk1_pw4",
22752271

22762272
"dap2_fs_pa2",
22772273
"dap2_din_pa4",
@@ -2312,8 +2308,6 @@ static const char * const sdmmc1_groups[] = {
23122308
"sdmmc1_dat2_py5",
23132309
"sdmmc1_dat1_py6",
23142310
"sdmmc1_dat0_py7",
2315-
"clk2_out_pw5",
2316-
"clk2_req_pcc",
23172311
"uart3_cts_n_pa1",
23182312
"sdmmc1_wp_n_pv3",
23192313
};
@@ -2412,7 +2406,6 @@ static const char * const spi2_groups[] = {
24122406

24132407
"kb_row13_ps5",
24142408
"kb_row14_ps6",
2415-
"kb_row15_ps7",
24162409
"kb_col0_pq0",
24172410
"kb_col1_pq1",
24182411
"kb_col2_pq2",
@@ -2558,7 +2551,7 @@ static const char * const uartc_groups[] = {
25582551
"uart3_cts_n_pa1",
25592552
"uart3_rts_n_pc0",
25602553
"kb_row16_pt0",
2561-
"kn_row17_pt1",
2554+
"kb_row17_pt1",
25622555
};
25632556

25642557
static const char * const uartd_groups[] = {
@@ -2964,9 +2957,9 @@ static const struct tegra_pingroup tegra124_groups[] = {
29642957
PINGROUP(sdmmc4_dat4_paa4, SDMMC4, SPI3, GMI, RSVD4, SDMMC4, 0x3270, N, Y, N),
29652958
PINGROUP(sdmmc4_dat5_paa5, SDMMC4, SPI3, RSVD3, RSVD4, SDMMC4, 0x3274, N, Y, N),
29662959
PINGROUP(sdmmc4_dat6_paa6, SDMMC4, SPI3, GMI, RSVD4, SDMMC4, 0x3278, N, Y, N),
2967-
PINGROUP(sdmmc4_dat7_paa7, SDMMC4, RSVD1, GMI, RSVD4, SDMMC4, 0x327c, N, Y, N),
2960+
PINGROUP(sdmmc4_dat7_paa7, SDMMC4, RSVD2, GMI, RSVD4, SDMMC4, 0x327c, N, Y, N),
29682961
PINGROUP(cam_mclk_pcc0, VI, VI_ALT1, VI_ALT3, SDMMC2, VI, 0x3284, N, N, N),
2969-
PINGROUP(pcc1, I2S4, RSVD1, RSVD3, SDMMC2, I2S4, 0x3288, N, N, N),
2962+
PINGROUP(pcc1, I2S4, RSVD2, RSVD3, SDMMC2, I2S4, 0x3288, N, N, N),
29702963
PINGROUP(pbb0, VGP6, VIMCLK2, SDMMC2, VIMCLK2_ALT, VGP6, 0x328c, N, N, N),
29712964
PINGROUP(cam_i2c_scl_pbb1, VGP1, I2C3, RSVD3, SDMMC2, VGP1, 0x3290, Y, N, N),
29722965
PINGROUP(cam_i2c_sda_pbb2, VGP2, I2C3, RSVD3, SDMMC2, VGP2, 0x3294, Y, N, N),

0 commit comments

Comments
 (0)