Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Samsung tm2-touchkey
2
3Required properties:
4- compatible: must be "cypress,tm2-touchkey"
5- reg: I2C address of the chip.
6- interrupt-parent: a phandle for the interrupt controller (see interrupt
7 binding[0]).
8- interrupts: interrupt to which the chip is connected (see interrupt
9 binding[0]).
10- vcc-supply : internal regulator output. 1.8V
11- vdd-supply : power supply for IC 3.3V
12
13[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
14
15Example:
16 &i2c0 {
17 /* ... */
18
19 touchkey@20 {
20 compatible = "cypress,tm2-touchkey";
21 reg = <0x20>;
22 interrupt-parent = <&gpa3>;
23 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
24 vcc-supply=<&ldo32_reg>;
25 vdd-supply=<&ldo33_reg>;
26 };
27 };