diff options
Diffstat (limited to 'arch/arm/include/asm/arch-imx8/gpio.h')
-rw-r--r-- | arch/arm/include/asm/arch-imx8/gpio.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/include/asm/arch-imx8/gpio.h b/arch/arm/include/asm/arch-imx8/gpio.h deleted file mode 100644 index 24cfde3..0000000 --- a/arch/arm/include/asm/arch-imx8/gpio.h +++ /dev/null @@ -1,21 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright 2018 NXP - */ - -#ifndef __ASM_ARCH_IMX8_GPIO_H -#define __ASM_ARCH_IMX8_GPIO_H - -#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__)) -/* GPIO registers */ -struct gpio_regs { - u32 gpio_dr; /* data */ - u32 gpio_dir; /* direction */ - u32 gpio_psr; /* pad satus */ -}; -#endif - -/* IMX8 the GPIO index is from 0 not 1 */ -#define IMX_GPIO_NR(port, index) (((port) * 32) + ((index) & 31)) - -#endif /* __ASM_ARCH_IMX8_GPIO_H */ |