2019-05-27 13:55:01 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2014-09-06 07:11:12 +07:00
|
|
|
/*
|
|
|
|
* isl9305 - Intersil ISL9305 DCDC regulator
|
|
|
|
*
|
|
|
|
* Copyright 2014 Linaro Ltd
|
|
|
|
*
|
|
|
|
* Author: Mark Brown <broonie@kernel.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ISL9305_H
|
|
|
|
#define __ISL9305_H
|
|
|
|
|
|
|
|
#define ISL9305_DCD1 0
|
|
|
|
#define ISL9305_DCD2 1
|
|
|
|
#define ISL9305_LDO1 2
|
|
|
|
#define ISL9305_LDO2 3
|
|
|
|
|
|
|
|
#define ISL9305_MAX_REGULATOR ISL9305_LDO2
|
|
|
|
|
|
|
|
struct regulator_init_data;
|
|
|
|
|
|
|
|
struct isl9305_pdata {
|
2017-04-10 03:05:05 +07:00
|
|
|
struct regulator_init_data *init_data[ISL9305_MAX_REGULATOR + 1];
|
2014-09-06 07:11:12 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|