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