Interfacing TFDU4101 irDA into UART2 (/dev/ttymxc2)

I have interfaced TFDU4101 IRDA (Serial IR, SIR) into my Apalis i.MX6 board via UART2 (ttymxc2)
Also installed the irda-utils and lirc package, but I am not sure how I can use this in Linux to send and receive the IR events.
Referred the below link and doesn’t help either.

I did below command and don’t know what to do next.

irattach /dev/ttymxc2 -s

Can you please provide any pointers on this ?


Note that there is no driver for the IrDA mode of the i.MX 6 UART available in our kernel tree.

Assuming that you can tweak the UART driver to allow to work with your TFDU4101 or you get another way to do the physical layer of the IrDA stack the following are some pointer to start with, we at Toradex do not have experience in setting up IR communication:

The LIRC page has some pointers on how to setup a system.
The Kodi homepage also has a how setting up remotes.
The kernel documentation has one file with pointers to resources on the subject.