Hi Samuel what about allwiinner A64??, for that also is POWE KEY irq is routed through or r_intc??
what specific change need to make , in order to route it through r_intc because i am not able to bring up device from deep sleep state?? On Monday, 13 January 2020 10:19:46 UTC+5:30, Samuel Holland wrote: > > All IRQs that can be used to wake up the system must be routed through > r_intc, so they are visible to firmware while the system is suspended. > > r_intc IRQ numbers are offset by 96 from the GIC IRQ numbers. > > Signed-off-by: Samuel Holland <[email protected] <javascript:>> > --- > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > index f597f3fe06c1..6285354e83a6 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > @@ -708,8 +708,9 @@ > rtc: rtc@7000000 { > compatible = "allwinner,sun50i-h6-rtc"; > reg = <0x07000000 0x400>; > - interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, > - <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-parent = <&r_intc>; > + interrupts = <5 IRQ_TYPE_LEVEL_HIGH>, > + <6 IRQ_TYPE_LEVEL_HIGH>; > clock-output-names = "osc32k", "osc32k-out", > "iosc"; > clocks = <&ext_osc32k>; > #clock-cells = <1>; > @@ -745,8 +746,9 @@ > r_pio: pinctrl@7022000 { > compatible = "allwinner,sun50i-h6-r-pinctrl"; > reg = <0x07022000 0x400>; > - interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, > - <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-parent = <&r_intc>; > + interrupts = < 9 IRQ_TYPE_LEVEL_HIGH>, > + <15 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&r_ccu CLK_R_APB1>, <&osc24M>, <&rtc > 0>; > clock-names = "apb", "hosc", "losc"; > gpio-controller; > @@ -769,7 +771,8 @@ > compatible = "allwinner,sun50i-h6-ir", > "allwinner,sun6i-a31-ir"; > reg = <0x07040000 0x400>; > - interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-parent = <&r_intc>; > + interrupts = <13 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&r_ccu CLK_R_APB1_IR>, > <&r_ccu CLK_IR>; > clock-names = "apb", "ir"; > -- > 2.23.0 > > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/705962de-f76b-4cf7-95ac-38a9115c99cc%40googlegroups.com.
