pinctrl: at91-pio4: implement drive strength support
Implement drive strength support, by preserving the same bindings as in Linux. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
This commit is contained in:
@@ -52,6 +52,7 @@ struct atmel_pio4_port {
|
||||
#define ATMEL_PIO_DRVSTR_LO (1 << 16)
|
||||
#define ATMEL_PIO_DRVSTR_ME (2 << 16)
|
||||
#define ATMEL_PIO_DRVSTR_HI (3 << 16)
|
||||
#define ATMEL_PIO_DRVSTR_OFFSET 16
|
||||
#define ATMEL_PIO_CFGR_EVTSEL_MASK GENMASK(26, 24)
|
||||
#define ATMEL_PIO_CFGR_EVTSEL_FALLING (0 << 24)
|
||||
#define ATMEL_PIO_CFGR_EVTSEL_RISING (1 << 24)
|
||||
|
||||
Reference in New Issue
Block a user