1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Include file for NEC VR4100 series General-purpose I/O Unit.
5 * Copyright (C) 2005-2009 Yoichi Yuasa <yuasa@linux-mips.org>
7 #ifndef __NEC_VR41XX_GIU_H
8 #define __NEC_VR41XX_GIU_H
11 * NEC VR4100 series GIU platform device IDs.
14 GPIO_50PINS_PULLUPDOWN
,
16 GPIO_48PINS_EDGE_SELECT
,
22 IRQ_TRIGGER_EDGE_FALLING
,
23 IRQ_TRIGGER_EDGE_RISING
,
31 extern void vr41xx_set_irq_trigger(unsigned int pin
, irq_trigger_t trigger
,
39 extern void vr41xx_set_irq_level(unsigned int pin
, irq_level_t level
);
41 #endif /* __NEC_VR41XX_GIU_H */