mt6397-regulator.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright (c) 2014 MediaTek Inc.
  3. * Author: Flora Fu <flora.fu@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_MT6397_H
  15. #define __LINUX_REGULATOR_MT6397_H
  16. enum {
  17. MT6397_ID_VPCA15 = 0,
  18. MT6397_ID_VPCA7,
  19. MT6397_ID_VSRAMCA15,
  20. MT6397_ID_VSRAMCA7,
  21. MT6397_ID_VCORE,
  22. MT6397_ID_VGPU,
  23. MT6397_ID_VDRM,
  24. MT6397_ID_VIO18 = 7,
  25. MT6397_ID_VTCXO,
  26. MT6397_ID_VA28,
  27. MT6397_ID_VCAMA,
  28. MT6397_ID_VIO28,
  29. MT6397_ID_VUSB,
  30. MT6397_ID_VMC,
  31. MT6397_ID_VMCH,
  32. MT6397_ID_VEMC3V3,
  33. MT6397_ID_VGP1,
  34. MT6397_ID_VGP2,
  35. MT6397_ID_VGP3,
  36. MT6397_ID_VGP4,
  37. MT6397_ID_VGP5,
  38. MT6397_ID_VGP6,
  39. MT6397_ID_VIBR,
  40. MT6397_ID_RG_MAX,
  41. };
  42. #define MT6397_MAX_REGULATOR MT6397_ID_RG_MAX
  43. #define MT6397_REGULATOR_ID97 0x97
  44. #define MT6397_REGULATOR_ID91 0x91
  45. #endif /* __LINUX_REGULATOR_MT6397_H */