blob: 60fcab32542dafb4d2a05177f8c37e611589a0ea [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Platform data declarations for DA9052 PMICs.
4 *
5 * Copyright(c) 2011 Dialog Semiconductor Ltd.
6 *
7 * Author: David Dajun Chen <dchen@diasemi.com>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00008 */
9
10#ifndef __MFD_DA9052_PDATA_H__
11#define __MFD_DA9052_PDATA_H__
12
13#define DA9052_MAX_REGULATORS 14
14
15struct da9052;
16
17struct 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