I am writing HDLC controller driver for mpc8309twr on UCC7 means HDLC_1,So after all configuration am able to get ppp data on RXD pin of processor,BUT the interrupt handler which i have registered ,that is not executing,
as well as clock TX and RX both are OK.
TXD is also OK only for 7e pattern. But when try to send some data not going too.
my main question is on reception of data on RXD pin ,why my handler is not executing.
my dts file looks like ,
cell-index = <7>;
rx-clock-name = "clk14";
tx-clock-name = "clk13";
reg = <0x2600 0x200>;
interrupts = <42>;
interrupt-parent = <&qeic>;
in _probe function ,for ethernet suppose interrupts = <32> , so after irq_parse_map function i get irq=18.whereas in my case ucc7 ,i get same 42.
i have attached my entire code,Your answers are well appreciated.
Original Attachment has been moved to: twr_hdlc.c.zip