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)
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
* ST Microelectronics STMPE Multi-Functional Device
|
|
|
|
STMPE is an MFD device which may expose the following inbuilt devices: gpio,
|
|
keypad, touchscreen, adc, pwm, rotator.
|
|
|
|
Required properties:
|
|
- compatible : "st,stmpe[610|801|811|1600|1601|2401|2403]"
|
|
- reg : I2C/SPI address of the device
|
|
|
|
Optional properties:
|
|
- interrupts : The interrupt outputs from the controller
|
|
- interrupt-controller : Marks the device node as an interrupt controller
|
|
- interrupt-parent : Specifies which IRQ controller we're connected to
|
|
- wakeup-source : Marks the input device as wakable
|
|
- st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024
|
|
- irq-gpio : If present, which GPIO to use for event IRQ
|
|
|
|
Example:
|
|
|
|
stmpe1601: stmpe1601@40 {
|
|
compatible = "st,stmpe1601";
|
|
reg = <0x40>;
|
|
interrupts = <26 0x4>;
|
|
interrupt-parent = <&gpio6>;
|
|
interrupt-controller;
|
|
|
|
wakeup-source;
|
|
st,autosleep-timeout = <1024>;
|
|
};
|