Messages in this thread | | | Date | Sun, 18 May 2014 22:54:21 -0700 | From | Dmitry Torokhov <> | Subject | Re: [PATCH v5 7/7] Input: pixcir_i2c_ts: Add device tree support |
| |
On Tue, May 06, 2014 at 02:06:12PM +0300, Roger Quadros wrote: > Provide device tree support and binding information. > Also provide support for a new chip "pixcir_tangoc". > > Signed-off-by: Roger Quadros <rogerq@ti.com> > --- > .../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.txt > > diff --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 touchscreen
There 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.
Thanks.
-- Dmitry
| |