Re: [PATCH v6] input: drv260x: Add TI drv260x haptics driver
flat view
From: Dmitry Torokhov <hidden>
Date: 2014-08-19 19:24:14
Also in:
linux-devicetree, lkml
Hi Dan, On Fri, Aug 15, 2014 at 10:47:50AM -0500, Dan Murphy wrote:
quoted hunk ↗ jump to hunk
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig index 2ff4425..99f6762 100644 --- a/drivers/input/misc/Kconfig +++ b/drivers/input/misc/Kconfig@@ -676,4 +676,13 @@ config INPUT_SOC_BUTTON_ARRAY To compile this driver as a module, choose M here: the module will be called soc_button_array. +config INPUT_DRV260X_HAPTICS + tristate "TI DRV260X haptics support" + depends on INPUT && I2C
This also needs "select REGMAP_I2C"
quoted hunk ↗ jump to hunk
+ help + Say Y to enable support for the TI DRV260X haptics driver. + + To compile this driver as a module, choose M here: the + module will be called drv260x-haptics. +
[...]
quoted hunk ↗ jump to hunk
+#ifndef _LINUX_DRV260X_PDATA_H +#define _LINUX_DRV260X_PDATA_H + +struct drv260x_platform_data { + int enable_gpio;
I do not see this used anywhere.
quoted hunk ↗ jump to hunk
+ u32 library_selection; + u32 mode; + u32 vib_rated_voltage; + u32 vib_overdrive_voltage; +}; + +#endif
I fixed up the above issues and did a few more formatting changes and applied to my 'next' branch. Please take a peek and holler if you see something wrong. Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html