Source
1
+
// SPDX-License-Identifier: GPL-2.0
1
2
/*
2
-
* gpio-crystalcove.c - Intel Crystal Cove GPIO Driver
3
+
* Intel Crystal Cove GPIO Driver
3
4
*
4
5
* Copyright (C) 2012, 2014 Intel Corporation. All rights reserved.
5
6
*
6
-
* This program is free software; you can redistribute it and/or
7
-
* modify it under the terms of the GNU General Public License version
8
-
* 2 as published by the Free Software Foundation.
9
-
*
10
-
* This program is distributed in the hope that it will be useful,
11
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
-
* GNU General Public License for more details.
14
-
*
15
7
* Author: Yang, Bin <bin.yang@intel.com>
16
8
*/
17
9
​
18
10
#include <linux/bitops.h>
19
11
#include <linux/gpio/driver.h>
20
12
#include <linux/interrupt.h>
21
13
#include <linux/mfd/intel_soc_pmic.h>
22
14
#include <linux/module.h>
23
15
#include <linux/platform_device.h>
24
16
#include <linux/regmap.h>