summaryrefslogtreecommitdiff
path: root/include/linux/rfkill-gpio.h
diff options
context:
space:
mode:
authorBeomho Seo <beomho.seo@samsung.com>2014-05-15 12:33:33 +0900
committerBeomho Seo <beomho.seo@samsung.com>2014-05-15 12:33:33 +0900
commit63d6bbe3d13609144e46d6245940ae11ddfb629b (patch)
tree86b07de9769844214d9516593671559b94b98edf /include/linux/rfkill-gpio.h
parent87f73e89289e9115df906ce671c19f9054a99cac (diff)
downloadlinux-3.10-63d6bbe3d13609144e46d6245940ae11ddfb629b.tar.gz
linux-3.10-63d6bbe3d13609144e46d6245940ae11ddfb629b.tar.bz2
linux-3.10-63d6bbe3d13609144e46d6245940ae11ddfb629b.zip
WORKAROUND: net: rfkill-gpio: add host wake and wake pins
WORKAROUND: Temporary workaround for bluetooth enable. The wake pin is used for waking up the hw and host wake pin is used for waking up host processor during sleep. Additionally, This patch add reset-gpio property and devm_gpio_request_one function. Change-Id: I3695fce3b5c6162c9bad5fa0721df9bd8df505c7 Signed-off-by: Beomho Seo <beomho.seo@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'include/linux/rfkill-gpio.h')
-rw-r--r--include/linux/rfkill-gpio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/rfkill-gpio.h b/include/linux/rfkill-gpio.h
index 4d09f6eab35..64624ba6f49 100644
--- a/include/linux/rfkill-gpio.h
+++ b/include/linux/rfkill-gpio.h
@@ -29,6 +29,8 @@
* @name: name for the gpio rf kill instance
* @reset_gpio: GPIO which is used for reseting rfkill switch
* @shutdown_gpio: GPIO which is used for shutdown of rfkill switch
+ * @wake_gpio: GPIO which is used for wake of rfkill switch
+ * @host_wake_gpio: GPIO which is used for wake of host from rfkill switch
* @power_clk_name: [optional] name of clk to turn off while blocked
* @gpio_runtime_close: clean up platform specific gpio configuration
* @gpio_runtime_setup: set up platform specific gpio configuration
@@ -38,6 +40,8 @@ struct rfkill_gpio_platform_data {
char *name;
int reset_gpio;
int shutdown_gpio;
+ int wake_gpio;
+ int host_wake_gpio;
const char *power_clk_name;
enum rfkill_type type;
void (*gpio_runtime_close)(struct platform_device *);