From aad0f000c623448250b1f5d8a0797163a4a94649 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Tue, 23 Nov 2021 14:38:24 +0100 Subject: [PATCH] include/dt-bindings/pinctrl: stm32: Remove c pinmux api leftover Following definitive transition to dts pinmux then pinctrl api remove C pinmux api leftover definitions. Signed-off-by: Erwan Gouriou --- include/dt-bindings/pinctrl/stm32-pinctrl.h | 43 ---------------- include/dt-bindings/pinctrl/stm32f1-pinctrl.h | 51 ------------------- 2 files changed, 94 deletions(-) diff --git a/include/dt-bindings/pinctrl/stm32-pinctrl.h b/include/dt-bindings/pinctrl/stm32-pinctrl.h index 39629cf9031..13c592e751b 100644 --- a/include/dt-bindings/pinctrl/stm32-pinctrl.h +++ b/include/dt-bindings/pinctrl/stm32-pinctrl.h @@ -78,26 +78,6 @@ * Applicable to STM32F3, STM32F4, STM32L4 series */ -/* Alternate functions */ -#define STM32_FUNC_ALT_0 0 -#define STM32_FUNC_ALT_1 1 -#define STM32_FUNC_ALT_2 2 -#define STM32_FUNC_ALT_3 3 -#define STM32_FUNC_ALT_4 4 -#define STM32_FUNC_ALT_5 5 -#define STM32_FUNC_ALT_6 6 -#define STM32_FUNC_ALT_7 7 -#define STM32_FUNC_ALT_8 8 -#define STM32_FUNC_ALT_9 9 -#define STM32_FUNC_ALT_10 10 -#define STM32_FUNC_ALT_11 11 -#define STM32_FUNC_ALT_12 12 -#define STM32_FUNC_ALT_13 13 -#define STM32_FUNC_ALT_14 14 -#define STM32_FUNC_ALT_15 15 -#define STM32_AFR_MASK 0xF -#define STM32_AFR_SHIFT 0 - /* GPIO Mode */ #define STM32_MODER_INPUT_MODE (0x0<