pfuze100.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  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. * You should have received a copy of the GNU General Public License along
  15. * with this program; if not, write to the Free Software Foundation, Inc.,
  16. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  17. */
  18. #ifndef __LINUX_REG_PFUZE100_H
  19. #define __LINUX_REG_PFUZE100_H
  20. #define PFUZE100_SW1AB 0
  21. #define PFUZE100_SW1C 1
  22. #define PFUZE100_SW2 2
  23. #define PFUZE100_SW3A 3
  24. #define PFUZE100_SW3B 4
  25. #define PFUZE100_SW4 5
  26. #define PFUZE100_SWBST 6
  27. #define PFUZE100_VSNVS 7
  28. #define PFUZE100_VREFDDR 8
  29. #define PFUZE100_VGEN1 9
  30. #define PFUZE100_VGEN2 10
  31. #define PFUZE100_VGEN3 11
  32. #define PFUZE100_VGEN4 12
  33. #define PFUZE100_VGEN5 13
  34. #define PFUZE100_VGEN6 14
  35. #define PFUZE100_MAX_REGULATOR 15
  36. #define PFUZE200_SW1AB 0
  37. #define PFUZE200_SW2 1
  38. #define PFUZE200_SW3A 2
  39. #define PFUZE200_SW3B 3
  40. #define PFUZE200_SWBST 4
  41. #define PFUZE200_VSNVS 5
  42. #define PFUZE200_VREFDDR 6
  43. #define PFUZE200_VGEN1 7
  44. #define PFUZE200_VGEN2 8
  45. #define PFUZE200_VGEN3 9
  46. #define PFUZE200_VGEN4 10
  47. #define PFUZE200_VGEN5 11
  48. #define PFUZE200_VGEN6 12
  49. struct regulator_init_data;
  50. struct pfuze_regulator_platform_data {
  51. struct regulator_init_data *init_data[PFUZE100_MAX_REGULATOR];
  52. };
  53. #endif /* __LINUX_REG_PFUZE100_H */