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.

AM5728: DSP and IVA DPLL configuration

Guru 16800 points
Part Number: AM5728
Other Parts Discussed in Thread: TMDSEVM572X

Hello,

My customers don't use DSP and IVA and they are considering stopping the PLL core of IVA and DSP.
Can they stop the DPLL_DSP and DPLL_IVA?
If yes, please let me know the way how to stop these PLLs.

Best Regards,
Nomo

  • The factory team have been notified. They will respond here.
  • Nomo,

    The Power and Clock domains are fully configurable through register accesses.  I will forward this to an expect in this control.

    Tom

  • Hello Tom-san,

    Thank you for your reply.
    My customers want to know the procedure to stop DSP and IVA on the evaluation board (TMDSEVM572X).
    Could you let me know the simplest way (e.g. sysfs) to stop DSP and IVA?

    Best Regards,
    Nomo
  • Hi,

    Are you use CCS GEL, Processor SDK RTOS or Linux? The simplest way is in the CCS GEL, AM572x_PRCM_Module_AllEnable_Config(), remove the entry for DSP1, DSP2, IVA PRCM clock:

    prcm_set_clkdomain_state(DSP1_CM_CORE_AON, DSP1_CM_CORE_AON__CM_DSP1_CLKSTCTRL, SW_WKUP );
    prcm_set_clkdomain_state(DSP2_CM_CORE_AON, DSP2_CM_CORE_AON__CM_DSP2_CLKSTCTRL, SW_WKUP );
    prcm_set_clkdomain_state(IVA_CM_CORE, IVA_CM_CORE__CM_IVA_CLKSTCTRL, SW_WKUP );

    prcm_set_proc_mode(IVA_CM_CORE, IVA_CM_CORE__CM_IVA_SL2_CLKCTRL, MODE_AUTO );
    prcm_set_proc_mode(IVA_CM_CORE, IVA_CM_CORE__CM_IVA_IVA_CLKCTRL, MODE_AUTO );

    Regards, Eric
  • Hello Eric-san,

    Thank you for your reply.

    My customers are considering the system that DSP doesn't activate in Linux.
    Therefore, u-boot or dts settings will be needed for them.
    Could you tell me the point should be modified in u-boot or dts.

    Best Regards,
    Nomo
  • Nomo,

    Thanks! I will ask our Linux team for help!

    Regards, Eric
  • For u-boot try removing the iva entry in hw_data.c so that it looks like this

    struct dplls dra7xx_dplls = {
            .mpu = mpu_dpll_params_1ghz,
            .core = core_dpll_params_2128mhz_dra7xx,
            .per = per_dpll_params_768mhz_dra7xx,
            .abe = abe_dpll_params_sysclk2_361267khz,
            .iva = iva_dpll_params_2330mhz_dra7xx,
            .usb = usb_dpll_params_1920mhz,
            .ddr = ddr_dpll_params_2128mhz,
            .gmac = gmac_dpll_params_2000mhz,
    };

    The dsp does not get enabled in u-boot. I am looking at the kernel now and will post what to do there.

    Steve K.

  • I forgot to delete the .iva entry. That's what needs deleting.

    Also in your u-boot .dts file, change the mailboxes from status="okay" to status="disabled"

    I have to spend more time looking at Linux, but it looks like a lot of status="disabled"
  • Hello Steve-san,

    Thank you for your kind support.
    I'll check your advices.

    Best Regards,
    Nomo
  • Did you make the changes I suggested and did they work?

    Steve K.
  • Hello Steve-san,

    Thank you for your message.
    My customers closed this questoin, so it looks like they work properly by your advice.
    If they make additional question, I'll post a new thread.

    Best Regards,
    Nomo