Re: [PATCH v5 7/7] Input: pixcir_i2c_ts: Add device tree support
From: Roger Quadros <hidden>
Date: 2014-05-19 07:51:09
Also in:
linux-input, lkml
On 05/19/2014 08:54 AM, Dmitry Torokhov wrote:
On Tue, May 06, 2014 at 02:06:12PM +0300, Roger Quadros wrote:quoted
Provide device tree support and binding information. Also provide support for a new chip "pixcir_tangoc". Signed-off-by: Roger Quadros <redacted> --- .../bindings/input/touchscreen/pixcir_i2c_ts.txt | 26 ++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/input/touchscreen/pixcir_i2c_ts.c | 78 ++++++++++++++++++++++ 3 files changed, 105 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/pixcir_i2c_ts.txtdiff --git a/Documentation/devicetree/bindings/input/touchscreen/pixcir_i2c_ts.txt b/Documentation/devicetree/bindings/input/touchscreen/pixcir_i2c_ts.txt new file mode 100644 index 0000000..0ab9505 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/pixcir_i2c_ts.txt@@ -0,0 +1,26 @@ +* Pixcir I2C touchscreen controllers + +Required properties: +- compatible: must be "pixcir,pixcir_ts" or "pixcir,pixcir_tangoc" +- reg: I2C address of the chip +- interrupts: interrupt to which the chip is connected +- attb-gpio: GPIO connected to the ATTB line of the chip +- x-size: horizontal resolution of touchscreen +- y-size: vertical resolution of touchscreenThere is a patch by Sebastian Reichel trying to unify touchscreen OF properties, I think it would be nice if we used the same properties here.
OK, I'll update this patch. cheers, -roger