linux/include/linux/platform_data/spi-nuc900.h
<<
>>
Prefs
   1/*
   2 * Copyright (c) 2009 Nuvoton technology corporation.
   3 *
   4 * Wan ZongShun <mcuos.com@gmail.com>
   5 *
   6 * This program is free software; you can redistribute it and/or modify
   7 * it under the terms of the GNU General Public License as published by
   8 * the Free Software Foundation;version 2 of the License.
   9 *
  10 */
  11
  12#ifndef __SPI_NUC900_H
  13#define __SPI_NUC900_H
  14
  15extern void mfp_set_groupg(struct device *dev, const char *subname);
  16
  17struct nuc900_spi_info {
  18        unsigned int num_cs;
  19        unsigned int lsb;
  20        unsigned int txneg;
  21        unsigned int rxneg;
  22        unsigned int divider;
  23        unsigned int sleep;
  24        unsigned int txnum;
  25        unsigned int txbitlen;
  26        int bus_num;
  27};
  28
  29struct nuc900_spi_chip {
  30        unsigned char bits_per_word;
  31};
  32
  33#endif /* __SPI_NUC900_H */
  34