summaryrefstree
path: root/kernel/include/linux/regulator/madera-ldo1.h
blob: eef1cb79a363fa6e2b1a63833ee44604fdf62b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Platform data for Madera codecs LDO1 regulator
 *
 * Copyright 2016 Cirrus Logic
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef MADERA_LDO1_H
#define MADERA_LDO1_H

struct regulator_init_data;

struct madera_ldo1_pdata {
	/** GPIO controlling LODENA, if any */
	int ldoena;

	/** Regulator configuration for LDO1 */
	const struct regulator_init_data *init_data;
};

#endif