1. 10 Jul, 2012 1 commit
  2. 20 Jun, 2012 4 commits
    • Paul Mundt's avatar
      sh: pfc: Verify pin type encoding size at build time. · 06d5631f
      Paul Mundt authored
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      06d5631f
    • Paul Mundt's avatar
      sh: pfc: Kill off unused pinmux bias flags. · 9f65b2b6
      Paul Mundt authored
      WANT_PULLUP/DOWN were never interfaced with anything, so just kill them
      off.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      9f65b2b6
    • Paul Mundt's avatar
      sh: pfc: Make gpio chip support optional where possible. · b16b2a26
      Paul Mundt authored
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      b16b2a26
    • Paul Mundt's avatar
      sh: pfc: Split out gpio chip support. · b3c185a7
      Paul Mundt authored
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      b3c185a7
  3. 19 Jun, 2012 1 commit
  4. 18 Jun, 2012 8 commits
  5. 17 Jun, 2012 20 commits
  6. 16 Jun, 2012 6 commits