spi-mt7621.c (db6da59cf27b5661ced03754ae0550f8914eda9e) | spi-mt7621.c (749396cb29a7d82cb5e324bf61be3fc948d97141) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2// 3// spi-mt7621.c -- MediaTek MT7621 SPI controller driver 4// 5// Copyright (C) 2011 Sergiy <piratfm@gmail.com> 6// Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org> 7// Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name> 8// 9// Some parts are based on spi-orion.c: 10// Author: Shadi Ammouri <shadi@marvell.com> 11// Copyright (C) 2007-2008 Marvell Ltd. 12 13#include <linux/clk.h> 14#include <linux/delay.h> 15#include <linux/io.h> 16#include <linux/module.h> | 1// SPDX-License-Identifier: GPL-2.0 2// 3// spi-mt7621.c -- MediaTek MT7621 SPI controller driver 4// 5// Copyright (C) 2011 Sergiy <piratfm@gmail.com> 6// Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org> 7// Copyright (C) 2014-2015 Felix Fietkau <nbd@nbd.name> 8// 9// Some parts are based on spi-orion.c: 10// Author: Shadi Ammouri <shadi@marvell.com> 11// Copyright (C) 2007-2008 Marvell Ltd. 12 13#include <linux/clk.h> 14#include <linux/delay.h> 15#include <linux/io.h> 16#include <linux/module.h> |
17#include <linux/of.h> |
|
17#include <linux/of_device.h> | 18#include <linux/of_device.h> |
19#include <linux/platform_device.h> |
|
18#include <linux/reset.h> 19#include <linux/spi/spi.h> 20 21#define DRIVER_NAME "spi-mt7621" 22 23/* in usec */ 24#define RALINK_SPI_WAIT_MAX_LOOP 2000 25 --- 366 unchanged lines hidden --- | 20#include <linux/reset.h> 21#include <linux/spi/spi.h> 22 23#define DRIVER_NAME "spi-mt7621" 24 25/* in usec */ 26#define RALINK_SPI_WAIT_MAX_LOOP 2000 27 --- 366 unchanged lines hidden --- |