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.
Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
---
.../bindings/pinctrl/st,stm32-pinctrl.yaml | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
index 76d956b4a5372..73277f515a8fe 100644
--- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
@@ -58,11 +58,19 @@ properties:
- description: The field mask of IRQ mux, needed if different of 0xf
st,package:
- description:
- Indicates the SOC package used.
- More details in include/dt-bindings/pinctrl/stm32-pinfunc.h
- $ref: /schemas/types.yaml#/definitions/uint32
- enum: [0x1, 0x2, 0x4, 0x8, 0x100, 0x400, 0x800]
+ description: Indicates the SOC package used.
+ oneOf:
+ - enum:
+ [0x1, 0x2, 0x4, 0x8, 0x100, 0x400, 0x800]
+ deprecated: true
+ - enum:
+ - AA
+ - AB
+ - AC
+ - AD
+ - AI
+ - AK
+ - AL
patternProperties:
'^gpio@[0-9a-f]*$':
--
2.34.1