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.

AM5749: How to modify EVE frequency

Other Parts Discussed in Thread: AM5749

Hello support!!

I'm using AM5749 with PROCESSOR-SDK-LINUX-RT-AM57X  05.03.

How can I change EVE freq? By analogy with my post about DSP freq: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1052493/am5749-how-to-modify-opp-for-dsp-eve/3902160#3902160

Opp is set on a HIGH in ".config". Omap conf show me 535 MHz and actually I can't understand what is wrong.I would like to Increase it on a maximum 650.

BR,

Oleg

  • Hi Oleg,

    I am somewhat confused, since you say EVE is running at 535 MHz, whereas from your previous post, EVEs were already running at 650 MHz.

    Did you rebuild U-Boot to select a different OPP? What changed since your previous run? Make sure the .config reflects the OPP_HIGH setting.

    regards

    Suman

  • I am confused after my  experiments with DSP freq...My EVE working on 535 I don't know what is happened I tried to roll back my settings and check OPP in .config but is is looks ok. And I would like to know where I can change it ?

    BR,

    Oleg

  • Hi Oleg,

    EVEs and DSPs are controlled by the same OPP menuconfig setting. So, it is the same Kconfig option as referenced in your previous thread.

    You cannot mix and match DSP and EVE to be at different OPP frequencies, so either both are running at OPP_HIGH or both are running at OPP_OVERDRIVE.

    regards

    Suman

  • Hello Anna,

    I didn't match and mix DSP and EVE I know it is different things The question was: How can I change EVE freq?

    Opp is set on a HIGH in ".config". It is like you understood mean the settings OPP  through menuconfig was set like a HIGH. Pardon me, maybe I asked the question incorrectly but I didn't get information where exactly or what I should change...Is this the only place where I can change the frequency? Or I can do it in U-boot like analogy with DSP???

    BR,

    Oleg

  • Hi Oleg,

    Yes, the U-Boot menuconfig is the only place where the OPP is configured. U-Boot configures the appropriate AVS settings based on this setting and changes the dtb clock frequencies. 

    I looked into the code again and noticed that Linux is actually not configuring/setting the EVE DPLL frequencies. It's only doing this for DSP, IVA, GPU and MPU.

    What application are you running - it must be setting the EVE frequencies. I expect the omapconf show opp to show 0 against EVEs and omapconf show dpll  to show the DPLL_EVE in bypass.

    What SYSCLK are you using for your board?

    In anycase, please try with the following changes to your dts file for OPP_HIGH on EVE.

    &dpll_eve_ck {
        assigned-clocks = <&dpll_eve_ck>;
        assigned-clock-rates = <1300000000>;    <== Use 1070000000 for OPP_NOM
    };
    
    &dpll_eve_m2_ck {
        assigned-clocks = <&dpll_eve_m2_ck>;
        assigned-clock-rates = <650000000>;     <== Use 535000000 for OPP_NOM
    };

    NOTE: The above is a quick fix, a formal Linux solution will need to use U-Boot to patch the above frequencies, but will need to account for all DRA7xx/AM57xx variants.

    regards

    Suman