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)
29 lines
830 B
Plaintext
29 lines
830 B
Plaintext
* Rohm BU21013 Touch Screen
|
|
|
|
Required properties:
|
|
- compatible : "rohm,bu21013_tp"
|
|
- reg : I2C device address
|
|
|
|
Optional properties:
|
|
- touch-gpio : GPIO pin registering a touch event
|
|
- <supply_name>-supply : Phandle to a regulator supply
|
|
- rohm,touch-max-x : Maximum outward permitted limit in the X axis
|
|
- rohm,touch-max-y : Maximum outward permitted limit in the Y axis
|
|
- rohm,flip-x : Flip touch coordinates on the X axis
|
|
- rohm,flip-y : Flip touch coordinates on the Y axis
|
|
|
|
Example:
|
|
|
|
i2c@80110000 {
|
|
bu21013_tp@0x5c {
|
|
compatible = "rohm,bu21013_tp";
|
|
reg = <0x5c>;
|
|
touch-gpio = <&gpio2 20 0x4>;
|
|
avdd-supply = <&ab8500_ldo_aux1_reg>;
|
|
|
|
rohm,touch-max-x = <384>;
|
|
rohm,touch-max-y = <704>;
|
|
rohm,flip-y;
|
|
};
|
|
};
|