I need to have RS-485 TXEN support in a serial device. I had it working fine, after configuring the UART2 in the device tree as follows:
&uart2 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&xxxx_pins>;
pinctrl-1 = <&xxxx_pins_sleep>;
/* GPIO1 pin 17 for data direction */
rts-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;
rs485-rts-active-high;
rs485-rts-delay = <0 0>; /* in milliseconds */
linux,rs485-enabled-at-boot-time;
status = "okay";
};
But I found that after pulling in some recent linux-ti-staging kernel changes from the last week or so, it has stopped working. I see a commit 37de5ba0b1 comment "Switch to newer 8250_omap driver supporting DMA" so it looks as though a different driver is now in use.
I'm using the linux-ti-staging kernel, branch ti-linux-3.14.y, from Yocto, using the meta-ti layer.
Does this new driver support RS-485? If not, what are TI's plans for future RS-485 support with this driver?
In the short term, what is needed to regain RS-485 support? Is it as simple as reverting the kernel config change in git commit 37de5ba0b1?