Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / dvb-frontends / cxd2880 / cxd2880_spi_device.h
blob05e3a03de3a3031a8b846a04a3773aac583e10dd
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * cxd2880_spi_device.h
4 * Sony CXD2880 DVB-T2/T tuner + demodulator driver
5 * SPI access interface
7 * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation
8 */
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,
21 u32 speedHz);
23 int cxd2880_spi_device_create_spi(struct cxd2880_spi *spi,
24 struct cxd2880_spi_device *spi_device);
26 #endif /* CXD2880_SPI_DEVICE_H */