linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/12] gpio: rockchip: Update the GPIO driver
@ 2024-09-03  7:36 Ye Zhang
  2024-09-03  7:36 ` [PATCH v3 01/12] gpio: rockchip: avoid division by zero Ye Zhang
                   ` (11 more replies)
  0 siblings, 12 replies; 20+ messages in thread
From: Ye Zhang @ 2024-09-03  7:36 UTC (permalink / raw)
  To: Ye Zhang, linus.walleij, brgl, heiko, linux-gpio,
	linux-arm-kernel
  Cc: linux-rockchip, linux-kernel, mika.westerberg, andriy.shevchenko,
	tao.huang, finley.xiao, tim.chen, elaine.zhang

GPIO driver support acpi and new version, set input direction in
irq_request_resources, fix division error and debounce config error.

Changes since v1:
- Split commits with multiple changes into separate commits.
- Adjust backportable fix to the forefront.
- Modify messages of some commits.

Changes since v2:
- Optimize version number comments.
- Modify the GPIO version judgment logic.
- Use devm_clk_get_enabled to simplify the code.
- Use guard instead of mutex_lock to simplify the code.
- Use irq_hw_number_t and irqd_to_hwirq() in the request irq function.
- Since list_first_entry cannot return NULL, remove the NULL check.
- Temporarily do not add support for ACPI.

Ye Zhang (12):
  gpio: rockchip: avoid division by zero
  gpio: rockchip: release reference to device node
  gpio: rockchip: resolve overflow issues
  gpio: rockchip: resolve underflow issue
  gpio: rockchip: fix debounce calculate
  gpio: rockchip: Update debounce config function
  gpio: rockchip: support 'clock-names' from dt nodes
  gpio: rockchip: explan the format of the GPIO version ID
  gpio: rockchip: change the GPIO version judgment logic
  gpio: rockchip: support new version gpio
  gpio: rockchip: Set input direction when request irq
  gpio: rockchip: replace mutex_lock() with guard()

 drivers/gpio/gpio-rockchip.c       | 151 ++++++++++++++++++-----------
 drivers/pinctrl/pinctrl-rockchip.h |   2 +
 2 files changed, 99 insertions(+), 54 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-09-03 17:42 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03  7:36 [PATCH v3 00/12] gpio: rockchip: Update the GPIO driver Ye Zhang
2024-09-03  7:36 ` [PATCH v3 01/12] gpio: rockchip: avoid division by zero Ye Zhang
2024-09-03 15:53   ` Andy Shevchenko
2024-09-03  7:36 ` [PATCH v3 02/12] gpio: rockchip: release reference to device node Ye Zhang
2024-09-03  7:36 ` [PATCH v3 03/12] gpio: rockchip: resolve overflow issues Ye Zhang
2024-09-03  7:36 ` [PATCH v3 04/12] gpio: rockchip: resolve underflow issue Ye Zhang
2024-09-03 15:55   ` Andy Shevchenko
2024-09-03  7:36 ` [PATCH v3 05/12] gpio: rockchip: fix debounce calculate Ye Zhang
2024-09-03  7:36 ` [PATCH v3 08/12] gpio: rockchip: explan the format of the GPIO version ID Ye Zhang
2024-09-03 16:03   ` Andy Shevchenko
2024-09-03  7:36 ` [PATCH v3 09/12] gpio: rockchip: change the GPIO version judgment logic Ye Zhang
2024-09-03 16:05   ` Andy Shevchenko
2024-09-03  7:36 ` [PATCH v3 12/12] gpio: rockchip: replace mutex_lock() with guard() Ye Zhang
2024-09-03 16:10   ` Andy Shevchenko
2024-09-03 16:52   ` Christophe JAILLET
2024-09-03 16:52     ` Christophe JAILLET
     [not found] ` <20240903073649.237362-8-ye.zhang@rock-chips.com>
2024-09-03 15:59   ` [PATCH v3 07/12] gpio: rockchip: support 'clock-names' from dt nodes Andy Shevchenko
2024-09-03 16:00 ` [PATCH v3 00/12] gpio: rockchip: Update the GPIO driver Andy Shevchenko
     [not found] ` <20240903073649.237362-11-ye.zhang@rock-chips.com>
2024-09-03 16:07   ` [PATCH v3 10/12] gpio: rockchip: support new version gpio Andy Shevchenko
     [not found] ` <20240903073649.237362-12-ye.zhang@rock-chips.com>
2024-09-03 16:08   ` [PATCH v3 11/12] gpio: rockchip: Set input direction when request irq Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).