• Paul Walmsley's avatar
    OMAP3: control/PM: move padconf save code to mach-omap2/control.c · 596efe47
    Paul Walmsley authored
    Move the padconf save code from pm34xx.c to the System Control Module
    code in mach-omap2/control.c.  This is part of the general push to
    move direct register access from middle-layer core code to low-level
    core code, so the middle-layer code can be abstracted to work on
    multiple platforms and cleaned up.
    
    In the medium-to-long term, this code should be called by the mux
    layer code, not the PM idle code.  This is because, according to the
    TRM, saving the padconf only needs to be done when the padconf
    changes[1].
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Cc: Kevin Hilman <khilman@deeprootsystems.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Tested-by: default avatarRajendra Nayak <rnayak@ti.com>
    Tested-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
    
    1. OMAP34xx Multimedia Device Silicon Revision 3.1.x [Rev. ZH] [SWPU222H]
       Section 4.11.4 "Device Off-Mode Sequences"
    596efe47
prcm.h 1.3 KB