1. 10 10月, 2013 1 次提交
    • R
      powerpc: add explicit OF includes · 26a2056e
      Rob Herring 提交于
      When removing prom.h include by of.h, several OF headers will no longer
      be implicitly included. Add explicit includes of of_*.h as needed.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Acked-by: NGrant Likely <grant.likely@linaro.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: linuxppc-dev@lists.ozlabs.org
      26a2056e
  2. 02 7月, 2013 1 次提交
    • D
      powerpc/mpic: add global timer support · 36ca09be
      Dongsheng.wang@freescale.com 提交于
      The MPIC global timer is a hardware timer inside the Freescale PIC complying
      with OpenPIC standard. When the specified interval times out, the hardware
      timer generates an interrupt. The driver currently is only tested on fsl chip,
      but it can potentially support other global timers complying to OpenPIC
      standard.
      
      The two independent groups of global timer on fsl chip, group A and group B,
      are identical in their functionality, except that they appear at different
      locations within the PIC register map. The hardware timer can be cascaded to
      create timers larger than the default 31-bit global timers. Timer cascade
      fields allow configuration of up to two 63-bit timers. But These two groups
      of timers cannot be cascaded together.
      
      It can be used as a wakeup source for low power modes. It also could be used
      as periodical timer for protocols, drivers and etc.
      Signed-off-by: NWang Dongsheng <dongsheng.wang@freescale.com>
      Signed-off-by: NLi Yang <leoli@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      36ca09be