[PATCH v2 02/15] dt-bindings: pinctrl: stm32: use strings for enum property 'st,package'

Krzysztof Kozlowski krzk at kernel.org
Tue Nov 18 23:27:02 PST 2025


On Tue, Nov 18, 2025 at 05:19:23PM +0100, Antonio Borneo wrote:
> The property 'st,package' reports the SoC package used in the
> board DT and is used to inform the driver about which pins are
> available for use by the pinctrl driver.
> It has historically been declared as an uint32 enum, where each
> value is a power of 2.
> 
> Deprecate the use of the numeric value and replace it with more
> readable string values.

The "SoC package" is defined by top-level compatible or by soc info
driver. It is not the property of pinctrl, therefore if ever touching
this, you should deprecate entire property instead of growing it.

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list