1/* SPDX-License-Identifier: GPL-2.0-or-later
2 *
3 * Shared psy info for X86 tablets which ship with Android as the factory image
4 * and which have broken DSDT tables. The factory kernels shipped on these
5 * devices typically have a bunch of things hardcoded, rather than specified
6 * in their DSDT.
7 *
8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
9 */
10#ifndef __PDX86_SHARED_PSY_INFO_H
11#define __PDX86_SHARED_PSY_INFO_H
12
13struct bq24190_platform_data;
14struct gpiod_lookup_table;
15struct platform_device_info;
16struct software_node;
17
18extern const char * const tusb1211_chg_det_psy[];
19extern const char * const bq24190_psy[];
20extern const char * const bq25890_psy[];
21
22extern const struct software_node fg_bq24190_supply_node;
23extern const struct software_node fg_bq25890_supply_node;
24extern const struct software_node generic_lipo_hv_4v35_battery_node;
25
26extern struct bq24190_platform_data bq24190_pdata;
27extern const char * const bq24190_modules[];
28
29extern const struct platform_device_info int3496_pdevs[];
30extern struct gpiod_lookup_table int3496_reference_gpios;
31
32#endif
33

source code of linux/drivers/platform/x86/x86-android-tablets/shared-psy-info.h