summaryrefslogtreecommitdiff
path: root/arch/arm/mach-prima2/include/mach/gpio.h
blob: 1904bb03876ee6e912f1f67f65ca1eae65f377db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __MACH_GPIO_H
#define __MACH_GPIO_H

/* Pull up/down values */
enum sirfsoc_gpio_pull {
	SIRFSOC_GPIO_PULL_NONE,
	SIRFSOC_GPIO_PULL_UP,
	SIRFSOC_GPIO_PULL_DOWN,
};

void sirfsoc_gpio_set_pull(unsigned gpio, unsigned mode);

#endif