From 63d6bbe3d13609144e46d6245940ae11ddfb629b Mon Sep 17 00:00:00 2001 From: Beomho Seo Date: Thu, 15 May 2014 12:33:33 +0900 Subject: 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 Signed-off-by: Seung-Woo Kim --- include/linux/rfkill-gpio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/linux') 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 *); -- cgit v1.2.3