linux/include/linux/platform_data/spi-nuc900.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0-only */
   2/*
   3 * Copyright (c) 2009 Nuvoton technology corporation.
   4 *
   5 * Wan ZongShun <mcuos.com@gmail.com>
   6 */
   7
   8#ifndef __SPI_NUC900_H
   9#define __SPI_NUC900_H
  10
  11extern void mfp_set_groupg(struct device *dev, const char *subname);
  12
  13struct nuc900_spi_info {
  14        unsigned int num_cs;
  15        unsigned int lsb;
  16        unsigned int txneg;
  17        unsigned int rxneg;
  18        unsigned int divider;
  19        unsigned int sleep;
  20        unsigned int txnum;
  21        unsigned int txbitlen;
  22        int bus_num;
  23};
  24
  25struct nuc900_spi_chip {
  26        unsigned char bits_per_word;
  27};
  28
  29#endif /* __SPI_NUC900_H */
  30