hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/include/linux/platform_data/spi-davinci.h
....@@ -1,19 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2009 Texas Instruments.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License as published by
6
- * the Free Software Foundation; either version 2 of the License, or
7
- * (at your option) any later version.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
13
- *
14
- * You should have received a copy of the GNU General Public License
15
- * along with this program; if not, write to the Free Software
16
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
174 */
185
196 #ifndef __ARCH_ARM_DAVINCI_SPI_H
....@@ -36,9 +23,6 @@
3623 * @num_chipselect: number of chipselects supported by this SPI master
3724 * @intr_line: interrupt line used to connect the SPI IP to the ARM interrupt
3825 * controller withn the SoC. Possible values are 0 and 1.
39
- * @chip_sel: list of GPIOs which can act as chip-selects for the SPI.
40
- * SPI_INTERN_CS denotes internal SPI chip-select. Not necessary
41
- * to populate if all chip-selects are internal.
4226 * @cshold_bug: set this to true if the SPI controller on your chip requires
4327 * a write to CSHOLD bit in between transfers (like in DM355).
4428 * @dma_event_q: DMA event queue to use if SPI_IO_TYPE_DMA is used for any
....@@ -48,7 +32,6 @@
4832 u8 version;
4933 u8 num_chipselect;
5034 u8 intr_line;
51
- u8 *chip_sel;
5235 u8 prescaler_limit;
5336 bool cshold_bug;
5437 enum dma_event_q dma_event_q;