diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2021-01-27 15:00:30 +0200 |
---|---|---|
committer | Eugen Hristev <eugen.hristev@microchip.com> | 2021-03-02 09:28:33 +0200 |
commit | 8bad34a7090fd015d9f62d4145cb2109faa7641a (patch) | |
tree | 9b8baa64395aa7cace6b800a030be670216d2cfd /arch/arm/mach-at91 | |
parent | f031bb304d073b1a140e1fc9f395655bbcea2c0c (diff) | |
download | u-boot-8bad34a7090fd015d9f62d4145cb2109faa7641a.zip u-boot-8bad34a7090fd015d9f62d4145cb2109faa7641a.tar.gz u-boot-8bad34a7090fd015d9f62d4145cb2109faa7641a.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/include/mach/atmel_pio4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/atmel_pio4.h b/arch/arm/mach-at91/include/mach/atmel_pio4.h index 35ac7b2..c3bd914 100644 --- a/arch/arm/mach-at91/include/mach/atmel_pio4.h +++ b/arch/arm/mach-at91/include/mach/atmel_pio4.h @@ -44,6 +44,7 @@ struct atmel_pio4_port { #define ATMEL_PIO_DIR_MASK BIT(8) #define ATMEL_PIO_PUEN_MASK BIT(9) #define ATMEL_PIO_PDEN_MASK BIT(10) +#define ATMEL_PIO_SR BIT(11) #define ATMEL_PIO_IFEN_MASK BIT(12) #define ATMEL_PIO_IFSCEN_MASK BIT(13) #define ATMEL_PIO_OPD_MASK BIT(14) |