summaryrefstree
path: root/kernel/include/linux/regulator/arizona-micsupp.h
blob: 49350dac090393eba78152dbc417b31bf112aeaf (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
25
26
27
/*
 * Platform data for Arizona micsupp regulator
 *
 * Copyright 2017 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 ARIZONA_MICSUPP_H
#define ARIZONA_MICSUPP_H

struct regulator_init_data;

struct arizona_micsupp_pdata {
	/** Regulator configuration for micsupp */
	const struct regulator_init_data *init_data;
};

struct arizona_micsupp_forced_bypass {
	bool regulated;
	bool enabled;
	bool forced;
	struct mutex lock;
};
#endif