mt6323-regulator.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_MT6323_H
  15. #define __LINUX_REGULATOR_MT6323_H
  16. enum {
  17. MT6323_ID_VPROC = 0,
  18. MT6323_ID_VSYS,
  19. MT6323_ID_VPA,
  20. MT6323_ID_VTCXO,
  21. MT6323_ID_VCN28,
  22. MT6323_ID_VCN33_BT,
  23. MT6323_ID_VCN33_WIFI,
  24. MT6323_ID_VA,
  25. MT6323_ID_VCAMA,
  26. MT6323_ID_VIO28 = 9,
  27. MT6323_ID_VUSB,
  28. MT6323_ID_VMC,
  29. MT6323_ID_VMCH,
  30. MT6323_ID_VEMC3V3,
  31. MT6323_ID_VGP1,
  32. MT6323_ID_VGP2,
  33. MT6323_ID_VGP3,
  34. MT6323_ID_VCN18,
  35. MT6323_ID_VSIM1,
  36. MT6323_ID_VSIM2,
  37. MT6323_ID_VRTC,
  38. MT6323_ID_VCAMAF,
  39. MT6323_ID_VIBR,
  40. MT6323_ID_VRF18,
  41. MT6323_ID_VM,
  42. MT6323_ID_VIO18,
  43. MT6323_ID_VCAMD,
  44. MT6323_ID_VCAMIO,
  45. MT6323_ID_RG_MAX,
  46. };
  47. #define MT6323_MAX_REGULATOR MT6323_ID_RG_MAX
  48. #endif /* __LINUX_REGULATOR_MT6323_H */