Since there is no txdone irq in the Rockchip mailbox IP, invoking mbox_chan_txdone()/mbox_client_txdone() after mbox_send_message() to tick the TX would be free the active request which have not been sent out if the controller returned the EBUSY state before. So amend the txdone method to polling to fix it. The TX polling interval can specify in DT with "rockchip,txpoll-period-ms" property, if it is not set, the driver would hardcode to 5 milliseconds. Signed-off-by: Frank Wang <frank.wang@rock-chips.com> Change-Id: Ic26d3245dd8bd90ebad30fce9ece2f4452814f7f |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| arm_mhu.c | ||
| arm_mhu_db.c | ||
| armada-37xx-rwtm-mailbox.c | ||
| bcm-flexrm-mailbox.c | ||
| bcm-pdc-mailbox.c | ||
| bcm2835-mailbox.c | ||
| hi3660-mailbox.c | ||
| hi6220-mailbox.c | ||
| imx-mailbox.c | ||
| mailbox-altera.c | ||
| mailbox-sti.c | ||
| mailbox-test.c | ||
| mailbox-xgene-slimpro.c | ||
| mailbox.c | ||
| mailbox.h | ||
| mtk-cmdq-mailbox.c | ||
| omap-mailbox.c | ||
| pcc.c | ||
| pl320-ipc.c | ||
| platform_mhu.c | ||
| qcom-apcs-ipc-mailbox.c | ||
| qcom-ipcc.c | ||
| rockchip-mailbox.c | ||
| sprd-mailbox.c | ||
| stm32-ipcc.c | ||
| sun6i-msgbox.c | ||
| tegra-hsp.c | ||
| ti-msgmgr.c | ||
| zynqmp-ipi-mailbox.c | ||