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)
33 lines
930 B
Plaintext
33 lines
930 B
Plaintext
Zeitec ZET6223 I2C touchscreen controller
|
|
|
|
Required properties:
|
|
- compatible : "zeitec,zet6223"
|
|
- reg : I2C slave address of the chip (0x76)
|
|
- interrupt-parent : a phandle pointing to the interrupt controller
|
|
serving the interrupt for this chip
|
|
- interrupts : interrupt specification for the zet6223 interrupt
|
|
|
|
Optional properties:
|
|
|
|
- vio-supply : Specification for VIO supply (1.8V or 3.3V,
|
|
depending on system interface needs).
|
|
- vcc-supply : Specification for 3.3V VCC supply.
|
|
- touchscreen-size-x : See touchscreen.txt
|
|
- touchscreen-size-y : See touchscreen.txt
|
|
- touchscreen-inverted-x : See touchscreen.txt
|
|
- touchscreen-inverted-y : See touchscreen.txt
|
|
- touchscreen-swapped-x-y : See touchscreen.txt
|
|
|
|
Example:
|
|
|
|
i2c@00000000 {
|
|
|
|
zet6223: touchscreen@76 {
|
|
compatible = "zeitec,zet6223";
|
|
reg = <0x76>;
|
|
interrupt-parent = <&pio>;
|
|
interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>
|
|
};
|
|
|
|
};
|