mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-18 22:34:48 +00:00
a4054596e9
Provide device tree support and binding information. Also provide support for a new chip "pixcir_tangoc". Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
27 lines
655 B
Plaintext
27 lines
655 B
Plaintext
* 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
|
|
- touchscreen-size-x: horizontal resolution of touchscreen (in pixels)
|
|
- touchscreen-size-y: vertical resolution of touchscreen (in pixels)
|
|
|
|
Example:
|
|
|
|
i2c@00000000 {
|
|
/* ... */
|
|
|
|
pixcir_ts@5c {
|
|
compatible = "pixcir,pixcir_ts";
|
|
reg = <0x5c>;
|
|
interrupts = <2 0>;
|
|
attb-gpio = <&gpf 2 0 2>;
|
|
touchscreen-size-x = <800>;
|
|
touchscreen-size-y = <600>;
|
|
};
|
|
|
|
/* ... */
|
|
};
|