aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel_scu_ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/intel_scu_ipc.c')
-rw-r--r--drivers/platform/x86/intel_scu_ipc.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/drivers/platform/x86/intel_scu_ipc.c b/drivers/platform/x86/intel_scu_ipc.c
index 75c8fef7a482..cdab916fbf92 100644
--- a/drivers/platform/x86/intel_scu_ipc.c
+++ b/drivers/platform/x86/intel_scu_ipc.c
@@ -1,14 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0
1/* 2/*
2 * intel_scu_ipc.c: Driver for the Intel SCU IPC mechanism 3 * Driver for the Intel SCU IPC mechanism
3 * 4 *
4 * (C) Copyright 2008-2010,2015 Intel Corporation 5 * (C) Copyright 2008-2010,2015 Intel Corporation
5 * Author: Sreedhara DS (sreedhara.ds@intel.com) 6 * Author: Sreedhara DS (sreedhara.ds@intel.com)
6 * 7 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; version 2
10 * of the License.
11 *
12 * SCU running in ARC processor communicates with other entity running in IA 8 * SCU running in ARC processor communicates with other entity running in IA
13 * core through IPC mechanism which in turn messaging between IA core ad SCU. 9 * core through IPC mechanism which in turn messaging between IA core ad SCU.
14 * SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and 10 * SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and
@@ -16,14 +12,16 @@
16 * IPC-1 Driver provides an API for power control unit registers (e.g. MSIC) 12 * IPC-1 Driver provides an API for power control unit registers (e.g. MSIC)
17 * along with other APIs. 13 * along with other APIs.
18 */ 14 */
15
19#include <linux/delay.h> 16#include <linux/delay.h>
17#include <linux/device.h>
20#include <linux/errno.h> 18#include <linux/errno.h>
21#include <linux/init.h> 19#include <linux/init.h>
22#include <linux/device.h>
23#include <linux/pm.h>
24#include <linux/pci.h>
25#include <linux/interrupt.h> 20#include <linux/interrupt.h>
21#include <linux/pci.h>
22#include <linux/pm.h>
26#include <linux/sfi.h> 23#include <linux/sfi.h>
24
27#include <asm/intel-mid.h> 25#include <asm/intel-mid.h>
28#include <asm/intel_scu_ipc.h> 26#include <asm/intel_scu_ipc.h>
29 27