mt6311.h 834 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2015 MediaTek Inc.
  3. * Author: Henry Chen <henryc.chen@mediatek.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14. #ifndef __LINUX_REGULATOR_MT6311_H
  15. #define __LINUX_REGULATOR_MT6311_H
  16. #define MT6311_MAX_REGULATORS 2
  17. enum {
  18. MT6311_ID_VDVFS = 0,
  19. MT6311_ID_VBIASN,
  20. };
  21. #define MT6311_E1_CID_CODE 0x10
  22. #define MT6311_E2_CID_CODE 0x20
  23. #define MT6311_E3_CID_CODE 0x30
  24. #endif /* __LINUX_REGULATOR_MT6311_H */