]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/linux/platform_data/spi-nuc900.h
Merge tag 'drm-for-v4.8' of git://people.freedesktop.org/~airlied/linux
[mirror_ubuntu-artful-kernel.git] / include / linux / platform_data / spi-nuc900.h
CommitLineData
30eaed05 1/*
30eaed05
WZ
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
7c7ccc52
SK
12#ifndef __SPI_NUC900_H
13#define __SPI_NUC900_H
30eaed05 14
798681bf 15extern void mfp_set_groupg(struct device *dev, const char *subname);
30eaed05
WZ
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
7c7ccc52 33#endif /* __SPI_NUC900_H */