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.

TDA4VM: Watchdog hardware implementation.

Part Number: TDA4VM


Hi Sir : 

Q1 - Which domain, function, or component is using the watchdog?

Q2 - Is there a watchdog function in TDA4 PDK?

Q3 - Does the Linux kernel watchdog use TDA4 HW watchdog?

  • Q1 - Which domain, function, or component is using the watchdog?

    Main domain has hardware watchdog. You can check the device tree node in Linux:
    arch/arm64/boot/dts/ti/k3-j721e-main.dtsi --> main_rti0/main_rti1

    driver: drivers/watchdog/rti_wdt.c

    The event coming out of RTI goes to ESM, which generates a safety event,
    and this in turn is configured to be routed directly to PMIC to issue a system wide reset.

    Q2 - Is there a watchdog function in TDA4 PDK?

    pdk_jacinto_07_03_00_29/packages/ti/csl/src/ip/rti/V0/priv/rti.c

    Q3 - Does the Linux kernel watchdog use TDA4 HW watchdog?

    As mentioned earlier. The event coming out of RTI goes to ESM, which generates a safety event,
    and this in turn is configured to be routed directly to PMIC to issue a system wide reset.

    If you are using the Linux SDK you can test the watchdog feature using the below commands:

    cd /opt/ltp/
    ./runltp -P j721e-idk-gw -f ddt/wdt_test -s "WDT_M_FUNC_WRI"
    

    If there are no further questions the please click on verify answer.

    Best Regards,
    Keerthy