drivers: pinmux: Add more pin function definitions

This commit adds more pin function definitions (PINMUX_FUNC_I through
PINMUX_FUNC_P) to the pinmux interface header.

The SAM D5x and E5x series devices, for instances, define up to the
"function N" and this change is necessary to support such devices.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2020-03-05 10:29:14 +09:00 committed by Kumar Gala
commit c820d6f410

View file

@ -34,6 +34,14 @@ extern "C" {
#define PINMUX_FUNC_F 5 #define PINMUX_FUNC_F 5
#define PINMUX_FUNC_G 6 #define PINMUX_FUNC_G 6
#define PINMUX_FUNC_H 7 #define PINMUX_FUNC_H 7
#define PINMUX_FUNC_I 8
#define PINMUX_FUNC_J 9
#define PINMUX_FUNC_K 10
#define PINMUX_FUNC_L 11
#define PINMUX_FUNC_M 12
#define PINMUX_FUNC_N 13
#define PINMUX_FUNC_O 14
#define PINMUX_FUNC_P 15
#define PINMUX_PULLUP_ENABLE (0x1) #define PINMUX_PULLUP_ENABLE (0x1)
#define PINMUX_PULLUP_DISABLE (0x0) #define PINMUX_PULLUP_DISABLE (0x0)