Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] J784S4XEVM: 8.6 SDK - GPIO Interrupts are not functional

Part Number: J784S4XEVM

None of the GPIO interrupts are firing on the 8.6 SDK of J784s4.

  • Hi Cherry,

    The interrupt router configuration is wrong in 8.6 SDK. This is fixed in 9.0 SDK.

    Here are the 2 patches:

    commit 68ec7433794c13da14e803b477ac6eefd330f243
    Author: Dasnavis Sabiya <sabiya.d@ti.com>
    Date:   Tue Jun 27 16:21:51 2023 +0530
    
        arm64: dts: ti: k3-j784s4: Fix the interrupt ranges property for main gpio intr
        
        The parent's input irq number is incorrect for the main_gpio_intr.
        Update the irq number as per the exact numbers in:
        https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j784s4/interrupt_cfg.html
        
        Fixes: bebe2e3c9a30i ("arm64: dts: ti: Add initial support for J784S4 SoC")
        
        Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
        Reviewed-by: Apurva Nandan <a-nandan@ti.com>
    
    diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
    index 2baac35dca2d..b6f40e7f7e13 100644
    --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
    @@ -112,7 +112,7 @@
                    #interrupt-cells = <1>;
                    ti,sci = <&sms>;
                    ti,sci-dev-id = <10>;
    -               ti,interrupt-ranges = <8 360 56>;
    +               ti,interrupt-ranges = <8 392 56>;
            };

    The above is for main domain GPIO interrupts.

    commit f1ae38221253b800032585deff26e017615e5e5e
    Author: Apelete Seketeli <aseketeli@baylibre.com>
    Date:   Tue Apr 18 10:58:36 2023 +0200
    
        arm64: dts: ti: k3-j784s4-evm: Fix wakeup gpio pinmux interrupt range
        
        This patch fixes the interrupt range of wakeup gpio used by TPS6594 PMIC.
        
        Signed-off-by: Apelete Seketeli <aseketeli@baylibre.com>
        Signed-off-by: Esteban Blanc <eblanc@baylibre.com>
        Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
    
    diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi
    index f04fcb614cbe..ec4330f5dbb8 100644
    --- a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi
    @@ -65,7 +65,7 @@
                    #interrupt-cells = <1>;
                    ti,sci = <&sms>;
                    ti,sci-dev-id = <177>;
    -               ti,interrupt-ranges = <16 928 16>;
    +               ti,interrupt-ranges = <16 960 16>;
            };
     
            mcu_conf: syscon@40f00000 {

    The above is for wake up domain.

    Best Regards,
    Keerthy