File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,14 @@ static struct touchkey_variant aries_touchkey_variant = {
75
75
.cmd_led_off = ARIES_TOUCHKEY_CMD_LED_OFF ,
76
76
};
77
77
78
+ static const struct touchkey_variant tc360_touchkey_variant = {
79
+ .keycode_reg = 0x00 ,
80
+ .base_reg = 0x00 ,
81
+ .fixed_regulator = true,
82
+ .cmd_led_on = TM2_TOUCHKEY_CMD_LED_ON ,
83
+ .cmd_led_off = TM2_TOUCHKEY_CMD_LED_OFF ,
84
+ };
85
+
78
86
static int tm2_touchkey_led_brightness_set (struct led_classdev * led_dev ,
79
87
enum led_brightness brightness )
80
88
{
@@ -327,6 +335,9 @@ static const struct of_device_id tm2_touchkey_of_match[] = {
327
335
}, {
328
336
.compatible = "cypress,aries-touchkey" ,
329
337
.data = & aries_touchkey_variant ,
338
+ }, {
339
+ .compatible = "coreriver,tc360-touchkey" ,
340
+ .data = & tc360_touchkey_variant ,
330
341
},
331
342
{ },
332
343
};
You can’t perform that action at this time.
0 commit comments