[PATCH 02/11] pinctrl: stm32: add stm32mp257 pinctrl support

Conor Dooley conor at kernel.org
Mon May 29 11:04:50 PDT 2023


On Mon, May 29, 2023 at 06:20:25PM +0200, Alexandre Torgue wrote:
> Add stm32mp257 pinctrl support.
> diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.h b/drivers/pinctrl/stm32/pinctrl-stm32.h
> index e0c31c4c8bca..5e5de92ddd58 100644
> --- a/drivers/pinctrl/stm32/pinctrl-stm32.h
> +++ b/drivers/pinctrl/stm32/pinctrl-stm32.h
> @@ -24,6 +24,9 @@
>  #define STM32MP_PKG_AB		BIT(1)
>  #define STM32MP_PKG_AC		BIT(2)
>  #define STM32MP_PKG_AD		BIT(3)
> +#define STM32MP_PKG_AI		BIT(8)
> +#define STM32MP_PKG_AK		BIT(10)
> +#define STM32MP_PKG_AL		BIT(11)

Mainly out of curiosity, why have you go duplicate defines for these?

Cheers,
Conor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230529/e64f86c1/attachment.sig>


More information about the linux-arm-kernel mailing list