OSDN Git Service

platform/x86: pcengines-apuv2: add mpcie reset gpio export
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 26 Jul 2019 06:21:15 +0000 (08:21 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 30 Jul 2019 11:14:25 +0000 (14:14 +0300)
commit6a0694b6a244bc43ee79b65d0ae5435fb7b74401
tree27319ebfd227f97e73b1f1ab68d44d1a9185e7a7
parentc03f282e506f1e873ef9b270cf245509d68dd53b
platform/x86: pcengines-apuv2: add mpcie reset gpio export

On APUx we have also mpcie2/mpcie3 reset pins. To make it possible to reset
the ports from the userspace, add the definition to this platform
device. The gpio can then be exported by the legancy gpio subsystem to
toggle the mpcie reset pin.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Acked-by: Enrico Weigelt <info@metux.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/pcengines-apuv2.c