Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Header file for device driver Hi6421 PMIC
4 *
5 * Copyright (c) 2013 Linaro Ltd.
6 * Copyright (C) 2011 Hisilicon.
7 * Copyright (c) 2020-2021 Huawei Technologies Co., Ltd
8 *
9 * Guodong Xu <guodong.xu@linaro.org>
10 */
11
12#ifndef __HISI_PMIC_H
13#define __HISI_PMIC_H
14
15#include <linux/irqdomain.h>
16#include <linux/regmap.h>
17
18struct hi6421_spmi_pmic {
19 struct resource *res;
20 struct device *dev;
21 void __iomem *regs;
22 struct regmap *regmap;
23};
24
25#endif /* __HISI_PMIC_H */