1. 05 8月, 2012 1 次提交
  2. 04 7月, 2012 4 次提交
  3. 18 4月, 2012 1 次提交
    • V
      pinctrl: replace list_*() with get_*_count() · d1e90e9e
      Viresh Kumar 提交于
      Most of the SoC drivers implement list_groups() and list_functions()
      routines for pinctrl and pinmux. These routines continue returning
      zero until the selector argument is greater than total count of
      available groups or functions.
      
      This patch replaces these list_*() routines with get_*_count()
      routines, which returns the number of available selection for SoC
      driver. pinctrl layer will use this value to check the range it can
      choose.
      
      This patch fixes all user drivers for this change. There are other
      routines in user drivers, which have checks to check validity of
      selector passed to them. It is also no more required and hence
      removed.
      
      Documentation updated as well.
      Acked-by: NStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: NViresh Kumar <viresh.kumar@st.com>
      [Folded in fix and fixed a minor merge artifact manually]
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      d1e90e9e
  4. 13 3月, 2012 1 次提交
    • L
      pinctrl: support pinconfig on the U300 · dc0b1aa3
      Linus Walleij 提交于
      This adds pin configuration support for the U300 driver pair,
      we can now read out the biasing and drive mode in debugfs and
      configure it using the new configuration API.
      
      ChangeLog v1->v2:
      - Migrate to pin config and generic pin config changes.
      ChangeLog v2->v3:
      - Adjust to generic pin config changes in v7 patch set.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      dc0b1aa3
  5. 23 2月, 2012 1 次提交
    • L
      pinctrl: spawn U300 pinctrl from the COH901 GPIO · 128a06d4
      Linus Walleij 提交于
      This solves the riddle on how the U300 pin controller shall be
      able to reference the struct gpio_chip even though these are
      two separate drivers: spawn the pinctrl child from the GPIO
      driver and pass in the struct gpio_chip as platform data.
      In the process we rename the U300 "pinmux-u300" to
      "pinctrl-u300" so as not to confuse.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      128a06d4
  6. 03 1月, 2012 5 次提交
  7. 20 10月, 2011 2 次提交
  8. 13 10月, 2011 1 次提交
    • L
      pinctrl: add a driver for the U300 pinmux · 98da3529
      Linus Walleij 提交于
      This adds a driver for the U300 pinmux portions of the system
      controller "SYSCON". It also serves as an example of how to use
      the pinmux subsystem. This driver also houses the platform data
      for the only supported platform.
      
      This deletes the old U300 driver in arch/arm/mach-u300 and
      replace it with a driver using the new subsystem.
      
      The new driver is considerably fatter than the old one, but it
      also registers all 467 pins of the system and adds the power
      and EMIF pin groups and corresponding functions. The idea
      is to use this driver as a a reference for other
      implementation so it needs to be as complete and verbose
      as possible.
      Reviewed-by: NBarry Song <21cnbao@gmail.com>
      [Fixup for changed function names and semantics in the v10 patch]
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      98da3529