[PATCH] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2015-08-07 Thread Andrew Duggan
Add devicetree binding for I2C devices and add bindings for optional parameters in the function drivers. Signed-off-by: Andrew Duggan --- I saw Benjamin Tissoires's email about the lack of a devicetree implementation for rmi_i2c.c. I decided to clean up and add documentation to the implementaion

Re: [PATCH] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2015-08-09 Thread Dmitry Torokhov
Hi Andrew, On Fri, Aug 07, 2015 at 05:37:49PM -0700, Andrew Duggan wrote: > +Optional Properties: > +- syna,sensor-name: The string containing the name of the sensor. > +- syna,attn-gpio: The GPIO number used to assert attention. > +- syna,attn-polarity: The polarity of the attention GPIO. > +- sy

Re: [PATCH] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2015-08-11 Thread Andrew Duggan
Hi Dmitry, On 08/09/2015 12:40 AM, Dmitry Torokhov wrote: Hi Andrew, On Fri, Aug 07, 2015 at 05:37:49PM -0700, Andrew Duggan wrote: +Optional Properties: +- syna,sensor-name: The string containing the name of the sensor. +- syna,attn-gpio: The GPIO number used to assert attention. +- syna,attn

Re: [PATCH] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2015-08-11 Thread Dmitry Torokhov
On Tue, Aug 11, 2015 at 12:10:26PM -0700, Andrew Duggan wrote: > Hi Dmitry, > > On 08/09/2015 12:40 AM, Dmitry Torokhov wrote: > >Hi Andrew, > > > >On Fri, Aug 07, 2015 at 05:37:49PM -0700, Andrew Duggan wrote: > >>+Optional Properties: > >>+- syna,sensor-name: The string containing the name of th