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 = {
7575 .cmd_led_off = ARIES_TOUCHKEY_CMD_LED_OFF ,
7676};
7777
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+
7886static int tm2_touchkey_led_brightness_set (struct led_classdev * led_dev ,
7987 enum led_brightness brightness )
8088{
@@ -327,6 +335,9 @@ static const struct of_device_id tm2_touchkey_of_match[] = {
327335 }, {
328336 .compatible = "cypress,aries-touchkey" ,
329337 .data = & aries_touchkey_variant ,
338+ }, {
339+ .compatible = "coreriver,tc360-touchkey" ,
340+ .data = & tc360_touchkey_variant ,
330341 },
331342 { },
332343};
You can’t perform that action at this time.
0 commit comments