Many thanks!
I just need to add support for the RS-485 protocol
so that when transmitting data (for example, via uart2), one of the gpio pins rises to a high level.
then, at the end of the transmission, it again return to a low level.
That's why I need to patch the kernel.
but I think it's already been done. maybe, tell me where it can be searched?