+7
−0
+9
−0
+1
−0
drivers/gpio/gpio-virtio.c
0 → 100644
+375
−0
include/uapi/linux/virtio_gpio.h
0 → 100644
+47
−0
Loading
This patch adds a new driver for Virtio based GPIO devices. This allows a guest VM running Linux to access GPIO lines provided by the host. It supports all basic operations, except interrupts for the GPIO lines. Based on the initial work posted by: "Enrico Weigelt, metux IT consult" <lkml@metux.net>. Reviewed-by:Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by:
Bartosz Golaszewski <bgolaszewski@baylibre.com>