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 | |
13 | struct bq24190_platform_data; |
14 | struct gpiod_lookup_table; |
15 | struct platform_device_info; |
16 | struct software_node; |
17 | |
18 | extern const char * const tusb1211_chg_det_psy[]; |
19 | extern const char * const bq24190_psy[]; |
20 | extern const char * const bq25890_psy[]; |
21 | |
22 | extern const struct software_node fg_bq24190_supply_node; |
23 | extern const struct software_node fg_bq25890_supply_node; |
24 | extern const struct software_node generic_lipo_hv_4v35_battery_node; |
25 | |
26 | extern struct bq24190_platform_data bq24190_pdata; |
27 | extern const char * const bq24190_modules[]; |
28 | |
29 | extern const struct platform_device_info int3496_pdevs[]; |
30 | extern struct gpiod_lookup_table int3496_reference_gpios; |
31 | |
32 | #endif |
33 | |