diff options
author | Lars Poeschel <poeschel@lemonage.de> | 2012-11-19 16:36:04 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-11-20 12:21:13 +0100 |
commit | 174a13aa8669331605b138aaf61569dd7189e453 (patch) | |
tree | 58b52bc238649f070b41a0d3ec7c71dea98aed9b /include/linux/mfd/viperboard.h | |
parent | 9d5b72de0d1627b130fa69c5edf58b5b2df4ca50 (diff) |
i2c: Add viperboard i2c master driver
This adds the mfd cell to use the i2c part of the Nano River Technologies
viperboard as i2c master.
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/viperboard.h')
-rw-r--r-- | include/linux/mfd/viperboard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/viperboard.h b/include/linux/mfd/viperboard.h index 42d339fac3e5..ef7851430d86 100644 --- a/include/linux/mfd/viperboard.h +++ b/include/linux/mfd/viperboard.h @@ -42,6 +42,8 @@ #define VPRBRD_USB_TYPE_OUT 0x40 #define VPRBRD_USB_TYPE_IN 0xc0 #define VPRBRD_USB_TIMEOUT_MS 100 +#define VPRBRD_USB_REQUEST_I2C_FREQ 0xe6 +#define VPRBRD_USB_REQUEST_I2C 0xe9 #define VPRBRD_USB_REQUEST_MAJOR 0xea #define VPRBRD_USB_REQUEST_MINOR 0xeb #define VPRBRD_USB_REQUEST_GPIOA 0xed |