aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h b/arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h
index dda19da037ad..885e9ac642d3 100644
--- a/arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h
+++ b/arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h
@@ -146,6 +146,17 @@ extern s3c_gpio_pull_t s3c_gpio_getpull_updown(struct s3c_gpio_chip *chip,
146 unsigned int off); 146 unsigned int off);
147 147
148/** 148/**
149 * s3c_gpio_getpull_1up() - Get configuration for choice of up or none
150 * @chip: The gpio chip that the GPIO pin belongs to
151 * @off: The offset to the pin to get the configuration of.
152 *
153 * This helper function reads the state of the pull-up resistor for the
154 * given GPIO in the same case as s3c_gpio_setpull_1up.
155*/
156extern s3c_gpio_pull_t s3c_gpio_getpull_1up(struct s3c_gpio_chip *chip,
157 unsigned int off);
158
159/**
149 * s3c_gpio_setpull_s3c2443() - Pull configuration for s3c2443. 160 * s3c_gpio_setpull_s3c2443() - Pull configuration for s3c2443.
150 * @chip: The gpio chip that is being configured. 161 * @chip: The gpio chip that is being configured.
151 * @off: The offset for the GPIO being configured. 162 * @off: The offset for the GPIO being configured.