1. 10 7月, 2012 1 次提交
  2. 20 6月, 2012 3 次提交
    • P
      sh: pfc: Verify pin type encoding size at build time. · 06d5631f
      Paul Mundt 提交于
      The encoding is tightly packed, and future changes (such as
      pinconf-generic support) can easily lead to a situation where we violate
      the encoding constraints and trample data bit/reg bits. This plugs in
      some sanity checks by way of a BUILD_BUG_ON() to blow up if we fail to
      fit.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      06d5631f
    • P
      sh: pfc: Make gpio chip support optional where possible. · b16b2a26
      Paul Mundt 提交于
      This implements some Kconfig knobs for ensuring that the PFC gpio chip
      can be disabled or built as a module in the cases where it's optional, or
      forcibly enabled in cases where it's not.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b16b2a26
    • P
      sh: pfc: Split out gpio chip support. · b3c185a7
      Paul Mundt 提交于
      This implements a bit of rework for the PFC code, making the core itself
      slightly more pluggable and moving out the gpio chip handling completely.
      
      The API is preserved in such a way that platforms that depend on it for
      early configuration are still able to do so, while making it possible to
      migrate to alternate interfaces going forward.
      
      This is the first step of chainsawing necessary to support the pinctrl
      API, with the eventual goal being able to decouple pin function state
      from the gpio API while retaining gpio chip tie-in for gpio pin functions
      only, relying on the pinctrl/pinmux API for non-gpio function demux.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b3c185a7
  3. 22 5月, 2012 1 次提交
    • P
      sh: intc: Kill off special reservation interface. · 5f19f14f
      Paul Mundt 提交于
      At present reserving the IRLs in the IRQ bitmap in addition to the
      dropping of the legacy IRQ pre-allocation prevent IRL IRQs from being
      allocated for the x3proto board.
      
      The only reason to permit reservations was to lock down possible hardware
      vectors prior to dynamic IRQ scanning, but this doesn't matter much given
      that the hardware controller configuration is sorted before we get around
      to doing any dynamic IRQ allocation anyways. Beyond that, all of the
      tables are __init annotated, so quite a bit more work would need to be
      done to support reconfiguring things like IRL controllers on the fly,
      much more than would ever make it worth the hassle.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5f19f14f
  4. 12 4月, 2012 1 次提交
  5. 11 4月, 2012 1 次提交
  6. 28 3月, 2012 1 次提交
    • P
      sh: intc: Fix up section mismatch for intc_ack_data · b448d6ad
      Paul Mundt 提交于
      intc_ack_data is flagged as __init when it shouldn't be, causing section
      mismatches in non-init paths like intc_set_ack_handle():
      
      WARNING: drivers/built-in.o(.text+0x5d760):
      Section mismatch in reference from the function
      intc_set_ack_handle() to the function .init.text:intc_ack_data()
      The function intc_set_ack_handle()
      references the function __init intc_ack_data().
      This is often because intc_set_ack_handle lacks a __init
      annotation or the annotation of intc_ack_data is wrong.
      Reported-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b448d6ad
  7. 13 3月, 2012 1 次提交
  8. 26 1月, 2012 1 次提交
  9. 24 1月, 2012 6 次提交
  10. 12 1月, 2012 1 次提交
  11. 10 1月, 2012 1 次提交
  12. 09 1月, 2012 5 次提交
  13. 26 12月, 2011 1 次提交
  14. 22 12月, 2011 1 次提交
  15. 09 12月, 2011 5 次提交
  16. 24 11月, 2011 1 次提交
  17. 18 11月, 2011 4 次提交
  18. 11 11月, 2011 3 次提交
    • P
      sh: clkfwk: Kill off remaining debugfs cruft. · 79e70664
      Paul Mundt 提交于
      Now that all of the named string association with clocks has been
      migrated to clkdev lookups there's no meaningful named topology that can
      be constructed for a debugfs tree view. Get rid of the left over bits,
      and shrink struct clk a bit in the process.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      79e70664
    • P
      d03299ee
    • P
      drivers: sh: Generalize runtime PM platform stub. · 750a7eee
      Paul Mundt 提交于
      The runtime PM platform support stub in use by ARM-based SH/R-Mobile
      platforms contains nothing that's specifically ARM-related and instead of
      wholly generic to anything using the clock framework.
      
      The recent runtime PM changes interact rather badly with the lazy
      disabling of clocks late in the boot process through the clock framework,
      leading to situations where the runtime suspend/resume paths are entered
      without a clock being actively driven due to having been lazily gated
      off.
      
      In order to correct this we can trivially tie in the aforementioned stub
      as a general fallback for all SH platforms that don't presently have
      their own runtime PM implementations (the corner case being SH-based
      SH-Mobile platforms, which have their own stub through the hwblk API --
      which in turn has bitrotted and will be subsequently adapted to use the
      same stub as everyone else), regardless of whether the platforms choose
      to define power domains of their own or not.
      
      This fixes up regressions for clock framework users who also build in
      runtime PM support without any specific power domains of their own, which
      was previously causing the serial console to be lost when warring with
      lazy clock disabling.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      750a7eee
  19. 04 11月, 2011 2 次提交