1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Platform data declarations for DA9052 PMICs.
4  *
5  * Copyright(c) 2011 Dialog Semiconductor Ltd.
6  *
7  * Author: David Dajun Chen <dchen@diasemi.com>
8  */
9 
10 #ifndef __MFD_DA9052_PDATA_H__
11 #define __MFD_DA9052_PDATA_H__
12 
13 #define DA9052_MAX_REGULATORS	14
14 
15 struct da9052;
16 
17 struct da9052_pdata {
18 	struct led_platform_data *pled;
19 	int (*init) (struct da9052 *da9052);
20 	int irq_base;
21 	int gpio_base;
22 	int use_for_apm;
23 	struct regulator_init_data *regulators[DA9052_MAX_REGULATORS];
24 };
25 
26 #endif
27