Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * TI TPS68470 PMIC platform data definition.
0004  *
0005  * Copyright (c) 2021 Red Hat Inc.
0006  *
0007  * Red Hat authors:
0008  * Hans de Goede <hdegoede@redhat.com>
0009  */
0010 #ifndef __PDATA_TPS68470_H
0011 #define __PDATA_TPS68470_H
0012 
0013 enum tps68470_regulators {
0014     TPS68470_CORE,
0015     TPS68470_ANA,
0016     TPS68470_VCM,
0017     TPS68470_VIO,
0018     TPS68470_VSIO,
0019     TPS68470_AUX1,
0020     TPS68470_AUX2,
0021     TPS68470_NUM_REGULATORS
0022 };
0023 
0024 struct regulator_init_data;
0025 
0026 struct tps68470_regulator_platform_data {
0027     const struct regulator_init_data *reg_init_data[TPS68470_NUM_REGULATORS];
0028 };
0029 
0030 struct tps68470_clk_platform_data {
0031     const char *consumer_dev_name;
0032     const char *consumer_con_id;
0033 };
0034 
0035 #endif