• A
    PM / AVS: SmartReflex: use omap_sr * for errgen interfaces · 3dfc35ff
    Andrii Tseglytskyi 提交于
    SmartReflex driver interface is natively divided to two parts:
    
    - external SmartReflex interface
    - interface between SmartReflex driver and SmartReflex Class
    
    Functions which belong to AVS class interface can use
    struct omap_sr* instead of struct voltatedomain*, to provide a
    direct connection between SR driver and SR class. This allows
    us to optimize and not do additional lookups where none is
    required.
    
    sr_disable_errgen() and sr_configure_errgen() are interface
    functions between SR driver and SR class. They are typically
    used by Class driver to configure error generator module during
    SmartReflex enable/disable sequence.
    Now they take struct omap_sr* as input parameter.
    Signed-off-by: NAndrii Tseglytskyi <andrii.tseglytskyi@ti.com>
    Acked-by: NNishanth Menon <nm@ti.com>
    Signed-off-by: NKevin Hilman <khilman@linaro.org>
    3dfc35ff
smartreflex-class3.c 1.4 KB