linux/drivers/spi/spi-cavium.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __SPI_CAVIUM_H
#define __SPI_CAVIUM_H

#include <linux/clk.h>

#define OCTEON_SPI_MAX_BYTES
#define OCTEON_SPI_MAX_CLOCK_HZ

struct octeon_spi_regs {};

struct octeon_spi {};

#define OCTEON_SPI_CFG(x)
#define OCTEON_SPI_STS(x)
#define OCTEON_SPI_TX(x)
#define OCTEON_SPI_DAT0(x)

int octeon_spi_transfer_one_message(struct spi_controller *ctlr,
				    struct spi_message *msg);

/* MPI register descriptions */

#define CVMX_MPI_CFG
#define CVMX_MPI_DATX(offset)
#define CVMX_MPI_STS
#define CVMX_MPI_TX

cvmx_mpi_cfg;

cvmx_mpi_datx;

cvmx_mpi_sts;

cvmx_mpi_tx;

#endif /* __SPI_CAVIUM_H */