.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2005 Stephen Street / StreetFire Sound Labs |
---|
3 | 4 | * Copyright (C) 2013, Intel Corporation |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License version 2 as |
---|
7 | | - * published by the Free Software Foundation. |
---|
8 | 5 | */ |
---|
9 | 6 | |
---|
10 | 7 | #ifndef SPI_PXA2XX_H |
---|
.. | .. |
---|
31 | 28 | |
---|
32 | 29 | /* SPI framework hookup */ |
---|
33 | 30 | enum pxa_ssp_type ssp_type; |
---|
34 | | - struct spi_controller *master; |
---|
| 31 | + struct spi_controller *controller; |
---|
35 | 32 | |
---|
36 | 33 | /* PXA hookup */ |
---|
37 | | - struct pxa2xx_spi_master *master_info; |
---|
| 34 | + struct pxa2xx_spi_controller *controller_info; |
---|
38 | 35 | |
---|
39 | 36 | /* SSP register addresses */ |
---|
40 | 37 | void __iomem *ioaddr; |
---|
.. | .. |
---|
64 | 61 | |
---|
65 | 62 | /* GPIOs for chip selects */ |
---|
66 | 63 | struct gpio_desc **cs_gpiods; |
---|
| 64 | + |
---|
| 65 | + /* Optional slave FIFO ready signal */ |
---|
| 66 | + struct gpio_desc *gpiod_ready; |
---|
67 | 67 | }; |
---|
68 | 68 | |
---|
69 | 69 | struct chip_data { |
---|