• Magnus Damm's avatar
    ARM: mach-shmobile: sh7372 A3RV requires A4LC · 775b8ae8
    Magnus Damm authored
    Add a power domain workaround for the VPU and A3RV on sh7372.
    
    The sh7372 data sheet mentions that the VPU is located in the
    A3RV power domain. The A3RV power domain is not related to A4LC
    in any way, but testing shows that unless A3RV _and_ A4LC are
    powered on the VPU test program will bomb out.
    
    This issue may be caused by a more or less undocumented dependency
    on the MERAM block that happens to be located in A4LC. So now we
    know that the out-of-reset requirement of the VPU is that the MERAM
    is powered on.
    
    This patch adds a workaround for A3RV to make sure A4LC is powered
    on - this so we can use the VPU even though the LCDCs are in blanking
    state and A4LC is supposed to be off.
    Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
    Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    775b8ae8
pm-sh7372.c 6.41 KB