mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
gpio: Add viperboard gpio driver
This adds the mfd cell to use the gpio a and gpio b part of the Nano River Technologies viperboard. Signed-off-by: Lars Poeschel <poeschel@lemonage.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
f01312d846
commit
9d5b72de0d
5 changed files with 536 additions and 0 deletions
|
|
@ -44,6 +44,8 @@
|
|||
#define VPRBRD_USB_TIMEOUT_MS 100
|
||||
#define VPRBRD_USB_REQUEST_MAJOR 0xea
|
||||
#define VPRBRD_USB_REQUEST_MINOR 0xeb
|
||||
#define VPRBRD_USB_REQUEST_GPIOA 0xed
|
||||
#define VPRBRD_USB_REQUEST_GPIOB 0xdd
|
||||
|
||||
struct vprbrd_i2c_write_hdr {
|
||||
u8 cmd;
|
||||
|
|
|
|||
Loading…
Reference in a new issue