Skip to content

Commit a806506

Browse files
committed
scripts: genpinctrl: add TSC pinctrl definition
add TSC regex to match and generate pin configs Signed-off-by: Arif Balik <[email protected]>
1 parent d5fb525 commit a806506

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

scripts/genpinctrl/stm32-pinctrl-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,3 +299,6 @@
299299

300300
- name: JTAG PORT
301301
match: ^(SYS|DEBUG)_((JTMS-)?SWDIO|(JTCK-)?SWCLK|JTDI|JTDO(-TRACESWO|-SWO)?|(NJ)?JTRST)$
302+
303+
- name: TSC
304+
match: "^TSC_(?:G\\d+_IO\\d+|SYNC)$"

scripts/genpinctrl/stm32f1-pinctrl-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,3 +255,7 @@
255255
- name: USB
256256
match: "^USB_(?:DM)?(?:DP)?$"
257257
mode: input
258+
259+
- name: TSC
260+
match: "^TSC_(?:G\\d+_IO\\d+|SYNC)$"
261+
mode: alternate

0 commit comments

Comments
 (0)