Skip to content

Commit a456454

Browse files
author
Alexandre Torgue
committed
dt-bindings: pinctrl: stm32: support for stm32mp257 and additional packages
Add support for st,stm32mp257-pinctrl and st,stm32mp257-z-pinctrl. Add packages AI, AK and AL (values : 0x100, 0x400 and 0x800) Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 076c74c commit a456454

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ properties:
2727
- st,stm32mp135-pinctrl
2828
- st,stm32mp157-pinctrl
2929
- st,stm32mp157-z-pinctrl
30+
- st,stm32mp257-pinctrl
31+
- st,stm32mp257-z-pinctrl
3032

3133
'#address-cells':
3234
const: 1
@@ -56,7 +58,7 @@ properties:
5658
Indicates the SOC package used.
5759
More details in include/dt-bindings/pinctrl/stm32-pinfunc.h
5860
$ref: /schemas/types.yaml#/definitions/uint32
59-
enum: [1, 2, 4, 8]
61+
enum: [0x1, 0x2, 0x4, 0x8, 0x100, 0x400, 0x800]
6062

6163
patternProperties:
6264
'^gpio@[0-9a-f]*$':

include/dt-bindings/pinctrl/stm32-pinfunc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
#define STM32MP_PKG_AB 0x2
3838
#define STM32MP_PKG_AC 0x4
3939
#define STM32MP_PKG_AD 0x8
40+
#define STM32MP_PKG_AI 0x100
41+
#define STM32MP_PKG_AK 0x400
42+
#define STM32MP_PKG_AL 0x800
4043

4144
#endif /* _DT_BINDINGS_STM32_PINFUNC_H */
4245

0 commit comments

Comments
 (0)