platform/x86: pcengines-apuv2: wire up simswitch gpio as led
authorEnrico Weigelt <info@metux.net>
Mon, 29 Jul 2019 14:39:26 +0000 (16:39 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 30 Jul 2019 11:14:31 +0000 (14:14 +0300)
commit5037d4ddda31c2dbbb018109655f61054b1756dc
treeeb88c6f30053e0dd26e58546df8bd0ed4cb81658
parent6a0694b6a244bc43ee79b65d0ae5435fb7b74401
platform/x86: pcengines-apuv2: wire up simswitch gpio as led

The APU3+ boards have two SIM sockets, while only one of them
can be routed to the mpcie slots at a time. Selection is done
via simswap gpio.

We currently don't have a fitting subsystem for those cases yet,
so just wire it up to a LED for the time being. While this isn't
really semantically correct, it's a good compromise.

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