Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Bill Richardson | 55ae10f | 2012-10-20 11:44:34 +0000 | [diff] [blame] | 2 | /* |
3 | * Copyright (c) 2012, Google Inc. All rights reserved. | ||||
Bill Richardson | 55ae10f | 2012-10-20 11:44:34 +0000 | [diff] [blame] | 4 | */ |
5 | |||||
6 | #ifndef _X86_GPIO_H_ | ||||
7 | #define _X86_GPIO_H_ | ||||
8 | |||||
Bill Richardson | 55ae10f | 2012-10-20 11:44:34 +0000 | [diff] [blame] | 9 | #include <asm-generic/gpio.h> |
10 | |||||
Simon Glass | 8a8d24b | 2020-12-03 16:55:23 -0700 | [diff] [blame] | 11 | struct ich6_bank_plat { |
Bin Meng | b71eec3 | 2014-12-17 15:50:38 +0800 | [diff] [blame] | 12 | uint16_t base_addr; |
Simon Glass | 1b4f25f | 2014-11-12 22:42:24 -0700 | [diff] [blame] | 13 | const char *bank_name; |
Simon Glass | d6d50db | 2016-03-06 19:28:13 -0700 | [diff] [blame] | 14 | int offset; |
Simon Glass | 1b4f25f | 2014-11-12 22:42:24 -0700 | [diff] [blame] | 15 | }; |
16 | |||||
Bill Richardson | 55ae10f | 2012-10-20 11:44:34 +0000 | [diff] [blame] | 17 | #endif /* _X86_GPIO_H_ */ |