1. 29 11月, 2012 1 次提交
  2. 12 11月, 2012 2 次提交
  3. 15 10月, 2012 1 次提交
    • A
      pinctrl: sirf: remove sirfsoc_gpio_set_pull function · 7bec2074
      Arnd Bergmann 提交于
      The prima2 platform advertises needing no mach/gpio.h header file,
      but its pinctrl driver now has a sirfsoc_gpio_set_pull function
      that uses constants defined in arch/arm/mach-prima2/include/mach/gpio.h,
      which fails to build.
      
      Fortunately, the sirfsoc_gpio_set_pull is not used anywhere in the
      kernel, so we can safely remove it. Any out of tree drivers using
      it will have to be converted to use proper pinctrl functions to
      do the same.
      
      Without this patch, building prima2_defconfig results in:
      
      drivers/pinctrl/pinctrl-sirf.c: In function 'sirfsoc_gpio_set_pull':
      drivers/pinctrl/pinctrl-sirf.c:1331:7: error: 'SIRFSOC_GPIO_PULL_NONE' undeclared (first use in this function)
      drivers/pinctrl/pinctrl-sirf.c:1331:7: note: each undeclared identifier is reported only once for each function it appears in
      drivers/pinctrl/pinctrl-sirf.c:1334:7: error: 'SIRFSOC_GPIO_PULL_UP' undeclared (first use in this function)
      drivers/pinctrl/pinctrl-sirf.c:1338:7: error: 'SIRFSOC_GPIO_PULL_DOWN' undeclared (first use in this function)
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NBarry Song <Baohua.Song@csr.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      7bec2074
  4. 28 9月, 2012 5 次提交
  5. 05 9月, 2012 1 次提交
  6. 07 8月, 2012 1 次提交
  7. 02 7月, 2012 1 次提交
  8. 04 6月, 2012 1 次提交
  9. 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
  10. 03 1月, 2012 3 次提交
  11. 02 12月, 2011 1 次提交
  12. 25 10月, 2011 1 次提交
  13. 20 10月, 2011 2 次提交
  14. 13 10月, 2011 1 次提交