[PATCH 2/2] pinctrl: at91: adding new macros
Ryan.Wanner at microchip.com
Ryan.Wanner at microchip.com
Thu Feb 9 07:45:44 PST 2023
From: Ryan Wanner <Ryan.Wanner at microchip.com>
Adding macros for sama7g drive strength.
Signed-off-by: Ryan Wanner <Ryan.Wanner at microchip.com>
---
include/dt-bindings/pinctrl/at91.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/include/dt-bindings/pinctrl/at91.h b/include/dt-bindings/pinctrl/at91.h
index e8e117306b1b..fd0a389b2a0f 100644
--- a/include/dt-bindings/pinctrl/at91.h
+++ b/include/dt-bindings/pinctrl/at91.h
@@ -42,8 +42,14 @@
#define AT91_PERIPH_C 3
#define AT91_PERIPH_D 4
-#define ATMEL_PIO_DRVSTR_LO 1
+#define ATMEL_PIO_DRVSTR_LO_0 0
+#define ATMEL_PIO_DRVSTR_LO_1 1
#define ATMEL_PIO_DRVSTR_ME 2
#define ATMEL_PIO_DRVSTR_HI 3
+#define ATMEL_PIO_DRVSTR_LO_D 0
+#define ATMEL_PIO_DRVSTR_HI_A 1
+#define ATMEL_PIO_DRVSTR_LO_C 2
+#define ATMEL_PIO_DRVSTR_LO_B 3
+
#endif /* __DT_BINDINGS_AT91_PINCTRL_H__ */
--
2.37.2
More information about the linux-arm-kernel
mailing list