pinctrl: at91-pio4: add support for slew-rate
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 27 Jan 2021 13:00:30 +0000 (15:00 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 2 Mar 2021 07:28:33 +0000 (09:28 +0200)
commit8bad34a7090fd015d9f62d4145cb2109faa7641a
tree9b8baa64395aa7cace6b800a030be670216d2cfd
parentf031bb304d073b1a140e1fc9f395655bbcea2c0c
pinctrl: at91-pio4: add support for slew-rate

SAMA7G5 supports slew rate configuration. Adapt the driver for this.
For switching frequencies lower than 50MHz the slew rate needs to
be enabled. Since most of the pins on SAMA7G5 fall into this category
enabled the slew rate by default.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
arch/arm/mach-at91/include/mach/atmel_pio4.h
drivers/pinctrl/pinctrl-at91-pio4.c