1. 04 7月, 2018 1 次提交
  2. 18 6月, 2018 2 次提交
  3. 16 4月, 2018 1 次提交
  4. 23 3月, 2018 1 次提交
  5. 04 1月, 2018 1 次提交
  6. 02 1月, 2018 1 次提交
  7. 04 11月, 2017 3 次提交
  8. 19 9月, 2017 2 次提交
  9. 17 7月, 2017 1 次提交
  10. 29 6月, 2017 1 次提交
  11. 06 2月, 2017 1 次提交
  12. 26 1月, 2017 1 次提交
    • M
      pinctrl / gpio: Introduce .set_config() callback for GPIO chips · 2956b5d9
      Mika Westerberg 提交于
      Currently we already have two pin configuration related callbacks
      available for GPIO chips .set_single_ended() and .set_debounce(). In
      future we expect to have even more, which does not scale well if we need
      to add yet another callback to the GPIO chip structure for each possible
      configuration parameter.
      
      Better solution is to reuse what we already have available in the
      generic pinconf.
      
      To support this, we introduce a new .set_config() callback for GPIO
      chips. The callback takes a single packed pin configuration value as
      parameter. This can then be extended easily beyond what is currently
      supported by just adding new types to the generic pinconf enum.
      
      If the GPIO driver is backed up by a pinctrl driver the GPIO driver can
      just assign gpiochip_generic_config() (introduced in this patch) to
      .set_config and that will take care configuration requests are directed
      to the pinctrl driver.
      
      We then convert the existing drivers over .set_config() and finally
      remove the .set_single_ended() and .set_debounce() callbacks.
      Suggested-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
      Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      2956b5d9
  13. 21 11月, 2016 1 次提交
  14. 17 11月, 2016 1 次提交
  15. 24 10月, 2016 4 次提交
  16. 20 10月, 2016 1 次提交
  17. 27 9月, 2016 1 次提交
  18. 15 7月, 2016 1 次提交
  19. 05 5月, 2016 3 次提交
  20. 24 4月, 2016 2 次提交
  21. 07 4月, 2016 1 次提交
  22. 01 3月, 2016 4 次提交
  23. 18 2月, 2016 1 次提交
  24. 25 1月, 2016 1 次提交
  25. 29 12月, 2015 1 次提交
  26. 26 11月, 2015 1 次提交
  27. 23 11月, 2015 1 次提交