Gabe Black | 5c8d3d2 | 2014-01-17 22:11:35 -0800 | [diff] [blame^] | 1 | /* |
| 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. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | */ |
| 19 | |
| 20 | #ifndef __MAINBOARD_GOOGLE_NYAN_BIG_PMIC_H__ |
| 21 | #define __MAINBOARD_GOOGLE_NYAN_BIG_PMIC_H__ |
| 22 | |
| 23 | enum { |
| 24 | AS3722_SDO0 = 0, |
| 25 | AS3722_SDO1, |
| 26 | AS3722_SDO2, |
| 27 | AS3722_SDO3, |
| 28 | AS3722_SDO4, |
| 29 | AS3722_SDO5, |
| 30 | AS3722_SDO6, |
| 31 | |
| 32 | AS3722_LDO0 = 0x10, |
| 33 | AS3722_LDO1, |
| 34 | AS3722_LDO2, |
| 35 | AS3722_LDO3, |
| 36 | AS3722_LDO4, |
| 37 | AS3722_LDO5, |
| 38 | AS3722_LDO6, |
| 39 | AS3722_LDO7, |
| 40 | |
| 41 | AS3722_LDO9 = 0x19, |
| 42 | AS3722_LDO10, |
| 43 | AS3722_LDO11, |
| 44 | }; |
| 45 | |
| 46 | void pmic_init(unsigned bus); |
| 47 | |
| 48 | #endif /* __MAINBOARD_GOOGLE_NYAN_BIG_PMIC_H__ */ |