Merge tag 'xfs-5.5-merge-17' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux-2.6-microblaze.git] / include / linux / platform_data / intel-spi.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Intel PCH/PCU SPI flash driver.
4  *
5  * Copyright (C) 2016, Intel Corporation
6  * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
7  */
8
9 #ifndef INTEL_SPI_PDATA_H
10 #define INTEL_SPI_PDATA_H
11
12 enum intel_spi_type {
13         INTEL_SPI_BYT = 1,
14         INTEL_SPI_LPT,
15         INTEL_SPI_BXT,
16         INTEL_SPI_CNL,
17 };
18
19 /**
20  * struct intel_spi_boardinfo - Board specific data for Intel SPI driver
21  * @type: Type which this controller is compatible with
22  * @writeable: The chip is writeable
23  */
24 struct intel_spi_boardinfo {
25         enum intel_spi_type type;
26         bool writeable;
27 };
28
29 #endif /* INTEL_SPI_PDATA_H */