• Robert Tivy's avatar
    ARM: davinci: psc: introduce reset API · af47e6bb
    Robert Tivy authored
    Introduce an IP reset API for use on DaVinci SoC.
    
    There is no existing "reset" framework support for SoC devices.
    The remoteproc driver needs explicit control of the DSP's reset line.
    To support this, a new DaVinci specific API is added.
    
    This private API will disappear with DT migration.  Some discussion
    regarding a proposed DT "reset" binding is here:
    https://patchwork.kernel.org/patch/1635051/
    
    Modify davinci_clk_init() to set clk "reset" function for clocks
    that indicate PSC_LRST support.  Also fix indentation issue with
    function opening curly brace.
    Signed-off-by: default avatarRobert Tivy <rtivy@ti.com>
    [nsekhar@ti.com: rename davinci_psc_config_reset() to davinci_psc_reset()]
    Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
    af47e6bb
psc.c 3.77 KB