Hello,
I have to handle two devices with one UART. Previously, I made it by suspending UART, changing its state between PINCTRL_STATE_DEFAULT and PINCTRL_STATE_SLEEP and resuming it after change. It worked on NCS version 2.6.1 but it doesn't work after updating NCS to 2.9.0. Previously I turned off option CONFIG_UART_1_GPIO_MANAGEMENT which made UART1 able to resume in other pinctrl state than default. That option no longer exists and UART uses PINCTRL_STATE_DEFAULT on action resume and PINCTRL_STATE_SLEEP on action sleep.
How can I now achieve switching UART pins in a runtime?