Skip to content

Commit 3cfe900

Browse files
arifbalikerwango
authored andcommitted
scripts: genpinctrl: add TSC pinctrl definition
add TSC regex to match and generate pin configs Signed-off-by: Arif Balik <[email protected]>
1 parent 26d75d4 commit 3cfe900

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
@@ -259,6 +259,9 @@
259259
- name: TIM_CH / TIM_CHN
260260
match: "^TIM\\d+_CH\\d+N?$"
261261

262+
- name: TSC
263+
match: "^TSC_(?:G\\d+_IO\\d+|SYNC)$"
264+
262265
- name: UART_CTS / USART_CTS / LPUART_CTS
263266
match: "^(?:LP)?US?ART\\d+_CTS$"
264267
drive: open-drain

scripts/genpinctrl/stm32f1-pinctrl-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@
230230
mode: input
231231
variant: pwm_in
232232

233+
- name: TSC
234+
match: "^TSC_(?:G\\d+_IO\\d+|SYNC)$"
235+
mode: alternate
236+
233237
- name: UART_CTS / USART_CTS
234238
match: "^US?ART\\d+_CTS$"
235239
drive: open-drain

0 commit comments

Comments
 (0)