printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / platform_data / tps68470.h
blobe605a2cab07f1b730c886ce0560e170338eccc1f
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * TI TPS68470 PMIC platform data definition.
5 * Copyright (c) 2021 Red Hat Inc.
7 * Red Hat authors:
8 * Hans de Goede <hdegoede@redhat.com>
9 */
10 #ifndef __PDATA_TPS68470_H
11 #define __PDATA_TPS68470_H
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
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[];
40 #endif