Lines Matching +full:home +full:- +full:button
1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
18 #include <dt-bindings/leds/common.h>
20 #include "shared-psy-info.h"
21 #include "x86-android-tablets.h"
23 /* Acer Iconia One 7 B1-750 has an Android factory image with everything hardcoded */
25 "-1", "0", "0",
31 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", acer_b1_750_mount_matrix),
41 /* Novatek NVT-ts touchscreen */
43 .type = "NVT-ts",
45 .dev_name = "NVT-ts",
54 .con_id = "NVT-ts_irq",
76 .dev_id = "i2c-NVT-ts",
98 * Advantech MICA-071
99 * This is a standard Windows tablet, but it has an extra "quick launch" button
101 * Use the x86-android-tablets infra to create a gpio-keys device for this.
104 .button = {
127 PROPERTY_ENTRY_U32("touchscreen-size-x", 1665),
128 PROPERTY_ENTRY_U32("touchscreen-size-y", 1140),
129 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
130 PROPERTY_ENTRY_BOOL("silead,home-button"),
131 PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-chuwi-hi8.fw"),
141 "0", "-1", "0",
146 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", chuwi_hi8_mount_matrix),
196 return -ENODEV; in chuwi_hi8_init()
211 * in the button row with the power + volume-buttons labeled P and F.
212 * Use the x86-android-tablets infra to create a gpio-keys device for these.
216 .button = {
228 .button = {
252 * The device boots up in "Windows 7" mode, when the home button sends a in czc_p10t_init()
253 * Windows specific key sequence (Left Meta + D) and the second button in czc_p10t_init()
255 * This is a surprising behavior when the second button is labeled "Back". in czc_p10t_init()
257 * The vendor-supplied Android-x86 build switches the device to a "Android" in czc_p10t_init()
264 * In the Android mode, the home button sends just a single scancode, in czc_p10t_init()
266 * button only sends a scancode without toggling the kill switch. in czc_p10t_init()
268 * in userspace, depending on how the button is labeled on that particular in czc_p10t_init()
287 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", medion_lifetab_s10346_accel_mount_matrix),
297 PROPERTY_ENTRY_BOOL("touchscreen-inverted-x"),
298 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
343 .dev_id = "i2c-goodix_ts",
364 "0", "-1", "0",
365 "-1", "0", "0",
370 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", nextbook_ares8_accel_mount_matrix),
379 PROPERTY_ENTRY_U32("touchscreen-size-x", 800),
380 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
401 .type = "edt-ft5x06",
434 "0", "-1", "0",
439 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", nextbook_ares8a_accel_mount_matrix),
460 .type = "edt-ft5x06",
478 .dev_id = "i2c-ft5416",
498 * This is a standard Windows tablet, but it has a special Dolby button.
499 * This button has a WMI interface, but that is broken. Instead of trying to
500 * use the broken WMI interface, instantiate a gpio-keys device for this.
503 .button = {
527 "-1", "0", "0",
533 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", whitelabel_tm800a550l_accel_mount_matrix),
542 PROPERTY_ENTRY_STRING("firmware-name", "gt912-tm800a550l.fw"),
543 PROPERTY_ENTRY_STRING("goodix,config-name", "gt912-tm800a550l.cfg"),
544 PROPERTY_ENTRY_U32("goodix,main-clk", 54),
581 .dev_id = "i2c-goodix_ts",
603 * "multi-led" to align with the name in the device tree.
615 PROPERTY_ENTRY_STRING("linux,default-trigger", "bq27520-0-charging-orange-full-green"),
620 .name = "multi-led",
668 * For the LEDs which backlight the Menu / Home / Back capacitive buttons on
701 return -ENOMEM; in xiaomi_mipad2_init()
703 led_cdev->name = "mipad2:white:touch-buttons-backlight"; in xiaomi_mipad2_init()
704 led_cdev->max_brightness = LED_FULL; in xiaomi_mipad2_init()
705 led_cdev->default_trigger = "input-events"; in xiaomi_mipad2_init()
706 led_cdev->brightness_set_blocking = xiaomi_mipad2_brightness_set; in xiaomi_mipad2_init()
708 led_cdev->flags = LED_CORE_SUSPENDRESUME; in xiaomi_mipad2_init()
731 /* BQ27520 fuel-gauge */