summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/gpio_map.h
blob: 4caa2f420d7d516cfa92c93ef6a97fd8f2576ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Copyright 2021 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.
 */

#ifndef __ZEPHYR_GPIO_MAP_H
#define __ZEPHYR_GPIO_MAP_H

#include <devicetree.h>
#include <gpio_signal.h>

#define EC_CROS_GPIO_INTERRUPTS                                           \
	GPIO_INT(GPIO_AC_PRESENT, GPIO_INT_EDGE_BOTH, extpower_interrupt)

#endif /* __ZEPHYR_GPIO_MAP_H */