scripts: genpinctrl: remove pwm variant for timer channels
STM32 timers are multi-purpose peripherals ranging from PWM, Input capture, encoder, HALL sensor... In all series except F1 the timer pins will always be configured in the same mode, i.e. alternate. So using a variant for each functionality is not necessary. When working with F1 series mode is still required because the pin may operate in either alternate or input mode depending on the assigned functionality. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
a0267470e7
commit
fb17cc5b42
|
@ -209,10 +209,9 @@
|
|||
mode: alternate
|
||||
bias: pull-up
|
||||
|
||||
- name: TIM_CH_PWM / TIM_CHN_PWM
|
||||
- name: TIM_CH / TIM_CHN
|
||||
match: "^TIM\\d+_CH\\d+N?$"
|
||||
mode: alternate
|
||||
variant: pwm
|
||||
|
||||
- name: UART_CTS / USART_CTS / LPUART_CTS
|
||||
match: "^(?:LP)?US?ART\\d+_CTS$"
|
||||
|
|
Loading…
Reference in New Issue