blob: 65ee2641454c95136b30f47a16c13a65b1f86e59 [file] [log] [blame]
Gabe Black5c8d3d22014-01-17 22:11:35 -08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright 2014 Google Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Gabe Black5c8d3d22014-01-17 22:11:35 -080014 */
15
16#ifndef __MAINBOARD_GOOGLE_NYAN_BIG_PMIC_H__
17#define __MAINBOARD_GOOGLE_NYAN_BIG_PMIC_H__
18
19enum {
20 AS3722_SDO0 = 0,
21 AS3722_SDO1,
22 AS3722_SDO2,
23 AS3722_SDO3,
24 AS3722_SDO4,
25 AS3722_SDO5,
26 AS3722_SDO6,
27
28 AS3722_LDO0 = 0x10,
29 AS3722_LDO1,
30 AS3722_LDO2,
31 AS3722_LDO3,
32 AS3722_LDO4,
33 AS3722_LDO5,
34 AS3722_LDO6,
35 AS3722_LDO7,
36
37 AS3722_LDO9 = 0x19,
38 AS3722_LDO10,
39 AS3722_LDO11,
40};
41
42void pmic_init(unsigned bus);
43
44#endif /* __MAINBOARD_GOOGLE_NYAN_BIG_PMIC_H__ */