Lines Matching +full:termination +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
26 #include "shared-psy-info.h"
27 #include "x86-android-tablets.h"
32 * The Android kernels have a hack in the i915 driver to write a non-standard
33 * panel specific DSI register to set the duty-cycle of the LCD's PWM output.
45 * But on some models the panel's PWM output defaults to a duty-cycle of
64 PROPERTY_ENTRY_U32("hid-descr-addr", 0x0001),
65 PROPERTY_ENTRY_U32("post-reset-deassert-delay-ms", 150),
74 * The HiDeep IST940E touchscreen comes up in I2C-HID mode. The native protocol
78 * PROPERTY_ENTRY_U32("hid-descr-addr", 0x0020),
79 * PROPERTY_ENTRY_U32("post-reset-deassert-delay-ms", 120),
80 * and changing board_info.type to "hid-over-i2c".
83 PROPERTY_ENTRY_U32("touchscreen-size-x", 1200),
84 PROPERTY_ENTRY_U32("touchscreen-size-y", 1920),
85 PROPERTY_ENTRY_U32("touchscreen-max-pressure", 16384),
86 PROPERTY_ENTRY_BOOL("hideep,force-native-protocol"),
96 /* BQ27542 fuel-gauge */
124 .type = "hid-over-i2c",
169 .name = "yogabook-touch-kbd-digitizer-switch",
201 .dev_id = "i2c-goodix_ts",
210 .dev_id = "i2c-hideep_ts",
218 .dev_id = "i2c-wacom",
267 /* BQ27542 fuel-gauge */
285 PROPERTY_ENTRY_STRING_ARRAY_LEN("supplied-from", tusb1211_chg_det_psy, 1),
286 PROPERTY_ENTRY_REF("monitored-battery", &generic_lipo_hv_4v35_battery_node),
287 PROPERTY_ENTRY_BOOL("omit-battery-class"),
288 PROPERTY_ENTRY_BOOL("disable-reset"),
351 /* BQ27541 fuel-gauge */
387 .dev_id = "intel-int3496",
395 #define LENOVO_YOGA_TAB2_830_1050_CODEC_NAME "spi-10WM5102:00"
402 GPIO_LOOKUP("arizona", 2, "wlf,spkvdd-ena", GPIO_ACTIVE_HIGH),
403 GPIO_LOOKUP("arizona", 4, "wlf,micd-pol", GPIO_ACTIVE_LOW),
434 * requiring the touchscreen driver to adjust the touch-coords to match the LCD.
435 * And requiring the accelerometer to have a mount-matrix set to correct for
440 "-1", "0", "0",
445 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", lenovo_yoga_tab2_830_lms303d_mount_matrix),
496 return -ENODEV; in lenovo_yoga_tab2_830_1050_init_codec()
568 /* Lenovo Yoga Tab 3 Pro YT3-X90F */
571 * There are 2 batteries, with 2 bq27500 fuel-gauges and 2 bq25892 chargers,
572 * "bq25890-charger-1" is instantiated from: drivers/i2c/busses/i2c-cht-wc.c.
575 static const char * const bq25890_1_psy[] = { "bq25890-charger-1" };
578 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq25890_1_psy),
588 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", lenovo_yt3_bq25892_0_suppliers),
589 PROPERTY_ENTRY_U32("linux,iinlim-percentage", 40),
590 PROPERTY_ENTRY_BOOL("linux,skip-reset"),
592 PROPERTY_ENTRY_U32("ti,charge-current", 2048000),
593 PROPERTY_ENTRY_U32("ti,battery-regulation-voltage", 4352000),
594 PROPERTY_ENTRY_U32("ti,termination-current", 128000),
595 PROPERTY_ENTRY_U32("ti,precharge-current", 128000),
596 PROPERTY_ENTRY_U32("ti,minimum-sys-voltage", 3700000),
597 PROPERTY_ENTRY_U32("ti,boost-voltage", 4998000),
598 PROPERTY_ENTRY_U32("ti,boost-max-current", 500000),
599 PROPERTY_ENTRY_BOOL("ti,use-ilim-pin"),
608 PROPERTY_ENTRY_U32("touchscreen-size-x", 1600),
609 PROPERTY_ENTRY_U32("touchscreen-size-y", 2560),
610 PROPERTY_ENTRY_U32("touchscreen-max-pressure", 255),
620 /* bq27500 fuel-gauge for the flat lipo battery behind the screen */
646 /* bq27500 fuel-gauge for the round li-ion cells in the hinge */
693 * value from extcon-arizona.c:arizona_micd_levels halfway 2 button resistances.
770 * The "bq25892_0" charger IC has its /CE (Charge-Enable) and OTG pins in lenovo_yt3_init()
771 * connected to GPIOs, rather then having them hardwired to the correct in lenovo_yt3_init()
801 .dev_id = "i2c-hideep_ts",
811 GPIO_LOOKUP("INT33FF:00", 75, "wlf,spkvdd-ena", GPIO_ACTIVE_HIGH),
814 GPIO_LOOKUP("arizona", 2, "wlf,micd-pol", GPIO_ACTIVE_HIGH),