On Tue, Feb 02, 2016 at 05:44:17PM -0800, Andrew Duggan wrote: > Add devicetree binding for I2C devices and add bindings for optional > parameters in the function drivers. Parameters for function drivers are > defined in child nodes for each of the functions. > > Signed-off-by: Andrew Duggan <aduggan@xxxxxxxxxxxxx> > --- > .../devicetree/bindings/input/rmi4/rmi_f01.txt | 39 ++++++++++++++++ > .../devicetree/bindings/input/rmi4/rmi_i2c.txt | 53 ++++++++++++++++++++++ > .../devicetree/bindings/vendor-prefixes.txt | 1 + > drivers/input/rmi4/rmi_bus.c | 35 ++++++++++++++ > drivers/input/rmi4/rmi_bus.h | 4 -- > drivers/input/rmi4/rmi_driver.c | 28 ++++++++++++ > drivers/input/rmi4/rmi_f01.c | 50 ++++++++++++++++++++ > drivers/input/rmi4/rmi_i2c.c | 12 ++++- > 8 files changed, 217 insertions(+), 5 deletions(-) > create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_f01.txt > create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_i2c.txt > > diff --git a/Documentation/devicetree/bindings/input/rmi4/rmi_f01.txt b/Documentation/devicetree/bindings/input/rmi4/rmi_f01.txt > new file mode 100644 > index 0000000..096855c > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/rmi4/rmi_f01.txt > @@ -0,0 +1,39 @@ > +Synaptics RMI4 F01 Device Binding > + > +The Synaptics RMI4 core is able to support RMI4 devices using different > +transports and different functions. This file describes the device tree > +bindings for devices which contain Function 1. Complete documentation > +for transports and other functions can be found in: > +Documentation/devicetree/bindings/input/rmi4. > + > +Additional documentation for F01 can be found at: > +http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf > + > +Optional Properties: > +- syna,nosleep-mode: If set the device will run at full power without sleeping. > + nosleep has 3 modes, 0 will not change the default > + setting, 1 will disable nosleep (allow sleeping), > + and 2 will enable nosleep (disabling sleep). > +- syna,wakeup-threshold: Defines the amplitude of the disturbance to the > + background capacitance that will cause the > + device to wake from dozing. > +- syna,doze-holdoff-msec: The delay to wait after the last finger lift and the > + first doze cycle. > +- syna,doze-interval-msec: The time period that the device sleeps between finger > + activity. Sorry, but I told you the wrong suffix. It should be just '-ms'. I've finally done my TODO list item of documenting what suffixes to use. Otherwise, for the bindings: Acked-by: Rob Herring <robh@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html