wm8400.h 561 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * wm8400 client interface
  4. *
  5. * Copyright 2008 Wolfson Microelectronics plc
  6. */
  7. #ifndef __LINUX_MFD_WM8400_H
  8. #define __LINUX_MFD_WM8400_H
  9. #include <linux/regulator/machine.h>
  10. #define WM8400_LDO1 0
  11. #define WM8400_LDO2 1
  12. #define WM8400_LDO3 2
  13. #define WM8400_LDO4 3
  14. #define WM8400_DCDC1 4
  15. #define WM8400_DCDC2 5
  16. struct wm8400_platform_data {
  17. int (*platform_init)(struct device *dev);
  18. };
  19. int wm8400_register_regulator(struct device *dev, int reg,
  20. struct regulator_init_data *initdata);
  21. #endif