linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Add device driver for APU2/APU3 GPIOs
@ 2018-11-15 13:31 Florian Eckert
  2018-11-15 13:32 ` [PATCH v4 1/2] gpio: Add driver for PC Engines APU boards Florian Eckert
  2018-11-15 13:32 ` [PATCH v4 2/2] platform: Add reset button device " Florian Eckert
  0 siblings, 2 replies; 5+ messages in thread
From: Florian Eckert @ 2018-11-15 13:31 UTC (permalink / raw)
  To: linus.walleij, andy.shevchenko, piotr.krol, Eckert.Florian, dvhart
  Cc: platform-driver-x86, linux-kernel, linux-gpio, Florian Eckert

Changes v2:
- Update SPDX short identifier
- Remove gpio-keys-polled device moved to arch/x86/platform
- Fix styling
- Use spinnlock only there where it is useful
- Removed useless output on driver load
- Do bit manipulation later not on IO
- Add additional GPIOs handling mpci2_reset and mpcie3_reset.
- Add name to GPIOs exported via sysfs

Changes v3:
- Add a new platform device for the frontpanel push button.
- Get global variables from the heap
- Fix errors/warnings generated by ./scripts/checkpatch.pl

Changes v4:
gpio-apu.c
- Move bit shifting out of spinnlock
- Change declaration of int to unsigned int
- Remove redundant blank line
- Use dmi table callback
- Remove noise
pcengines-apu-platform.c
- Move platform device to drivers/platform/x86
- Remove needless include
- Add dmi information so that this device is only present on APU2
  APU3 boards from PC Engines

Until now it was not possible to get more information to detect the
MMIO_BASE address from the ACPI subsystem.

Florian Eckert (2):
  gpio: Add driver for PC Engines APU boards
  platform: Add reset button device for PC Engines APU boards

 drivers/gpio/Kconfig                          |   8 +
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-apu.c                       | 299 ++++++++++++++++++++++++++
 drivers/platform/x86/Kconfig                  |  11 +
 drivers/platform/x86/Makefile                 |   1 +
 drivers/platform/x86/pcengines-apu-platform.c | 114 ++++++++++
 6 files changed, 434 insertions(+)
 create mode 100644 drivers/gpio/gpio-apu.c
 create mode 100644 drivers/platform/x86/pcengines-apu-platform.c

-- 
2.11.0


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

end of thread, other threads:[~2018-11-20  7:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-15 13:31 [PATCH v4 0/2] Add device driver for APU2/APU3 GPIOs Florian Eckert
2018-11-15 13:32 ` [PATCH v4 1/2] gpio: Add driver for PC Engines APU boards Florian Eckert
2018-11-19 13:46   ` Linus Walleij
2018-11-20  7:14     ` Florian Eckert
2018-11-15 13:32 ` [PATCH v4 2/2] platform: Add reset button device " Florian Eckert

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).