File Index
Files and directories
Sign in
FILE

shared-psy-info.h

File preview with syntax highlighting.

linux-6.19.14/drivers/platform/x86/x86-android-tablets/shared-psy-info.h C
 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
13struct bq24190_platform_data;
14struct platform_device_info;
15struct software_node;
16
17extern const char * const tusb1211_chg_det_psy[];
18extern const char * const bq24190_psy[];
19extern const char * const bq25890_psy[];
20
21extern const struct software_node fg_bq24190_supply_node;
22extern const struct software_node fg_bq25890_supply_node;
23
24extern const struct software_node generic_lipo_4v2_battery_node;
25extern const struct software_node *generic_lipo_4v2_battery_swnodes[];
26
27extern const struct software_node generic_lipo_hv_4v35_battery_node;
28extern const struct software_node *generic_lipo_hv_4v35_battery_swnodes[];
29
30extern struct bq24190_platform_data bq24190_pdata;
31extern const char * const bq24190_modules[];
32
33extern const struct platform_device_info int3496_pdevs[];
34
35#endif
~/ Read-only file preview.