Tom Warren | 4e16a2e | 2014-03-19 14:19:09 -0700 | [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. |
Tom Warren | 4e16a2e | 2014-03-19 14:19:09 -0700 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef __MAINBOARD_GOOGLE_NYAN_BLAZE_PMIC_H__ |
| 17 | #define __MAINBOARD_GOOGLE_NYAN_BLAZE_PMIC_H__ |
| 18 | |
| 19 | enum { |
| 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 | |
| 42 | void pmic_init(unsigned bus); |
| 43 | |
| 44 | #endif /* __MAINBOARD_GOOGLE_NYAN_BLAZE_PMIC_H__ */ |