summaryrefslogtreecommitdiff
path: root/drivers/mfd/sec-core.h
blob: 92c7558ab8b0de44a52e028eeb7998e38358cb4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2012 Samsung Electronics Co., Ltd
 *                http://www.samsung.com
 * Copyright 2025 Linaro Ltd.
 *
 * Samsung SxM core driver internal data
 */

#ifndef __SEC_CORE_INT_H
#define __SEC_CORE_INT_H

struct i2c_client;

extern const struct dev_pm_ops sec_pmic_pm_ops;

int sec_pmic_probe(struct device *dev, int device_type, unsigned int irq,
		   struct regmap *regmap, struct i2c_client *client);
void sec_pmic_shutdown(struct device *dev);

int sec_irq_init(struct sec_pmic_dev *sec_pmic);

#endif /* __SEC_CORE_INT_H */