1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Sony CXD2880 DVB-T2/T tuner + demodulator driver
7 * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation
10 #ifndef CXD2880_SPI_DEVICE_H
11 #define CXD2880_SPI_DEVICE_H
13 #include "cxd2880_spi.h"
15 struct cxd2880_spi_device
{
16 struct spi_device
*spi
;
19 int cxd2880_spi_device_initialize(struct cxd2880_spi_device
*spi_device
,
20 enum cxd2880_spi_mode mode
,
23 int cxd2880_spi_device_create_spi(struct cxd2880_spi
*spi
,
24 struct cxd2880_spi_device
*spi_device
);
26 #endif /* CXD2880_SPI_DEVICE_H */