summaryrefslogtreecommitdiff
path: root/chip/npcx/shi_chip.h
blob: 3fd73e81196ff9e814426c13aec64f5a70a0cce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* NPCX-specific SHI module for Chrome EC */

#ifndef __CROS_EC_SHI_CHIP_H_
#define __CROS_EC_SHI_CHIP_H_

/**
 * Called when the NSS level changes, signalling the start of a SHI
 * transaction.
 *
 * @param signal	GPIO signal that changed
 */
void shi_cs_event(enum gpio_signal signal);
#ifdef NPCX_SHI_V2
void shi_cs_gpio_int(enum gpio_signal signal);
#endif

#endif /* __CROS_EC_SHI_CHIP_H_ */