arm64: dts: msm8998-oneplus-cheeseburger: Configure RMI4 F1A buttons

This allows the capacitive buttons below the touchscreen to be used on
e.g. Android normally :)
This commit is contained in:
Jami Kettunen 2021-05-22 19:18:34 +03:00
parent 3e22a6e8a3
commit 5c0b2f4545
2 changed files with 9 additions and 1 deletions

View file

@ -41,3 +41,11 @@
}; };
}; };
}; };
/* Capacitive keypad buttons */
&rmi4_i2c {
rmi4-f1a@1a {
reg = <0x1a>;
syna,codes = <KEY_BACK KEY_APPSELECT>;
};
};

View file

@ -169,7 +169,7 @@
&blsp1_i2c5 { &blsp1_i2c5 {
status = "okay"; status = "okay";
touchscreen@20 { rmi4_i2c: touchscreen@20 {
compatible = "syna,rmi4-i2c"; compatible = "syna,rmi4-i2c";
reg = <0x20>; reg = <0x20>;
#address-cells = <1>; #address-cells = <1>;