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)
31 lines
667 B
Plaintext
31 lines
667 B
Plaintext
* AUO in-cell touchscreen controller using Pixcir sensors
|
|
|
|
Required properties:
|
|
- compatible: must be "auo,auo_pixcir_ts"
|
|
- reg: I2C address of the chip
|
|
- interrupts: interrupt to which the chip is connected
|
|
- gpios: gpios the chip is connected to
|
|
first one is the interrupt gpio and second one the reset gpio
|
|
- x-size: horizontal resolution of touchscreen
|
|
- y-size: vertical resolution of touchscreen
|
|
|
|
Example:
|
|
|
|
i2c@00000000 {
|
|
/* ... */
|
|
|
|
auo_pixcir_ts@5c {
|
|
compatible = "auo,auo_pixcir_ts";
|
|
reg = <0x5c>;
|
|
interrupts = <2 0>;
|
|
|
|
gpios = <&gpf 2 0 2>, /* INT */
|
|
<&gpf 5 1 0>; /* RST */
|
|
|
|
x-size = <800>;
|
|
y-size = <600>;
|
|
};
|
|
|
|
/* ... */
|
|
};
|