Merge tag 'eventfs-v6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[linux-block.git] / drivers / mfd / intel-lpss.h
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
4b45efe8
AS
2/*
3 * Intel LPSS core support.
4 *
5 * Copyright (C) 2015, Intel Corporation
6 *
7 * Authors: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
8 * Mika Westerberg <mika.westerberg@linux.intel.com>
4b45efe8
AS
9 */
10
11#ifndef __MFD_INTEL_LPSS_H
12#define __MFD_INTEL_LPSS_H
13
16b7a09b
AS
14#include <linux/pm.h>
15
4b45efe8
AS
16struct device;
17struct resource;
03152e35 18struct software_node;
4b45efe8
AS
19
20struct intel_lpss_platform_info {
21 struct resource *mem;
e6b14206 22 bool ignore_resource_conflicts;
4b45efe8
AS
23 int irq;
24 unsigned long clk_rate;
25 const char *clk_con_id;
03152e35 26 const struct software_node *swnode;
4b45efe8
AS
27};
28
29int intel_lpss_probe(struct device *dev,
30 const struct intel_lpss_platform_info *info);
31void intel_lpss_remove(struct device *dev);
32
fd58bb8c 33extern const struct dev_pm_ops intel_lpss_pm_ops;
4b45efe8
AS
34
35#endif /* __MFD_INTEL_LPSS_H */