[PATCH v3 0/2] Add device driver for APU2/APU3 GPIOs
From: Florian Eckert
Date: Wed Nov 14 2018 - 02:36:07 EST
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
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 APU2/APU3 GPIOs
kernel: Add reset button platform device for APU2/APU3
arch/x86/Kconfig | 14 ++
arch/x86/platform/Makefile | 1 +
arch/x86/platform/amd/Makefile | 1 +
arch/x86/platform/amd/apu.c | 72 ++++++++++
drivers/gpio/Kconfig | 8 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-apu.c | 316 +++++++++++++++++++++++++++++++++++++++++
7 files changed, 413 insertions(+)
create mode 100644 arch/x86/platform/amd/Makefile
create mode 100644 arch/x86/platform/amd/apu.c
create mode 100644 drivers/gpio/gpio-apu.c
--
2.11.0