1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 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 <hdegoede@redhat.com> 9 */ 10 #ifndef __PDATA_TPS68470_H 11 #define __PDATA_TPS68470_H 12 13 enum tps68470_regulators { 14 TPS68470_CORE, 15 TPS68470_ANA, 16 TPS68470_VCM, 17 TPS68470_VIO, 18 TPS68470_VSIO, 19 TPS68470_AUX1, 20 TPS68470_AUX2, 21 TPS68470_NUM_REGULATORS 22 }; 23 24 struct regulator_init_data; 25 26 struct tps68470_regulator_platform_data { 27 const struct regulator_init_data *reg_init_data[TPS68470_NUM_REGULATORS]; 28 }; 29 30 struct tps68470_clk_consumer { 31 const char *consumer_dev_name; 32 const char *consumer_con_id; 33 }; 34 35 struct tps68470_clk_platform_data { 36 unsigned int n_consumers; 37 struct tps68470_clk_consumer consumers[]; 38 }; 39 40 #endif 41
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.