Commit 3a29355
gpio: Add virtio-gpio driver
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>1 parent d0ef631 commit 3a29355
File tree
6 files changed
+440
-0
lines changed- drivers/gpio
- include/uapi/linux
6 files changed
+440
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19647 | 19647 | | |
19648 | 19648 | | |
19649 | 19649 | | |
| 19650 | + | |
| 19651 | + | |
| 19652 | + | |
| 19653 | + | |
| 19654 | + | |
| 19655 | + | |
| 19656 | + | |
19650 | 19657 | | |
19651 | 19658 | | |
19652 | 19659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1669 | 1669 | | |
1670 | 1670 | | |
1671 | 1671 | | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
1672 | 1681 | | |
1673 | 1682 | | |
1674 | 1683 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
0 commit comments