1. 03 Jan, 2013 1 commit
    • Greg Kroah-Hartman's avatar
      Drivers: pinctrl: remove __dev* attributes. · 150632b0
      Greg Kroah-Hartman authored
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Barry Song <baohua.song@csr.com>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      150632b0
  2. 28 Nov, 2012 2 commits
  3. 21 Nov, 2012 1 commit
  4. 11 Nov, 2012 2 commits
  5. 04 Aug, 2012 1 commit
  6. 03 Jul, 2012 4 commits
  7. 18 Apr, 2012 1 commit
    • Viresh Kumar's avatar
      pinctrl: replace list_*() with get_*_count() · d1e90e9e
      Viresh Kumar authored
      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: default avatarStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@st.com>
      [Folded in fix and fixed a minor merge artifact manually]
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      d1e90e9e
  8. 12 Mar, 2012 1 commit
    • Linus Walleij's avatar
      pinctrl: support pinconfig on the U300 · dc0b1aa3
      Linus Walleij authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      dc0b1aa3
  9. 22 Feb, 2012 1 commit
    • Linus Walleij's avatar
      pinctrl: spawn U300 pinctrl from the COH901 GPIO · 128a06d4
      Linus Walleij authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      128a06d4
  10. 03 Jan, 2012 5 commits
  11. 20 Oct, 2011 2 commits
  12. 13 Oct, 2011 1 commit
    • Linus Walleij's avatar
      pinctrl: add a driver for the U300 pinmux · 98da3529
      Linus Walleij authored
      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: default avatarBarry Song <21cnbao@gmail.com>
      [Fixup for changed function names and semantics in the v10 patch]
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      98da3529