• Sowjanya Komatineni's avatar
    soc/tegra: pmc: Configure deep sleep control settings · c7ccfcca
    Sowjanya Komatineni authored
    Tegra210 and prior Tegra chips have deep sleep entry and wakeup related
    timings which are platform specific that should be configured before
    entering into deep sleep.
    
    Below are the timing specific configurations for deep sleep entry and
    wakeup.
    - Core rail power-on stabilization timer
    - OSC clock stabilization timer after SOC rail power is stabilized.
    - Core power off time is the minimum wake delay to keep the system
      in deep sleep state irrespective of any quick wake event.
    
    These values depends on the discharge time of regulators and turn OFF
    time of the PMIC to allow the complete system to finish entering into
    deep sleep state.
    
    These values vary based on the platform design and are specified
    through the device tree.
    
    This patch has implementation to configure these timings which are must
    to have for proper deep sleep and wakeup operations.
    Signed-off-by: default avatarSowjanya Komatineni <skomatineni@nvidia.com>
    Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    c7ccfcca
pmc.c 76.8 KB