xref: /linux/drivers/mfd/sec-core.h (revision 69352bd52b2667e5c6e8ebb14143528c28f5e37d)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2012 Samsung Electronics Co., Ltd
4  *                http://www.samsung.com
5  * Copyright 2025 Linaro Ltd.
6  *
7  * Samsung SxM core driver internal data
8  */
9 
10 #ifndef __SEC_CORE_INT_H
11 #define __SEC_CORE_INT_H
12 
13 struct i2c_client;
14 
15 extern const struct dev_pm_ops sec_pmic_pm_ops;
16 
17 int sec_pmic_probe(struct device *dev, int device_type, unsigned int irq,
18 		   struct regmap *regmap, struct i2c_client *client);
19 void sec_pmic_shutdown(struct device *dev);
20 
21 int sec_irq_init(struct sec_pmic_dev *sec_pmic);
22 
23 #endif /* __SEC_CORE_INT_H */
24