1. 16 9月, 2011 1 次提交
  2. 10 3月, 2011 1 次提交
    • O
      OMAP2+: hwmod: use status bit info for reset line · cc1226e7
      omar ramirez 提交于
      On OMAP2 and OMAP3 the reset ctrl shift doesn't match the
      status bit, as it does on OMAP4, when handling the reset lines.
      
      This patch adds a new member in the reset info structure, so now it
      can be added as part of hwmod data, and checked accordingly for
      OMAP2 or 3; otherwise, there could be cases when the shift masks
      doesn't match both of the registers, and a successful reset might
      throw an error message or vice versa.
      Signed-off-by: NOmar Ramirez Luna <omar.ramirez@ti.com>
      [paul@pwsan.com: added a warning if st_shift used on OMAP4; renamed 'r'
       variable; improved some documentation]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      cc1226e7
  3. 22 12月, 2010 3 次提交
  4. 22 9月, 2010 2 次提交
    • P
      OMAP2/3: PRM: add module hard reset support · cf21405f
      Paul Walmsley 提交于
      This patch adds hard-reset support for processor modules (e.g., DSP, IVA)
      on OMAP2/3 platforms.  It's based on the OMAP4 hard-reset support that Benoît
      developed in the previous patch.
      
      This patch is a collaboration between Benoît Cousson <b-cousson@ti.com>
      and Paul Walmsley <paul@pwsan.com>.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Benoît Cousson <b-cousson@ti.com>
      cf21405f
    • B
      OMAP4: PRM: add module hard reset support · 0be1621a
      Benoît Cousson 提交于
      Most processor modules (e.g., DSP, IVA, IPU) on OMAPs can be reset
      under the control of the PRM.  This patch adds an API for this purpose
      for OMAP4 devices:
      
      int omap4_prm_is_hardreset_asserted(void __iomem *rstctrl_reg, u8 shift);
      int omap4_prm_assert_hardreset(void __iomem *rstctrl_reg, u8 shift);
      int omap4_prm_deassert_hardreset(void __iomem *rstctrl_reg, u8 shift);
      
      This API is intended to be used only by the hwmod code - a subsequent
      patch will add that support to hwmod.
      
      This patch is a collaboration between Benoît Cousson <b-cousson@ti.com>
      and Paul Walmsley <paul@pwsan.com>.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NBenoît Cousson <b-cousson@ti.com>
      Tested-by: NKevin Hilman <khilman@deeprootsystems.com>
      0be1621a