Skip to content
Snippets Groups Projects
  • Ye Li's avatar
    f2d1f950
    MLK-14689 mx7ulp: Workaround APLL PFD2 to 345.6Mhz · f2d1f950
    Ye Li authored
    
    The GPU uses APLL PFD2 as its clock parent (483.84Mhz) with divider set to 1.
    This frequecy is out of ULP A0 spec. The MAX rate for GPU is 350Mhz.
    So we simply configure the APLL PFD2 to 345.6Mhz (FRAC=28) to workaround the problem.
    The correct fix should let GPU handle the clock rate in kernel.
    
    Signed-off-by: default avatarYe Li <ye.li@nxp.com>
    (cherry picked from commit e931d534)
    f2d1f950
    History
    MLK-14689 mx7ulp: Workaround APLL PFD2 to 345.6Mhz
    Ye Li authored
    
    The GPU uses APLL PFD2 as its clock parent (483.84Mhz) with divider set to 1.
    This frequecy is out of ULP A0 spec. The MAX rate for GPU is 350Mhz.
    So we simply configure the APLL PFD2 to 345.6Mhz (FRAC=28) to workaround the problem.
    The correct fix should let GPU handle the clock rate in kernel.
    
    Signed-off-by: default avatarYe Li <ye.li@nxp.com>
    (cherry picked from commit e931d534)
clock.c 10.03 KiB