All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] staging: mt7621-gpio: last cleanups
@ 2018-06-11  5:17 Sergio Paracuellos
  2018-06-11  5:17 ` [PATCH v2 1/7] staging: mt7621-gpio: make use 'bgpio_init' from GPIO_GENERIC Sergio Paracuellos
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Sergio Paracuellos @ 2018-06-11  5:17 UTC (permalink / raw)
  To: gregkh; +Cc: neil, driverdev-devel

After submiting this driver to try to get mainlined and get
out of staging some new cleanups seems to be necessary.
According to this main of Linus Walleij:

http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-June/121742.html

this series tries to fix all of the issues in order to send
v2 and give it a new try. Because I don't have to hardware to
test my changes I send new cleanups first in staging to make
easier to NeilBrown test it and get a feedback about them.

Changes in v2:
    - Patch where GPIOLIB_IRQCHIP was used avoiding
      the use of a custom irq domain has been dropped to
      be sure after this changes all is working properly.
      (This was PATCH 7 in previous series)
    - PATCH 1: 
         * avoid introducing new macros and use 'bank'
           field of mtk_gc with register offset.
         * Make correct use of bgpio_init passing new
           void __iomem pointers instead of use the
           macros. 
    - Previous series PATCH 8 now is PATCH 7. Avoid the
      use of a switch-case statement which was wrong and
      distinc if we have RISSING AND FALLING EDGE interrupt
      or HIGH LOW level ones. This last two are exclusive and
      cannot be generated at the same time.

Also, I think is we finally avoid to use a new irq_domain the
need for the new functions introduced for request and release
resources dissapears. I was diving down the other drivers code
and I see that these two only are used in drivers which use its
own irq_domain. Correct me if I am wrong, please.

Hope this helps.

Thanks in advance.

Best regards,
    Sergio Paracuellos

Sergio Paracuellos (7):
  staging: mt7621-gpio: make use 'bgpio_init' from GPIO_GENERIC
  staging: mt7621-gpio: avoid including 'gpio.h'
  staging: mt7621-gpio: make use of 'builtin_platform_driver'
  staging: mt7621-gpio: implement '.irq_[request|release]_resources'
    functions
  staging: mt7621-gpio: add COMPILE_TEST
  staging: mt7621-gpio: add kerneldoc for state data containers
  staging: mt7621-gpio: implement high level and low level irqs

 drivers/staging/mt7621-gpio/Kconfig       |   3 +-
 drivers/staging/mt7621-gpio/gpio-mt7621.c | 251 ++++++++++++++++--------------
 2 files changed, 138 insertions(+), 116 deletions(-)

-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

end of thread, other threads:[~2018-06-12  7:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-11  5:17 [PATCH v2 0/7] staging: mt7621-gpio: last cleanups Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 1/7] staging: mt7621-gpio: make use 'bgpio_init' from GPIO_GENERIC Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 2/7] staging: mt7621-gpio: avoid including 'gpio.h' Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 3/7] staging: mt7621-gpio: make use of 'builtin_platform_driver' Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 4/7] staging: mt7621-gpio: implement '.irq_[request|release]_resources' functions Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 5/7] staging: mt7621-gpio: add COMPILE_TEST Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 6/7] staging: mt7621-gpio: add kerneldoc for state data containers Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 7/7] staging: mt7621-gpio: implement high level and low level irqs Sergio Paracuellos
2018-06-11  7:12   ` NeilBrown
2018-06-11  8:33 ` [PATCH v2 0/7] staging: mt7621-gpio: last cleanups NeilBrown
2018-06-11 13:42   ` Sergio Paracuellos
2018-06-12  2:01     ` NeilBrown
2018-06-12  7:17       ` Sergio Paracuellos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.