Skip to content

gpio: rockchip: Update the GPIO driver

Ye Zhang linux-arm-kernel linux-gpio linux-rockchip lkml 4 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 8 repliesApplied
  2. v44 patches 10 repliesSuperseded
  3. v312 patches 10 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v21 patch2 repliesSuperseded

Changes in v5 from the cover letter

- Leave the V2 case first and the V1 case last in version judgment.
- Fix the error message in version judgment.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/4gpio: rockchip: explan the format of the GPIO version IDdrivers/gpio/gpio-rockchip.c+8 -20 replies
2/4gpio: rockchip: change the GPIO version judgment logicdrivers/gpio/gpio-rockchip.c+9 -31 reply
3/4gpio: rockchip: support new version GPIOdrivers/gpio/gpio-rockchip.c+2 -00 replies
4/4gpio: rockchip: Set input direction when request irqdrivers/gpio/gpio-rockchip.c+4 -16 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchSebastian ReichelAndy Shevchenko
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] gpio: rockchip: Update the GPIO driver

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.

Changes since v3:
- Give up modifying the debounce config because it is not actually used.
- Do not add support for retrieving clocks using 'clock-names'.

Change since v4:
- Leave the V2 case first and the V1 case last in version judgment.
- Fix the error message in version judgment.

Ye Zhang (4):
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

 drivers/gpio/gpio-rockchip.c | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)
Signature · 7 lines
2.34.1


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip