Thomas Gleixner | 1802d0b | 2019-05-27 08:55:21 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Henry Chen | 8766018 | 2015-07-24 13:24:41 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2015 MediaTek Inc. |
| 4 | * Author: Henry Chen <henryc.chen@mediatek.com> |
Henry Chen | 8766018 | 2015-07-24 13:24:41 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __LINUX_REGULATOR_MT6311_H |
| 8 | #define __LINUX_REGULATOR_MT6311_H |
| 9 | |
| 10 | #define MT6311_MAX_REGULATORS 2 |
| 11 | |
| 12 | enum { |
| 13 | MT6311_ID_VDVFS = 0, |
| 14 | MT6311_ID_VBIASN, |
| 15 | }; |
| 16 | |
| 17 | #define MT6311_E1_CID_CODE 0x10 |
| 18 | #define MT6311_E2_CID_CODE 0x20 |
| 19 | #define MT6311_E3_CID_CODE 0x30 |
| 20 | |
| 21 | #endif /* __LINUX_REGULATOR_MT6311_H */ |