Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pinctrl: at91-pio4: Add sama7d65 pio4 support

Add sama7d65 compatibility string.

Sama7d65 does not have a full last bank of PIO lines similar to the
Sama7g54 SoC. Sama7d65 only has 14 lines on the last PIO bank not the
full 32; adjusting the SoC attributes accordingly.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>

authored by

Ryan Wanner and committed by
Linus Walleij
0968c81c 6e002589

+9
+9
drivers/pinctrl/pinctrl-at91-pio4.c
··· 1053 1053 .last_bank_count = ATMEL_PIO_NPINS_PER_BANK, 1054 1054 }; 1055 1055 1056 + static const struct atmel_pioctrl_data microchip_sama7d65_pioctrl_data = { 1057 + .nbanks = 5, 1058 + .last_bank_count = 14, /* sama7d65 has only PE0 to PE13 */ 1059 + .slew_rate_support = 1, 1060 + }; 1061 + 1056 1062 static const struct atmel_pioctrl_data microchip_sama7g5_pioctrl_data = { 1057 1063 .nbanks = 5, 1058 1064 .last_bank_count = 8, /* sama7g5 has only PE0 to PE7 */ ··· 1069 1063 { 1070 1064 .compatible = "atmel,sama5d2-pinctrl", 1071 1065 .data = &atmel_sama5d2_pioctrl_data, 1066 + }, { 1067 + .compatible = "microchip,sama7d65-pinctrl", 1068 + .data = &microchip_sama7d65_pioctrl_data, 1072 1069 }, { 1073 1070 .compatible = "microchip,sama7g5-pinctrl", 1074 1071 .data = &microchip_sama7g5_pioctrl_data,