spi: Rename files according to rules
Renaming files as: <domain>_<model or manufacturer>.<c/h> Change-Id: I018f6fdb4ba8aac8bb96e848f0f3633bd032b44e Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
295078d52a
commit
13c2b1ac7b
|
@ -1,2 +1,2 @@
|
|||
obj-$(CONFIG_SPI_INTEL) += intel_spi.o
|
||||
obj-$(CONFIG_SPI_DW) += dw_spi.o
|
||||
obj-$(CONFIG_SPI_INTEL) += spi_intel.o
|
||||
obj-$(CONFIG_SPI_DW) += spi_dw.o
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* dw_spi.c - Designware SPI driver implementation */
|
||||
/* spi_dw.c - Designware SPI driver implementation */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015 Intel Corporation.
|
||||
|
@ -29,7 +29,7 @@
|
|||
#include <misc/util.h>
|
||||
|
||||
#include <spi.h>
|
||||
#include <dw_spi_priv.h>
|
||||
#include <spi_dw.h>
|
||||
|
||||
#ifdef CONFIG_IOAPIC
|
||||
#include <drivers/ioapic.h>
|
|
@ -1,4 +1,4 @@
|
|||
/* dw_spi_priv.h - Designware SPI driver private definitions */
|
||||
/* spi_dw.h - Designware SPI driver private definitions */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015 Intel Corporation.
|
||||
|
@ -16,8 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef __DW_SPI_PRIV_H__
|
||||
#define __DW_SPI_PRIV_H__
|
||||
#ifndef __SPI_DW_H__
|
||||
#define __SPI_DW_H__
|
||||
|
||||
#include <spi.h>
|
||||
|
||||
|
@ -126,4 +126,4 @@ struct spi_dw_data {
|
|||
#define DW_SPI_IMR_MASK_TX (~(0x3))
|
||||
#define DW_SPI_IMR_MASK_RX (~(0x28))
|
||||
|
||||
#endif /* __DW_SPI_PRIV_H__ */
|
||||
#endif /* __SPI_DW_H__ */
|
|
@ -1,4 +1,4 @@
|
|||
/* intel_spi.c - Driver implementation for Intel SPI controller */
|
||||
/* spi_intel.c - Driver implementation for Intel SPI controller */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015 Intel Corporation.
|
||||
|
@ -26,8 +26,8 @@
|
|||
#include <sys_io.h>
|
||||
|
||||
#include <spi.h>
|
||||
#include <spi/intel_spi.h>
|
||||
#include "intel_spi_priv.h"
|
||||
#include <spi/spi_intel.h>
|
||||
#include "spi_intel.h"
|
||||
|
||||
#ifdef CONFIG_IOAPIC
|
||||
#include <drivers/ioapic.h>
|
|
@ -1,4 +1,4 @@
|
|||
/* intel_spi_priv.h - Intel's SPI driver private definitions */
|
||||
/* spi_intel.h - Intel's SPI driver private definitions */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015 Intel Corporation.
|
||||
|
@ -16,8 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef __INTEL_SPI_PRIV_H__
|
||||
#define __INTEL_SPI_PRIV_H__
|
||||
#ifndef __SPI_INTEL_PRIV_H__
|
||||
#define __SPI_INTEL_PRIV_H__
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
#include <pci/pci.h>
|
||||
|
@ -115,4 +115,4 @@ struct spi_intel_data {
|
|||
#define INTEL_SPI_DSS_RATE(__msf) \
|
||||
((__msf & (INTEL_SPI_DDS_RATE_MASK)) >> 8)
|
||||
|
||||
#endif /* __INTEL_SPI_PRIV_H__ */
|
||||
#endif /* __SPI_INTEL_PRIV_H__ */
|
|
@ -1,4 +1,4 @@
|
|||
/* intel_spi.h - Intel's SPI controller driver utilities */
|
||||
/* spi_intel.h - Intel's SPI controller driver utilities */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015 Intel Corporation.
|
||||
|
@ -16,8 +16,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef __INTEL_SPI_H__
|
||||
#define __INTEL_SPI_H__
|
||||
#ifndef __SPI_INTEL_H__
|
||||
#define __SPI_INTEL_H__
|
||||
|
||||
/* SPI Maximum supported system frequencies */
|
||||
#define SPI_MAX_CLK_FREQ_25MHZ ((0x800000 << 8))
|
||||
|
@ -53,4 +53,4 @@
|
|||
#define SPI_MAX_CLK_FREQ_5KHZ ((0x20000 << 8) | 154)
|
||||
#define SPI_MAX_CLK_FREQ_1KHZ ((0x8000 << 8) | 194)
|
||||
|
||||
#endif /* __INTEL_SPI_H__ */
|
||||
#endif /* __SPI_INTEL_H__ */
|
Loading…
Reference in a new issue