Lines Matching +full:fuel +full:- +full:gauge
1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
24 #include "shared-psy-info.h"
25 #include "x86-android-tablets.h"
30 * The Android kernels have a hack in the i915 driver to write a non-standard
31 * panel specific DSI register to set the duty-cycle of the LCD's PWM output.
44 PROPERTY_ENTRY_U32("hid-descr-addr", 0x0001),
45 PROPERTY_ENTRY_U32("post-reset-deassert-delay-ms", 150),
54 * The HiDeep IST940E touchscreen comes up in I2C-HID mode. The native protocol
58 * PROPERTY_ENTRY_U32("hid-descr-addr", 0x0020),
59 * PROPERTY_ENTRY_U32("post-reset-deassert-delay-ms", 120),
60 * and changing board_info.type to "hid-over-i2c".
63 PROPERTY_ENTRY_U32("touchscreen-size-x", 1200),
64 PROPERTY_ENTRY_U32("touchscreen-size-y", 1920),
65 PROPERTY_ENTRY_U32("touchscreen-max-pressure", 16384),
66 PROPERTY_ENTRY_BOOL("hideep,force-native-protocol"),
76 /* BQ27542 fuel-gauge */
102 .type = "hid-over-i2c",
145 .name = "yogabook-touch-kbd-digitizer-switch",
177 .dev_id = "i2c-goodix_ts",
186 .dev_id = "i2c-hideep_ts",
194 .dev_id = "i2c-wacom",
243 /* BQ27542 fuel-gauge */
261 PROPERTY_ENTRY_STRING_ARRAY_LEN("supplied-from", tusb1211_chg_det_psy, 1),
262 PROPERTY_ENTRY_REF("monitored-battery", &generic_lipo_hv_4v35_battery_node),
263 PROPERTY_ENTRY_BOOL("omit-battery-class"),
264 PROPERTY_ENTRY_BOOL("disable-reset"),
326 /* BQ27541 fuel-gauge */
362 .dev_id = "intel-int3496",
370 #define LENOVO_YOGA_TAB2_830_1050_CODEC_NAME "spi-10WM5102:00"
377 GPIO_LOOKUP("arizona", 2, "wlf,spkvdd-ena", GPIO_ACTIVE_HIGH),
378 GPIO_LOOKUP("arizona", 4, "wlf,micd-pol", GPIO_ACTIVE_LOW),
409 * requiring the touchscreen driver to adjust the touch-coords to match the LCD.
410 * And requiring the accelerometer to have a mount-matrix set to correct for
415 "-1", "0", "0",
420 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", lenovo_yoga_tab2_830_lms303d_mount_matrix),
470 return -ENODEV; in lenovo_yoga_tab2_830_1050_init_codec()
542 /* Lenovo Yoga Tab 3 Pro YT3-X90F */
545 * There are 2 batteries, with 2 bq27500 fuel-gauges and 2 bq25892 chargers,
546 * "bq25890-charger-1" is instantiated from: drivers/i2c/busses/i2c-cht-wc.c.
549 static const char * const bq25890_1_psy[] = { "bq25890-charger-1" };
552 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq25890_1_psy),
562 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", lenovo_yt3_bq25892_0_suppliers),
563 PROPERTY_ENTRY_STRING("linux,power-supply-name", "bq25892-second-chrg"),
564 PROPERTY_ENTRY_U32("linux,iinlim-percentage", 40),
565 PROPERTY_ENTRY_BOOL("linux,skip-reset"),
567 PROPERTY_ENTRY_U32("ti,charge-current", 2048000),
568 PROPERTY_ENTRY_U32("ti,battery-regulation-voltage", 4352000),
569 PROPERTY_ENTRY_U32("ti,termination-current", 128000),
570 PROPERTY_ENTRY_U32("ti,precharge-current", 128000),
571 PROPERTY_ENTRY_U32("ti,minimum-sys-voltage", 3700000),
572 PROPERTY_ENTRY_U32("ti,boost-voltage", 4998000),
573 PROPERTY_ENTRY_U32("ti,boost-max-current", 500000),
574 PROPERTY_ENTRY_BOOL("ti,use-ilim-pin"),
583 PROPERTY_ENTRY_U32("touchscreen-size-x", 1600),
584 PROPERTY_ENTRY_U32("touchscreen-size-y", 2560),
585 PROPERTY_ENTRY_U32("touchscreen-max-pressure", 255),
595 /* bq27500 fuel-gauge for the flat lipo battery behind the screen */
620 /* bq27500 fuel-gauge for the round li-ion cells in the hinge */
662 * The "bq25892_0" charger IC has its /CE (Charge-Enable) and OTG pins in lenovo_yt3_init()
680 * gpio_desc, that is there is no way to pass lookup-flags like in lenovo_yt3_init()
682 * the /CE pin is active-low, but not marked as such in the gpio_desc. in lenovo_yt3_init()
701 .dev_id = "i2c-hideep_ts",