summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-intel.h
blob: c5f35060dd637237053f8966a6b6223e96b3af9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Intel PCH/PCU SPI flash driver.
 *
 * Copyright (C) 2016 - 2022, Intel Corporation
 * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
 */

#ifndef SPI_INTEL_H
#define SPI_INTEL_H

#include <linux/platform_data/x86/spi-intel.h>

struct resource;

extern const struct attribute_group *intel_spi_groups[];

int intel_spi_probe(struct device *dev, struct resource *mem,
		    const struct intel_spi_boardinfo *info);

#endif /* SPI_INTEL_H */