hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/spi/spi-pxa2xx.h
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2005 Stephen Street / StreetFire Sound Labs
34 * 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.
85 */
96
107 #ifndef SPI_PXA2XX_H
....@@ -31,10 +28,10 @@
3128
3229 /* SPI framework hookup */
3330 enum pxa_ssp_type ssp_type;
34
- struct spi_controller *master;
31
+ struct spi_controller *controller;
3532
3633 /* PXA hookup */
37
- struct pxa2xx_spi_master *master_info;
34
+ struct pxa2xx_spi_controller *controller_info;
3835
3936 /* SSP register addresses */
4037 void __iomem *ioaddr;
....@@ -64,6 +61,9 @@
6461
6562 /* GPIOs for chip selects */
6663 struct gpio_desc **cs_gpiods;
64
+
65
+ /* Optional slave FIFO ready signal */
66
+ struct gpio_desc *gpiod_ready;
6767 };
6868
6969 struct chip_data {