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)
35 lines
784 B
Plaintext
35 lines
784 B
Plaintext
* Neonode infrared touchscreen controller
|
|
|
|
Required properties:
|
|
- compatible: must be "neonode,zforce"
|
|
- reg: I2C address of the chip
|
|
- interrupts: interrupt to which the chip is connected
|
|
- reset-gpios: reset gpio the chip is connected to
|
|
- x-size: horizontal resolution of touchscreen
|
|
- y-size: vertical resolution of touchscreen
|
|
|
|
Optional properties:
|
|
- irq-gpios : interrupt gpio the chip is connected to
|
|
- vdd-supply: Regulator controlling the controller supply
|
|
|
|
Example:
|
|
|
|
i2c@00000000 {
|
|
/* ... */
|
|
|
|
zforce_ts@50 {
|
|
compatible = "neonode,zforce";
|
|
reg = <0x50>;
|
|
interrupts = <2 0>;
|
|
vdd-supply = <®_zforce_vdd>;
|
|
|
|
reset-gpios = <&gpio5 9 0>; /* RST */
|
|
irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
|
|
|
|
x-size = <800>;
|
|
y-size = <600>;
|
|
};
|
|
|
|
/* ... */
|
|
};
|