mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 18:49:41 +00:00

The driver is using level triggered interrupt (low) which is backed by an active low GPIO that can be used to wake the controller by driving it low. Let's annotate it properly in the example. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220920042608.1865560-2-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
19 lines
459 B
Plaintext
19 lines
459 B
Plaintext
* EETI eGalax Multiple Touch Controller
|
|
|
|
Required properties:
|
|
- compatible: must be "eeti,egalax_ts"
|
|
- reg: i2c slave address
|
|
- interrupts: touch controller interrupt
|
|
- wakeup-gpios: the gpio pin to be used for waking up the controller
|
|
and also used as irq pin
|
|
|
|
Example:
|
|
|
|
touchscreen@4 {
|
|
compatible = "eeti,egalax_ts";
|
|
reg = <0x04>;
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
|
|
wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
|
|
};
|