28b7f0c1f3
This patch is to add CAN wakeup function on MX8 platforms and update the binding file fsl-flexcan.txt. For MX8, the function "flexcan_irq()" should not call "flexcan_exit_stop_mode()" due to firmware(SCU) cannot make SC IPC calls from an interrupt context. If not exit stop mode in ISR, it will continuously enter wakeup ISR for the reason that system will respond IRQ before call CAN system resume. To fix the issue, we can exit stop mode during noirq resume stage. For wakeup case, it should not set pinctrl to sleep state by pinctrl_pm_select_sleep_state. Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Reviewed-by: Andy Duan <fugang.duan@nxp.com> Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> |
||
---|---|---|
.. | ||
atmel-can.txt | ||
c_can.txt | ||
cc770.txt | ||
fsl-flexcan.txt | ||
grcan.txt | ||
holt_hi311x.txt | ||
ifi_canfd.txt | ||
m_can.txt | ||
microchip,mcp251x.txt | ||
mpc5xxx-mscan.txt | ||
rcar_can.txt | ||
rcar_canfd.txt | ||
sja1000.txt | ||
sun4i_can.txt | ||
ti_hecc.txt | ||
xilinx_can.txt |