xref: /linux/drivers/mfd/cs42l43.h (revision 9a4e47ef98a3041f6d2869ba2cd3401701776275)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * CS42L43 core driver internal data
4  *
5  * Copyright (C) 2022-2023 Cirrus Logic, Inc. and
6  *                         Cirrus Logic International Semiconductor Ltd.
7  */
8 
9 #include <linux/mfd/cs42l43.h>
10 #include <linux/pm.h>
11 #include <linux/regmap.h>
12 
13 #ifndef CS42L43_CORE_INT_H
14 #define CS42L43_CORE_INT_H
15 
16 #define CS42L43_N_DEFAULTS 176
17 
18 extern const struct dev_pm_ops cs42l43_pm_ops;
19 extern const struct reg_default cs42l43_reg_default[CS42L43_N_DEFAULTS];
20 
21 bool cs42l43_readable_register(struct device *dev, unsigned int reg);
22 bool cs42l43_precious_register(struct device *dev, unsigned int reg);
23 bool cs42l43_volatile_register(struct device *dev, unsigned int reg);
24 
25 int cs42l43_dev_probe(struct cs42l43 *cs42l43);
26 void cs42l43_dev_remove(struct cs42l43 *cs42l43);
27 
28 #endif /* CS42L43_CORE_INT_H */
29