• Mark A. Greer's avatar
    davinci: Add support for multiple PSCs · d81d188c
    Mark A. Greer authored
    The current code to support the DaVinci Power and Sleep Controller (PSC)
    assumes that there is only one controller.  This assumption is no longer
    valid so expand the support to allow greater than one PSC.
    
    To accomplish this, put the base addresses for the PSCs in the SoC
    infrastructure so it can be referenced by the PSC code.  This also
    requires adding an extra parameter to davinci_psc_config() to specify
    the PSC that is to be enabled/disabled.
    Signed-off-by: default avatarMark A. Greer <mgreer@mvista.com>
    Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    d81d188c
clock.c 8.42 KB