Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * isl9305 - Intersil ISL9305 DCDC regulator
0004  *
0005  * Copyright 2014 Linaro Ltd
0006  *
0007  * Author: Mark Brown <broonie@kernel.org>
0008  */
0009 
0010 #ifndef __ISL9305_H
0011 #define __ISL9305_H
0012 
0013 #define ISL9305_DCD1 0
0014 #define ISL9305_DCD2 1
0015 #define ISL9305_LDO1 2
0016 #define ISL9305_LDO2 3
0017 
0018 #define ISL9305_MAX_REGULATOR ISL9305_LDO2
0019 
0020 struct regulator_init_data;
0021 
0022 struct isl9305_pdata {
0023     struct regulator_init_data *init_data[ISL9305_MAX_REGULATOR + 1];
0024 };
0025 
0026 #endif