Commits
Anson Huang committed c380248180c
firmware: imx: scu-pd: Add IRQSTEER wakeup support To support different wakeup source, Linux kernel needs to call SCU firmware to assign different wakeup controllers, for those SCU resources like RTC alarm, ON/OFF button, MU etc., it should use SCU wakeup controller, for other peripheral resources like LPUART, CAN, etc., it should use IRQSTERR wakeup controller. To support this feasure, all devices supporting wakeup should add its hwirq number to pd node's wakeup-irq property. Below is the example of adding LPUART0~3 as wakeup source, SCU PD driver will determine whether IRQSTEER or SCU should be selected as wakeup controller, this is done by reading GIC distributor's register and wakeup-irq array to check whether a wakeup source is enabled in GIC in order to support wakeup. pd: imx8qx-pd { compatible = "fsl,imx8qm-scu-pd", "fsl,scu-pd"; #power-domain-cells = <1>; wakeup-irq = <345 346 347 348>; }; Signed-off-by: Anson Huang <Anson.Huang@nxp.com>