0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef _WM5102_H
0011 #define _WM5102_H
0012
0013 #include <linux/of.h>
0014 #include <linux/regmap.h>
0015 #include <linux/pm.h>
0016
0017 extern const struct regmap_config wm5102_i2c_regmap;
0018 extern const struct regmap_config wm5102_spi_regmap;
0019
0020 extern const struct regmap_config wm5110_i2c_regmap;
0021 extern const struct regmap_config wm5110_spi_regmap;
0022
0023 extern const struct regmap_config cs47l24_spi_regmap;
0024
0025 extern const struct regmap_config wm8997_i2c_regmap;
0026
0027 extern const struct regmap_config wm8998_i2c_regmap;
0028
0029 extern const struct dev_pm_ops arizona_pm_ops;
0030
0031 extern const struct regmap_irq_chip wm5102_aod;
0032 extern const struct regmap_irq_chip wm5102_irq;
0033
0034 extern const struct regmap_irq_chip wm5110_aod;
0035 extern const struct regmap_irq_chip wm5110_irq;
0036 extern const struct regmap_irq_chip wm5110_revd_irq;
0037
0038 extern const struct regmap_irq_chip cs47l24_irq;
0039
0040 extern const struct regmap_irq_chip wm8997_aod;
0041 extern const struct regmap_irq_chip wm8997_irq;
0042
0043 extern struct regmap_irq_chip wm8998_aod;
0044 extern struct regmap_irq_chip wm8998_irq;
0045
0046 int arizona_dev_init(struct arizona *arizona);
0047 int arizona_dev_exit(struct arizona *arizona);
0048 int arizona_irq_init(struct arizona *arizona);
0049 int arizona_irq_exit(struct arizona *arizona);
0050
0051 #endif