scripts: genpinctrl: handle pin names with extra description

Some pin names have another name appended, e.g. "PA15 (JTDI)". Current
regex did not handle those cases, so it has been adjusted to handle
them.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2 files changed