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 <hansg@kernel.org> 9 */ 10 #ifndef __PDX86_SHARED_PSY_INFO_H 11 #define __PDX86_SHARED_PSY_INFO_H 12 13 struct bq24190_platform_data; 14 struct platform_device_info; 15 struct software_node; 16 17 extern const char * const tusb1211_chg_det_psy[]; 18 extern const char * const bq24190_psy[]; 19 extern const char * const bq25890_psy[]; 20 21 extern const struct software_node fg_bq24190_supply_node; 22 extern const struct software_node fg_bq25890_supply_node; 23 24 extern const struct software_node generic_lipo_4v2_battery_node; 25 extern const struct software_node *generic_lipo_4v2_battery_swnodes[]; 26 27 extern const struct software_node generic_lipo_hv_4v35_battery_node; 28 extern const struct software_node *generic_lipo_hv_4v35_battery_swnodes[]; 29 30 extern struct bq24190_platform_data bq24190_pdata; 31 extern const char * const bq24190_modules[]; 32 33 extern const struct platform_device_info int3496_pdevs[]; 34 35 #endif 36