• K
    OMAP2+: hwmod: add API to handle autoidle mode · 9599217a
    Kishon Vijay Abraham I 提交于
    Create a new API that forms a wrapper to _set_module_autoidle()
    to modify the AUTOIDLE bit.
    
    This API is intended to be used by drivers that requires direct
    manipulation of the AUTOIDLE bits in SYSCONFIG register.
    McBSP driver requires autoidle bit to be enabled/disabled while
    using sidetone feature.
    Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com>
    Cc: Paul Walmsley <paul@pwsan.com>
    Cc: Benoit Cousson <b-cousson@ti.com>
    [paul@pwsan.com: restrict the hwmod states that the autoidle bit can be changed
     in; changed function name; dropped "int" from "unsigned int long"]
    Signed-off-by: NPaul Walmsley <paul@pwsan.com>
    9599217a
omap_hwmod.c 60.9 KB