1. 12 Feb, 2021 6 commits
  2. 27 Jan, 2021 1 commit
  3. 26 Jan, 2021 4 commits
  4. 23 Jan, 2021 2 commits
    • Drew Fustini's avatar
      pinctrl: pinmux: add function selector to pinmux-functions · 3bbf9b89
      Drew Fustini authored
      Add the function selector to the pinmux-functions debugfs output. This
      is an integer which is the index into the pinmux function tree.  It will
      make it easier to correlate function name to function selector without
      having to count the lines in the output.
      
      Example output of "pinmux-functions":
      
      function 0: pinmux-uart0-pins, groups = [ pinmux-uart0-pins ]
      function 1: pinmux-uart1-pins, groups = [ pinmux-uart1-pins ]
      function 2: pinmux-uart2-pins, groups = [ pinmux-uart2-pins ]
      function 3: pinmux-mmc0-pins, groups = [ pinmux-mmc0-pins ]
      function 3: pinmux-mmc1-pins, groups = [ pinmux-mmc1-pins ]
      function 5: pinmux-i2c0-pins, groups = [ pinmux-i2c0-pins ]
      function 6: pinmux-i2c1-pins, groups = [ pinmux-i2c1-pins ]
      function 7: pinmux-i2c2-pins, groups = [ pinmux-i2c2-pins ]
      function 8: pinmux-pwm0-pins, groups = [ pinmux-pwm0-pins ]
      function 9: pinmux-pwm1-pins, groups = [ pinmux-pwm1-pins ]
      function 10: pinmux-adc-pins, groups = [ pinmux-adc-pins ]
      
      Cc: Jason Kridner <jkridner@beagleboard.org>
      Cc: Robert Nelson <robertcnelson@beagleboard.org>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
      Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
      Signed-off-by: default avatarDrew Fustini <drew@beagleboard.org>
      Link: https://lore.kernel.org/r/20210123202212.528046-1-drew@beagleboard.orgSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      3bbf9b89
    • Chanho Park's avatar
      pinctrl: samsung: use raw_spinlock for locking · 1f306ecb
      Chanho Park authored
      This patch converts spin_[lock|unlock] functions of pin bank to
      raw_spinlock to support preempt-rt. This can avoid BUG() assertion when
      irqchip callbacks are triggerred. Spinlocks can be converted rt_mutex
      which is preemptible when we apply preempt-rt patches.
      
      According to "Documentation/driver-api/gpio/driver.rst",
      
      "Realtime considerations: a realtime compliant GPIO driver should not
      use spinlock_t or any sleepable APIs (like PM runtime) as part of its
      irqchip implementation.
      
      - spinlock_t should be replaced with raw_spinlock_t.[1]
      "
      
      Cc: Tomasz Figa <tomasz.figa@gmail.com>
      Cc: Krzysztof Kozlowski <krzk@kernel.org>
      Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarChanho Park <chanho61.park@samsung.com>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Link: https://lore.kernel.org/r/20210121030009.25673-1-chanho61.park@samsung.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      1f306ecb
  5. 22 Jan, 2021 2 commits
  6. 21 Jan, 2021 8 commits
  7. 18 Jan, 2021 7 commits
  8. 14 Jan, 2021 10 commits