]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - include/linux/platform_data/intel-spi.h
Merge remote-tracking branches 'regulator/topic/anatop', 'regulator/topic/arizona...
[karo-tx-linux.git] / include / linux / platform_data / intel-spi.h
1 /*
2  * Intel PCH/PCU SPI flash driver.
3  *
4  * Copyright (C) 2016, Intel Corporation
5  * Author: Mika Westerberg <mika.westerberg@linux.intel.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 INTEL_SPI_PDATA_H
13 #define INTEL_SPI_PDATA_H
14
15 enum intel_spi_type {
16         INTEL_SPI_BYT = 1,
17         INTEL_SPI_LPT,
18         INTEL_SPI_BXT,
19 };
20
21 /**
22  * struct intel_spi_boardinfo - Board specific data for Intel SPI driver
23  * @type: Type which this controller is compatible with
24  * @writeable: The chip is writeable
25  */
26 struct intel_spi_boardinfo {
27         enum intel_spi_type type;
28         bool writeable;
29 };
30
31 #endif /* INTEL_SPI_PDATA_H */