0001 Synaptics RMI4 2D Sensor Device Binding
0002
0003 The Synaptics RMI4 core is able to support RMI4 devices using different
0004 transports and different functions. This file describes the device tree
0005 bindings for devices which contain 2D sensors using Function 11 or
0006 Function 12. Complete documentation for transports and other functions
0007 can be found in:
0008 Documentation/devicetree/bindings/input/rmi4.
0009
0010 RMI4 Function 11 and Function 12 are for 2D touch position sensing.
0011 Additional documentation for F11 can be found at:
0012 http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf
0013
0014 Optional Touch Properties:
0015 Description in Documentation/devicetree/bindings/input/touchscreen
0016 - touchscreen-inverted-x
0017 - touchscreen-inverted-y
0018 - touchscreen-swapped-x-y
0019 - touchscreen-x-mm
0020 - touchscreen-y-mm
0021
0022 Optional Properties:
0023 - syna,clip-x-low: Sets a minimum value for X.
0024 - syna,clip-y-low: Sets a minimum value for Y.
0025 - syna,clip-x-high: Sets a maximum value for X.
0026 - syna,clip-y-high: Sets a maximum value for Y.
0027 - syna,offset-x: Add an offset to X.
0028 - syna,offset-y: Add an offset to Y.
0029 - syna,delta-x-threshold: Set the minimum distance on the X axis required
0030 to generate an interrupt in reduced reporting
0031 mode.
0032 - syna,delta-y-threshold: Set the minimum distance on the Y axis required
0033 to generate an interrupt in reduced reporting
0034 mode.
0035 - syna,sensor-type: Set the sensor type. 1 for touchscreen 2 for touchpad.
0036 - syna,disable-report-mask: Mask for disabling posiiton reporting. Used to
0037 disable reporing absolute position data.
0038 - syna,rezero-wait-ms: Time in miliseconds to wait after issuing a rezero
0039 command.
0040
0041
0042 Example of a RMI4 I2C device with F11:
0043 Example:
0044 &i2c1 {
0045 rmi4-i2c-dev@2c {
0046 compatible = "syna,rmi4-i2c";
0047
0048 ...
0049
0050 rmi4-f11@11 {
0051 reg = <0x11>;
0052 touchscreen-inverted-y;
0053 syna,sensor-type = <2>;
0054 };
0055 };
0056 };