summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2015-02-23 14:53:10 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-03-06 12:19:51 +0100
commitf8323b6bb2cc7d26941d4838dd4375952980a88a (patch)
treea1fd712b834c97c7c37c1f7680c4f411565a09e8 /Makefile
parent40eeb111d7c88bfbc38e1dfe330bc4cec05e0806 (diff)
downloadblackbird-op-linux-f8323b6bb2cc7d26941d4838dd4375952980a88a.tar.gz
blackbird-op-linux-f8323b6bb2cc7d26941d4838dd4375952980a88a.zip
pinctrl: baytrail: Relax GPIO request rules
Zotac ZBOX PI320, a Baytrail based mini-PC, has power button connected to a GPIO pin and it is exposed to the operating system as Windows 8 button array. This is implemented in Linux as a driver using gpio_keys. However, BIOS on this particula machine forgot to mux the pin to be a GPIO instead of native function, which results following message to be seen on the console: byt_gpio INT33FC:02: pin 16 cannot be used as GPIO. This causes power button to not work as the driver was not able to request the GPIO it needs. So instead of completely preventing this we allow turning the pin as GPIO but issue warning that something might be wrong. Reported-by: Benjamin Adler <benadler@gmx.net> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud