Debian Codegraph @

drivers/platform/x86/intel/int3472/tps68470.h

raw
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * TI TPS68470 PMIC platform data definition.
4 *
5 * Copyright (c) 2021 Red Hat Inc.
6 *
7 * Red Hat authors:
8 * Hans de Goede <[email protected]>
9 */
10
11 #ifndef _INTEL_SKL_INT3472_TPS68470_H
12 #define _INTEL_SKL_INT3472_TPS68470_H
13
14 struct gpiod_lookup_table;
15 struct tps68470_regulator_platform_data;
16
17 struct int3472_tps68470_board_data {
18 const char *dev_name;
19 const struct tps68470_regulator_platform_data *tps68470_regulator_pdata;
20 unsigned int n_gpiod_lookups;
21 struct gpiod_lookup_table *tps68470_gpio_lookup_tables[];
22 };
23
24 const struct int3472_tps68470_board_data *int3472_tps68470_get_board_data(const char *dev_name);
25
26 #endif