1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * TI TPS68470 PMIC platform data definition.
5 * Copyright (c) 2021 Red Hat Inc.
8 * Hans de Goede <hdegoede@redhat.com>
10 #ifndef __PDATA_TPS68470_H
11 #define __PDATA_TPS68470_H
13 enum tps68470_regulators
{
21 TPS68470_NUM_REGULATORS
24 struct regulator_init_data
;
26 struct tps68470_regulator_platform_data
{
27 const struct regulator_init_data
*reg_init_data
[TPS68470_NUM_REGULATORS
];
30 struct tps68470_clk_consumer
{
31 const char *consumer_dev_name
;
32 const char *consumer_con_id
;
35 struct tps68470_clk_platform_data
{
36 unsigned int n_consumers
;
37 struct tps68470_clk_consumer consumers
[];