diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/isl9305.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/platform_data/isl9305.h b/include/linux/platform_data/isl9305.h new file mode 100644 index 000000000000..1419133fa69e --- /dev/null +++ b/include/linux/platform_data/isl9305.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* | ||
| 2 | * isl9305 - Intersil ISL9305 DCDC regulator | ||
| 3 | * | ||
| 4 | * Copyright 2014 Linaro Ltd | ||
| 5 | * | ||
| 6 | * Author: Mark Brown <broonie@kernel.org> | ||
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | */ | ||
| 13 | |||
| 14 | #ifndef __ISL9305_H | ||
| 15 | #define __ISL9305_H | ||
| 16 | |||
| 17 | #define ISL9305_DCD1 0 | ||
| 18 | #define ISL9305_DCD2 1 | ||
| 19 | #define ISL9305_LDO1 2 | ||
| 20 | #define ISL9305_LDO2 3 | ||
| 21 | |||
| 22 | #define ISL9305_MAX_REGULATOR ISL9305_LDO2 | ||
| 23 | |||
| 24 | struct regulator_init_data; | ||
| 25 | |||
| 26 | struct isl9305_pdata { | ||
| 27 | struct regulator_init_data *init_data[ISL9305_MAX_REGULATOR]; | ||
| 28 | }; | ||
| 29 | |||
| 30 | #endif | ||
