summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnshul Jain <anshulj@nvidia.com>2013-10-22 12:02:25 -0700
committerManish Tuteja <mtuteja@nvidia.com>2013-10-23 00:32:24 -0700
commit98b8d16af06b6fa03b608b8062acf53b773fb2f9 (patch)
treecf11d9326148b9373664de78d664b82fa1787b13
parent63e75dd42a861aeb6a10aa48703e4ecef5908916 (diff)
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 <anshulj@nvidia.com> Reviewed-on: http://git-master/r/302592 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-roth-fan.c2
1 files changed, 2 insertions, 0 deletions
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 = {