sh: gpio update
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | sh: make gpio_get/set_value() O(1)arch/ arch/ | +43 | 0 replies | |
| 2/4 | sh: lockless gpio_get_value()arch/ | +63 | 0 replies | |
| 3/4 | sh: lockless gpio_set_value()arch/ arch/ | +82 | 0 replies | |
| 4/4 | sh: use gpiolibarch/ arch/ arch/ +4 more | +100 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/04] sh: gpio update
sh: gpio update
[PATCH 01/04] sh: make gpio_get/set_value() O(1)
[PATCH 02/04] sh: lockless gpio_get_value()
[PATCH 03/04] sh: lockless gpio_set_value()
[PATCH 04/04] sh: use gpiolib
This patchset improves the performance of the SuperH gpio implementation and converts it to make use of gpiolib.
The patches have been tested on Migo-R with the spi_gpio driver together with mmc_spi. Bitbanging mmc performance is improved from about 11 KBytes/s to 40 KBytes/s.
Signed-off-by Magnus Damm <[email protected]>
---
arch/sh/Kconfig | 7 arch/sh/boards/Kconfig | 4 arch/sh/include/asm/gpio.h | 70 ++++--- arch/sh/kernel/Makefile_32 | 2 arch/sh/kernel/Makefile_64 | 2 arch/sh/kernel/gpio.c | 386 ++++++++++++++++++++++++++------------------ drivers/serial/sh-sci.h | 2 7 files changed, 288 insertions(+), 185 deletions(-)