mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
b886d83c5b
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation version 2 of the license extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 315 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Armijn Hemel <armijn@tjaldur.nl> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190115.503150771@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
566 B
C
30 lines
566 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2009 Nuvoton technology corporation.
|
|
*
|
|
* Wan ZongShun <mcuos.com@gmail.com>
|
|
*/
|
|
|
|
#ifndef __SPI_NUC900_H
|
|
#define __SPI_NUC900_H
|
|
|
|
extern void mfp_set_groupg(struct device *dev, const char *subname);
|
|
|
|
struct nuc900_spi_info {
|
|
unsigned int num_cs;
|
|
unsigned int lsb;
|
|
unsigned int txneg;
|
|
unsigned int rxneg;
|
|
unsigned int divider;
|
|
unsigned int sleep;
|
|
unsigned int txnum;
|
|
unsigned int txbitlen;
|
|
int bus_num;
|
|
};
|
|
|
|
struct nuc900_spi_chip {
|
|
unsigned char bits_per_word;
|
|
};
|
|
|
|
#endif /* __SPI_NUC900_H */
|