summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/pinctrl-coh901.h
blob: dfbc65d10484a0d80d8a92b641a78c822fd7ffb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (C) 2007-2012 ST-Ericsson AB
 * License terms: GNU General Public License (GPL) version 2
 * GPIO block resgister definitions and inline macros for
 * U300 GPIO COH 901 335 or COH 901 571/3
 * Author: Linus Walleij <linus.walleij@stericsson.com>
 */

#ifndef __MACH_U300_GPIO_U300_H
#define __MACH_U300_GPIO_U300_H

/**
 * struct u300_gpio_platform - U300 GPIO platform data
 * @ports: number of GPIO block ports
 * @gpio_base: first GPIO number for this block (use a free range)
 */
struct u300_gpio_platform {
	u8 ports;
	int gpio_base;
};

#endif /* __MACH_U300_GPIO_U300_H */