Source
1
+
// SPDX-License-Identifier: GPL-2.0-only
1
2
/*
2
3
* Microchip PIC32 SPI controller driver.
3
4
*
4
5
* Purna Chandra Mandal <purna.mandal@microchip.com>
5
6
* Copyright (c) 2016, Microchip Technology Inc.
6
-
*
7
-
* This program is free software; you can distribute it and/or modify it
8
-
* under the terms of the GNU General Public License (Version 2) as
9
-
* published by the Free Software Foundation.
10
-
*
11
-
* This program is distributed in the hope it will be useful, but WITHOUT
12
-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
-
* for more details.
15
7
*/
16
8
​
17
9
#include <linux/clk.h>
18
10
#include <linux/clkdev.h>
19
11
#include <linux/delay.h>
20
12
#include <linux/dmaengine.h>
21
13
#include <linux/dma-mapping.h>
22
14
#include <linux/highmem.h>
23
15
#include <linux/module.h>
24
16
#include <linux/io.h>