2019-05-27 14:55:01 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2012-11-08 01:30:29 +08:00
|
|
|
/*
|
|
|
|
* CLPS711X SPI bus driver definitions
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ____LINUX_PLATFORM_DATA_SPI_CLPS711X_H
|
|
|
|
#define ____LINUX_PLATFORM_DATA_SPI_CLPS711X_H
|
|
|
|
|
|
|
|
/* Board specific platform_data */
|
|
|
|
struct spi_clps711x_pdata {
|
|
|
|
int *chipselect; /* Array of GPIO-numbers */
|
|
|
|
int num_chipselect; /* Total count of GPIOs */
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|