xref: /openbmc/linux/include/linux/platform_data/spi-mt65xx.h (revision 05cf4fe738242183f1237f1b3a28b4479348c0a1)
1 /*
2  *  MTK SPI bus driver definitions
3  *
4  * Copyright (c) 2015 MediaTek Inc.
5  * Author: Leilk Liu <leilk.liu@mediatek.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  */
11 
12 #ifndef ____LINUX_PLATFORM_DATA_SPI_MTK_H
13 #define ____LINUX_PLATFORM_DATA_SPI_MTK_H
14 
15 /* Board specific platform_data */
16 struct mtk_chip_config {
17 	u32 tx_mlsb;
18 	u32 rx_mlsb;
19 	u32 cs_pol;
20 	u32 sample_sel;
21 };
22 #endif
23