File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 47
47
pinctrl-names = "default";
48
48
};
49
49
50
- i2c_touchkey: i2c-touchkey {
50
+ i2c-touchkey {
51
51
compatible = "i2c-gpio";
52
52
sda-gpios = <&tlmm 8 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
53
53
scl-gpios = <&tlmm 10 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
54
54
55
- pinctrl-0 = <&nfc_touchkey_default >;
55
+ pinctrl-0 = <&touchkey_i2c_default >;
56
56
pinctrl-names = "default";
57
57
58
58
#address-cells = <1>;
62
62
compatible = "cypress,tm2-touchkey";
63
63
reg = <0x20>;
64
64
65
- interrupt-parent = <&tlmm>;
66
- interrupts = <9 IRQ_TYPE_EDGE_RISING>;
65
+ interrupts-extended = <&tlmm 9 IRQ_TYPE_EDGE_RISING>;
67
66
68
67
vcc-supply = <®_vcc_touchkey>;
69
68
vdd-supply = <®_vdd_touchkey_led>;
70
69
71
- linux,keycodes = <KEY_APPSELECT KEY_BACK>;
72
-
73
70
pinctrl-0 = <&touchkey_int_default>;
74
71
pinctrl-names = "default";
72
+
73
+ linux,keycodes = <KEY_APPSELECT KEY_BACK>;
75
74
};
76
75
};
77
76
92
91
bias-disable;
93
92
};
94
93
95
- nfc_touchkey_default: nfc- touchkey-default-state {
94
+ touchkey_i2c_default: touchkey-i2c -default-state {
96
95
pins = "gpio8", "gpio10";
97
96
function = "gpio";
98
97
drive-strength = <2>;
You can’t perform that action at this time.
0 commit comments