Skip to content

Commit 20070bd

Browse files
tmaimonLinus Walleij
authored andcommitted
pinctrl: nuvoton: npcm8xx: remove non-existent pins, groups, functions
Remove non-existent smb4den abd lpcclk pins, groups and functions on the Nuvoton NPCM8XX BMC SoC. Signed-off-by: Tomer Maimon <tmaimon77@gmail.com> Link: https://lore.kernel.org/20240716194008.3502068-3-tmaimon77@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 5555901 commit 20070bd

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ static const int smb4_pins[] = { 28, 29 };
437437
static const int smb4b_pins[] = { 18, 19 };
438438
static const int smb4c_pins[] = { 20, 21 };
439439
static const int smb4d_pins[] = { 22, 23 };
440-
static const int smb4den_pins[] = { 17 };
441440
static const int smb5_pins[] = { 26, 27 };
442441
static const int smb5b_pins[] = { 13, 12 };
443442
static const int smb5c_pins[] = { 15, 14 };
@@ -570,7 +569,6 @@ static const int spi3cs3_pins[] = { 189 };
570569
static const int ddc_pins[] = { 204, 205, 206, 207 };
571570

572571
static const int lpc_pins[] = { 95, 161, 163, 164, 165, 166, 167 };
573-
static const int lpcclk_pins[] = { 168 };
574572
static const int espi_pins[] = { 95, 161, 163, 164, 165, 166, 167, 168 };
575573

576574
static const int lkgpo0_pins[] = { 16 };
@@ -699,7 +697,6 @@ struct npcm8xx_pingroup {
699697
NPCM8XX_GRP(smb4b), \
700698
NPCM8XX_GRP(smb4c), \
701699
NPCM8XX_GRP(smb4d), \
702-
NPCM8XX_GRP(smb4den), \
703700
NPCM8XX_GRP(smb5), \
704701
NPCM8XX_GRP(smb5b), \
705702
NPCM8XX_GRP(smb5c), \
@@ -808,7 +805,6 @@ struct npcm8xx_pingroup {
808805
NPCM8XX_GRP(spi3cs3), \
809806
NPCM8XX_GRP(spi0cs1), \
810807
NPCM8XX_GRP(lpc), \
811-
NPCM8XX_GRP(lpcclk), \
812808
NPCM8XX_GRP(espi), \
813809
NPCM8XX_GRP(lkgpo0), \
814810
NPCM8XX_GRP(lkgpo1), \
@@ -948,7 +944,6 @@ NPCM8XX_SFUNC(smb4);
948944
NPCM8XX_SFUNC(smb4b);
949945
NPCM8XX_SFUNC(smb4c);
950946
NPCM8XX_SFUNC(smb4d);
951-
NPCM8XX_SFUNC(smb4den);
952947
NPCM8XX_SFUNC(smb5);
953948
NPCM8XX_SFUNC(smb5b);
954949
NPCM8XX_SFUNC(smb5c);
@@ -1056,7 +1051,6 @@ NPCM8XX_SFUNC(spi3cs2);
10561051
NPCM8XX_SFUNC(spi3cs3);
10571052
NPCM8XX_SFUNC(spi0cs1);
10581053
NPCM8XX_SFUNC(lpc);
1059-
NPCM8XX_SFUNC(lpcclk);
10601054
NPCM8XX_SFUNC(espi);
10611055
NPCM8XX_SFUNC(lkgpo0);
10621056
NPCM8XX_SFUNC(lkgpo1);
@@ -1172,7 +1166,6 @@ static struct npcm8xx_func npcm8xx_funcs[] = {
11721166
NPCM8XX_MKFUNC(smb4b),
11731167
NPCM8XX_MKFUNC(smb4c),
11741168
NPCM8XX_MKFUNC(smb4d),
1175-
NPCM8XX_MKFUNC(smb4den),
11761169
NPCM8XX_MKFUNC(smb5),
11771170
NPCM8XX_MKFUNC(smb5b),
11781171
NPCM8XX_MKFUNC(smb5c),
@@ -1280,7 +1273,6 @@ static struct npcm8xx_func npcm8xx_funcs[] = {
12801273
NPCM8XX_MKFUNC(spi3cs3),
12811274
NPCM8XX_MKFUNC(spi0cs1),
12821275
NPCM8XX_MKFUNC(lpc),
1283-
NPCM8XX_MKFUNC(lpcclk),
12841276
NPCM8XX_MKFUNC(espi),
12851277
NPCM8XX_MKFUNC(lkgpo0),
12861278
NPCM8XX_MKFUNC(lkgpo1),
@@ -1347,7 +1339,7 @@ static const struct npcm8xx_pincfg pincfg[] = {
13471339
NPCM8XX_PINCFG(14, gspi, MFSEL1, 24, smb5c, I2CSEGSEL, 20, none, NONE, 0, none, NONE, 0, none, NONE, 0, SLEW),
13481340
NPCM8XX_PINCFG(15, gspi, MFSEL1, 24, smb5c, I2CSEGSEL, 20, none, NONE, 0, none, NONE, 0, none, NONE, 0, SLEW),
13491341
NPCM8XX_PINCFG(16, lkgpo0, FLOCKR1, 0, smb7b, I2CSEGSEL, 27, tp_gpio2b, MFSEL7, 10, none, NONE, 0, none, NONE, 0, SLEW),
1350-
NPCM8XX_PINCFG(17, pspi, MFSEL3, 13, cp1gpio5, MFSEL6, 7, smb4den, I2CSEGSEL, 23, none, NONE, 0, none, NONE, 0, SLEW),
1342+
NPCM8XX_PINCFG(17, pspi, MFSEL3, 13, cp1gpio5, MFSEL6, 7, none, NONE, 0, none, NONE, 0, none, NONE, 0, SLEW),
13511343
NPCM8XX_PINCFG(18, pspi, MFSEL3, 13, smb4b, I2CSEGSEL, 14, none, NONE, 0, none, NONE, 0, none, NONE, 0, SLEW),
13521344
NPCM8XX_PINCFG(19, pspi, MFSEL3, 13, smb4b, I2CSEGSEL, 14, none, NONE, 0, none, NONE, 0, none, NONE, 0, SLEW),
13531345
NPCM8XX_PINCFG(20, hgpio0, MFSEL2, 24, smb15, MFSEL3, 8, smb4c, I2CSEGSEL, 15, none, NONE, 0, none, NONE, 0, SLEW),
@@ -1496,7 +1488,7 @@ static const struct npcm8xx_pincfg pincfg[] = {
14961488
NPCM8XX_PINCFG(165, lpc, MFSEL1, 26, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
14971489
NPCM8XX_PINCFG(166, lpc, MFSEL1, 26, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
14981490
NPCM8XX_PINCFG(167, lpc, MFSEL1, 26, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
1499-
NPCM8XX_PINCFG(168, lpcclk, MFSEL1, 31, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
1491+
NPCM8XX_PINCFG(168, none, NONE, 0, espi, MFSEL4, 8, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
15001492
NPCM8XX_PINCFG(169, scipme, MFSEL3, 0, smb21, MFSEL5, 29, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
15011493
NPCM8XX_PINCFG(170, smi, MFSEL1, 22, smb21, MFSEL5, 29, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),
15021494
NPCM8XX_PINCFG(171, smb6, MFSEL3, 1, none, NONE, 0, none, NONE, 0, none, NONE, 0, none, NONE, 0, 0),

0 commit comments

Comments
 (0)