summaryrefslogtreecommitdiffstats
path: root/src/soc/mediatek/mt8186/include/soc/spi.h
blob: fbf3995b7af04328a3cf4ab11484d08c854d4390 (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 */

/*
 * This file is created based on MT8186 Functional Specification
 * Chapter number: 5.6
 */

#ifndef MTK_MT8186_SPI_H
#define MTK_MT8186_SPI_H

#include <spi-generic.h>

enum {
	SPI_NOR_GPIO_SET0 = 0,
	SPI_NOR_GPIO_SET1,
	SPI_NOR_GPIO_SET_NUM,
};

void mtk_snfc_init(int gpio_set);

#endif