Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
28 lines
850 B
Plaintext
28 lines
850 B
Plaintext
* Elan eKTF2127 I2C touchscreen controller
|
|
|
|
Required properties:
|
|
- compatible : "elan,ektf2127"
|
|
- reg : I2C slave address of the chip (0x40)
|
|
- interrupt-parent : a phandle pointing to the interrupt controller
|
|
serving the interrupt for this chip
|
|
- interrupts : interrupt specification for the ektf2127 interrupt
|
|
- power-gpios : GPIO specification for the pin connected to the
|
|
ektf2127's wake input. This needs to be driven high
|
|
to take ektf2127 out of it's low power state
|
|
|
|
For additional optional properties see: touchscreen.txt
|
|
|
|
Example:
|
|
|
|
i2c@00000000 {
|
|
ektf2127: touchscreen@15 {
|
|
compatible = "elan,ektf2127";
|
|
reg = <0x15>;
|
|
interrupt-parent = <&pio>;
|
|
interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>
|
|
power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;
|
|
touchscreen-inverted-x;
|
|
touchscreen-swapped-x-y;
|
|
};
|
|
};
|