From 98b8d16af06b6fa03b608b8062acf53b773fb2f9 Mon Sep 17 00:00:00 2001 From: Anshul Jain Date: Tue, 22 Oct 2013 12:02:25 -0700 Subject: arm: tegra: roth: Add pwm gpio Add pwm gpio in fan data, so it can be accessed by pwm_fan driver. Bug 1388303 Change-Id: I407166aac44473ec8ceaf4f8acee18b02db18d7f Signed-off-by: Anshul Jain Reviewed-on: http://git-master/r/302592 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Manish Tuteja --- arch/arm/mach-tegra/board-roth-fan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-tegra/board-roth-fan.c b/arch/arm/mach-tegra/board-roth-fan.c index 585190516856..45290747f69a 100644 --- a/arch/arm/mach-tegra/board-roth-fan.c +++ b/arch/arm/mach-tegra/board-roth-fan.c @@ -46,6 +46,7 @@ static struct pwm_fan_platform_data fan_data_yltc_8k = { .state_cap = 1, .precision_multiplier = 1024, .tach_gpio = -1, + .pwm_gpio = TEGRA_GPIO_PU3, }; static struct pwm_fan_platform_data fan_data_delta_6k = { @@ -65,6 +66,7 @@ static struct pwm_fan_platform_data fan_data_delta_6k = { .state_cap = 2, .precision_multiplier = 1024, .tach_gpio = TEGRA_GPIO_PU2, + .pwm_gpio = TEGRA_GPIO_PU3, }; static struct platform_device pwm_fan_therm_cooling_device_yltc_8k = { -- cgit v1.2.3