• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Samsung tm2-touchkey
2
3Required properties:
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- reg: I2C address of the chip.
9- interrupts: interrupt to which the chip is connected (see interrupt
10	binding[0]).
11- vcc-supply : internal regulator output. 1.8V
12- vdd-supply : power supply for IC 3.3V
13
14Optional properties:
15- linux,keycodes: array of keycodes (max 4), default KEY_PHONE and KEY_BACK
16
17[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
18
19Example:
20	&i2c0 {
21		/* ... */
22
23		touchkey@20 {
24			compatible = "cypress,tm2-touchkey";
25			reg = <0x20>;
26			interrupt-parent = <&gpa3>;
27			interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
28			vcc-supply=<&ldo32_reg>;
29			vdd-supply=<&ldo33_reg>;
30			linux,keycodes = <KEY_PHONE KEY_BACK>;
31		};
32	};
33