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)
22 lines
589 B
Plaintext
22 lines
589 B
Plaintext
* MELFAS MIP4 Touchscreen
|
|
|
|
Required properties:
|
|
- compatible: must be "melfas,mip4_ts"
|
|
- reg: I2C slave address of the chip (0x48 or 0x34)
|
|
- interrupt-parent: interrupt controller to which the chip is connected
|
|
- interrupts: interrupt to which the chip is connected
|
|
|
|
Optional properties:
|
|
- ce-gpios: GPIO connected to the CE (chip enable) pin of the chip
|
|
|
|
Example:
|
|
i2c@00000000 {
|
|
touchscreen: melfas_mip4@48 {
|
|
compatible = "melfas,mip4_ts";
|
|
reg = <0x48>;
|
|
interrupt-parent = <&gpio>;
|
|
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
|
|
ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|