mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-26 02:29:13 +00:00

Move the asus_tf103c_battery_node to shared-psy-info.c and rename it to generic_lipo_4v2_battery_node. This is a preparation patch for adding ovc-capacity-table info to the battery nodes. Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Hans de Goede <hansg@kernel.org> Link: https://lore.kernel.org/r/20250609104620.25896-1-hansg@kernel.org Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*
|
|
* Shared psy info for X86 tablets which ship with Android as the factory image
|
|
* and which have broken DSDT tables. The factory kernels shipped on these
|
|
* devices typically have a bunch of things hardcoded, rather than specified
|
|
* in their DSDT.
|
|
*
|
|
* Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
|
|
*/
|
|
#ifndef __PDX86_SHARED_PSY_INFO_H
|
|
#define __PDX86_SHARED_PSY_INFO_H
|
|
|
|
struct bq24190_platform_data;
|
|
struct gpiod_lookup_table;
|
|
struct platform_device_info;
|
|
struct software_node;
|
|
|
|
extern const char * const tusb1211_chg_det_psy[];
|
|
extern const char * const bq24190_psy[];
|
|
extern const char * const bq25890_psy[];
|
|
|
|
extern const struct software_node fg_bq24190_supply_node;
|
|
extern const struct software_node fg_bq25890_supply_node;
|
|
extern const struct software_node generic_lipo_4v2_battery_node;
|
|
extern const struct software_node generic_lipo_hv_4v35_battery_node;
|
|
|
|
extern struct bq24190_platform_data bq24190_pdata;
|
|
extern const char * const bq24190_modules[];
|
|
|
|
extern const struct platform_device_info int3496_pdevs[];
|
|
extern struct gpiod_lookup_table int3496_reference_gpios;
|
|
|
|
#endif
|