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