• B
    OMAP4: hwmod & CM: Implement the omap4_cm_wait_module_ready function · 9a23dfe1
    Benoit Cousson 提交于
    The return of the omap4_cm_wait_module_ready function is checked
    in order to avoid accessing the sysconfig register if the module is
    not in the correct state.
    In that case the _setup will exit without trying to reset
    using sysconfig.
    For the moment a warning is printed. A proper management of fclk
    and module reset will have to be done in order to init correctly
    the problematic IPs listed below.
    
      <4>omap_hwmod: ivahd: cannot be enabled (3)
      <4>omap_hwmod: iss: cannot be enabled (3)
      <4>omap_hwmod: tesla: cannot be enabled (3)
      <4>omap_hwmod: sdma: cannot be enabled (3)
      <4>omap_hwmod: sl2: cannot be enabled (3)
      <4>omap_hwmod: sad2d: cannot be enabled (3)
      <4>omap_hwmod: ducati: cannot be enabled (3)
    Signed-off-by: NBenoit Cousson <b-cousson@ti.com>
    Signed-off-by: NPaul Walmsley <paul@pwsan.com>
    9a23dfe1
cm.h 4.7 KB