Skip to content

gpio: gpio-omap: set of fixes and big clean-up

Grygorii Strashko linux-gpio linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20gpio: gpio-omap: ensure irq is enabled before wakeupdrivers/gpio/gpio-omap.c+8 -71 reply
2/20gpio: gpio-omap: fix lack of irqstatus_raw0 for OMAP4drivers/gpio/gpio-omap.c+2 -01 reply
3/20gpio: gpio-omap: remove remainder of list managementdrivers/gpio/gpio-omap.c+0 -21 reply
4/20gpio: gpio-omap: clean up edge interrupt handlingdrivers/gpio/gpio-omap.c+9 -111 reply
5/20gpio: gpio-omap: remove irq_ack methoddrivers/gpio/gpio-omap.c+3 -141 reply
6/20gpio: gpio-omap: move omap_gpio_request() and omap_gpio_free()drivers/gpio/gpio-omap.c+32 -321 reply
7/20gpio: gpio-omap: simplify omap_gpio_get_direction()drivers/gpio/gpio-omap.c+3 -101 reply
8/20gpio: gpio-omap: simplify get() methoddrivers/gpio/gpio-omap.c+6 -191 reply
9/20gpio: gpio-omap: simplify get_multiple()drivers/gpio/gpio-omap.c+11 -251 reply
10/20gpio: gpio-omap: simplify set_multiple()drivers/gpio/gpio-omap.c+7 -381 reply
11/20gpio: gpio-omap: simplify bank->level_maskdrivers/gpio/gpio-omap.c+3 -40 replies
12/20gpio: gpio-omap: simplify read-modify-writedrivers/gpio/gpio-omap.c+30 -531 reply
13/20gpio: gpio-omap: simplify omap_toggle_gpio_edge_triggering()drivers/gpio/gpio-omap.c+4 -181 reply
14/20gpio: gpio-omap: simplify omap_set_gpio_irqenable()drivers/gpio/gpio-omap.c+15 -461 reply
15/20gpio: gpio-omap: remove dataout variation in context handlingdrivers/gpio/gpio-omap.c+2 -101 reply
16/20gpio: gpio-omap: clean up omap_gpio_restore_context()drivers/gpio/gpio-omap.c+15 -211 reply
17/20gpio: gpio-omap: constify register tablesdrivers/gpio/gpio-omap.c include/linux/platform_data/gpio-omap.h+7 -71 reply
18/20gpio: gpio-omap: clean up wakeup handlingdrivers/gpio/gpio-omap.c+13 -231 reply
19/20gpio: gpio-omap: irq_startup() must not return error codesdrivers/gpio/gpio-omap.c+0 -51 reply
20/20gpio: gpio-omap: clean up register access in omap2_set_gpio_debounce()drivers/gpio/gpio-omap.c+1 -33 replies

Reviews trailers per patch

None of the 20 patches has a Reviewed-by or Acked-by.

PatchTony Lindgren
SeriesT-b
1/20
2/20
3/20
4/20
5/20
6/20
7/20
8/20
9/20
10/20
11/20
12/20
13/20
14/20
15/20
16/20
17/20
18/20
19/20
20/20

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

Read the v1 thread

Cover letter [PATCH-next 00/20] gpio: gpio-omap: set of fixes and big clean-up

Hi Linus, Russell, Tony, All,

This series contains set of patches from Russell King which were circulated internally for quite some time already and I fill it's reasonable to move future discussion upstream (and also avoid rebasing).
Fisrt two patches are fixes and the rest are big, great clean up from Russell King.

Personally, I like this clean up and refactoring very much and don't want it to be lost.

Code can be found at:
[email protected]:~gragst/ti-linux-kernel/gragsts-ti-linux-kernel.git
branch:
lkml-next-gpio-clean-up

Russell King (20):
gpio: gpio-omap: ensure irq is enabled before wakeup
gpio: gpio-omap: fix lack of irqstatus_raw0 for OMAP4
gpio: gpio-omap: remove remainder of list management
gpio: gpio-omap: clean up edge interrupt handling
gpio: gpio-omap: remove irq_ack method
gpio: gpio-omap: move omap_gpio_request() and omap_gpio_free()
gpio: gpio-omap: simplify omap_gpio_get_direction()
gpio: gpio-omap: simplify get() method
gpio: gpio-omap: simplify get_multiple()
gpio: gpio-omap: simplify set_multiple()
gpio: gpio-omap: simplify bank->level_mask
gpio: gpio-omap: simplify read-modify-write
gpio: gpio-omap: simplify omap_toggle_gpio_edge_triggering()
gpio: gpio-omap: simplify omap_set_gpio_irqenable()
gpio: gpio-omap: remove dataout variation in context handling
gpio: gpio-omap: clean up omap_gpio_restore_context()
gpio: gpio-omap: constify register tables
gpio: gpio-omap: clean up wakeup handling
gpio: gpio-omap: irq_startup() must not return error codes
gpio: gpio-omap: clean up register access in omap2_set_gpio_debounce()

 drivers/gpio/gpio-omap.c                | 497 ++++++++----------------
 include/linux/platform_data/gpio-omap.h |   2 +-
 2 files changed, 161 insertions(+), 338 deletions(-)
Signature · 1 line
2.17.1