hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt
....@@ -1,12 +1,19 @@
11 Samsung tm2-touchkey
22
33 Required properties:
4
-- compatible: must be "cypress,tm2-touchkey"
4
+- compatible:
5
+ * "cypress,tm2-touchkey" - for the touchkey found on the tm2 board
6
+ * "cypress,midas-touchkey" - for the touchkey found on midas boards
7
+ * "cypress,aries-touchkey" - for the touchkey found on aries boards
8
+ * "coreriver,tc360-touchkey" - for the Coreriver TouchCore 360 touchkey
59 - reg: I2C address of the chip.
610 - interrupts: interrupt to which the chip is connected (see interrupt
711 binding[0]).
812 - vcc-supply : internal regulator output. 1.8V
913 - vdd-supply : power supply for IC 3.3V
14
+
15
+Optional properties:
16
+- linux,keycodes: array of keycodes (max 4), default KEY_PHONE and KEY_BACK
1017
1118 [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
1219
....@@ -21,5 +28,6 @@
2128 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
2229 vcc-supply=<&ldo32_reg>;
2330 vdd-supply=<&ldo33_reg>;
31
+ linux,keycodes = <KEY_PHONE KEY_BACK>;
2432 };
2533 };