Skip to content

Commit

Permalink
scripts: genpinctrl: fix xspim regex
Browse files Browse the repository at this point in the history
Fixes the regex used to generate XSPIM pins:
* NCS pins are numbered 1-2 instead of 0-1
* Expand IO numbers beyond 7 (necessary for STM32N6)

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
  • Loading branch information
gautierg-st committed Jan 22, 2025
1 parent 80d26e6 commit 55adfea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/genpinctrl/stm32-pinctrl-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
slew-rate: very-high-speed

- name: XSPIM
match: "^XSPIM(.*)(?:CLK|NCS[0-1]|DQS[0-1]|IO[0-7])$"
match: "^XSPIM(.*)(?:CLK|NCS[1-2]|DQS[0-1]|IO\\d+)$"
slew-rate: very-high-speed

- name: SDMMC
Expand Down

0 comments on commit 55adfea

Please # to comment.