genpinctrl: config*yaml: Fix regex to support CAN_{TX,RX} and CANn_{TX,RX}

Some SoCs have the CAN signals without a number identifier (CAN_TX,
CAN_RX) so tweak regex to support with and without a number id.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-10-08 17:51:42 -05:00 committed by Kumar Gala
parent 8128bd26b2
commit 9a86f73576
2 changed files with 4 additions and 4 deletions

View File

@ -39,11 +39,11 @@
mode: analog
- name: CAN_RX
match: "^CAN\\d+_RX$"
match: "^CAN\\d*_RX$"
mode: input
- name: CAN_TX
match: "^CAN\\d+_TX$"
match: "^CAN\\d*_TX$"
mode: alternate
- name: DAC_OUT

View File

@ -36,12 +36,12 @@
mode: analog
- name: CAN_RX
match: "^CAN\\d+_RX$"
match: "^CAN\\d*_RX$"
mode: alternate
bias: pull-up
- name: CAN_TX
match: "^CAN\\d+_TX$"
match: "^CAN\\d*_TX$"
mode: alternate
- name: DAC_OUT