Commit | Line | Data |
---|---|---|
2874c5fd | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
dec38b5c MB |
2 | /* |
3 | * isl9305 - Intersil ISL9305 DCDC regulator | |
4 | * | |
5 | * Copyright 2014 Linaro Ltd | |
6 | * | |
7 | * Author: Mark Brown <broonie@kernel.org> | |
dec38b5c MB |
8 | */ |
9 | ||
10 | #ifndef __ISL9305_H | |
11 | #define __ISL9305_H | |
12 | ||
13 | #define ISL9305_DCD1 0 | |
14 | #define ISL9305_DCD2 1 | |
15 | #define ISL9305_LDO1 2 | |
16 | #define ISL9305_LDO2 3 | |
17 | ||
18 | #define ISL9305_MAX_REGULATOR ISL9305_LDO2 | |
19 | ||
20 | struct regulator_init_data; | |
21 | ||
22 | struct isl9305_pdata { | |
0c08aaf8 | 23 | struct regulator_init_data *init_data[ISL9305_MAX_REGULATOR + 1]; |
dec38b5c MB |
24 | }; |
25 | ||
26 | #endif |