arizona.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * wm5102.h -- WM5102 MFD internals
  4. *
  5. * Copyright 2012 Wolfson Microelectronics plc
  6. *
  7. * Author: Mark Brown <[email protected]>
  8. */
  9. #ifndef _WM5102_H
  10. #define _WM5102_H
  11. #include <linux/of.h>
  12. #include <linux/regmap.h>
  13. #include <linux/pm.h>
  14. extern const struct regmap_config wm5102_i2c_regmap;
  15. extern const struct regmap_config wm5102_spi_regmap;
  16. extern const struct regmap_config wm5110_i2c_regmap;
  17. extern const struct regmap_config wm5110_spi_regmap;
  18. extern const struct regmap_config cs47l24_spi_regmap;
  19. extern const struct regmap_config wm8997_i2c_regmap;
  20. extern const struct regmap_config wm8998_i2c_regmap;
  21. extern const struct dev_pm_ops arizona_pm_ops;
  22. extern const struct regmap_irq_chip wm5102_aod;
  23. extern const struct regmap_irq_chip wm5102_irq;
  24. extern const struct regmap_irq_chip wm5110_aod;
  25. extern const struct regmap_irq_chip wm5110_irq;
  26. extern const struct regmap_irq_chip wm5110_revd_irq;
  27. extern const struct regmap_irq_chip cs47l24_irq;
  28. extern const struct regmap_irq_chip wm8997_aod;
  29. extern const struct regmap_irq_chip wm8997_irq;
  30. extern struct regmap_irq_chip wm8998_aod;
  31. extern struct regmap_irq_chip wm8998_irq;
  32. int arizona_dev_init(struct arizona *arizona);
  33. int arizona_dev_exit(struct arizona *arizona);
  34. int arizona_irq_init(struct arizona *arizona);
  35. int arizona_irq_exit(struct arizona *arizona);
  36. #endif