viperboard.c (f01312d846016dbd38cc9865e580298fb61f2aa7) | viperboard.c (9d5b72de0d1627b130fa69c5edf58b5b2df4ca50) |
---|---|
1/* 2 * Nano River Technologies viperboard driver 3 * 4 * This is the core driver for the viperboard. There are cell drivers 5 * available for I2C, ADC and both GPIOs. SPI is not yet supported. 6 * The drivers do not support all features the board exposes. See user 7 * manual of the viperboard. 8 * --- 24 unchanged lines hidden (view full) --- 33static const struct usb_device_id vprbrd_table[] = { 34 { USB_DEVICE(0x2058, 0x1005) }, /* Nano River Technologies */ 35 { } /* Terminating entry */ 36}; 37 38MODULE_DEVICE_TABLE(usb, vprbrd_table); 39 40static struct mfd_cell vprbrd_devs[] = { | 1/* 2 * Nano River Technologies viperboard driver 3 * 4 * This is the core driver for the viperboard. There are cell drivers 5 * available for I2C, ADC and both GPIOs. SPI is not yet supported. 6 * The drivers do not support all features the board exposes. See user 7 * manual of the viperboard. 8 * --- 24 unchanged lines hidden (view full) --- 33static const struct usb_device_id vprbrd_table[] = { 34 { USB_DEVICE(0x2058, 0x1005) }, /* Nano River Technologies */ 35 { } /* Terminating entry */ 36}; 37 38MODULE_DEVICE_TABLE(usb, vprbrd_table); 39 40static struct mfd_cell vprbrd_devs[] = { |
41 { 42 .name = "viperboard-gpio", 43 }, |
|
41}; 42 43static int vprbrd_probe(struct usb_interface *interface, 44 const struct usb_device_id *id) 45{ 46 struct vprbrd *vb; 47 48 u16 version = 0; --- 81 unchanged lines hidden --- | 44}; 45 46static int vprbrd_probe(struct usb_interface *interface, 47 const struct usb_device_id *id) 48{ 49 struct vprbrd *vb; 50 51 u16 version = 0; --- 81 unchanged lines hidden --- |