arm: tegra: roth: Add pwm gpio daily-2013.10.28.1_rel-roth-r2-partner daily-2013.10.28.2_rel-roth-r2-partner daily-2013.10.29.0_rel-roth-r2-partner
authorAnshul Jain <anshulj@nvidia.com>
Tue, 22 Oct 2013 19:02:25 +0000 (12:02 -0700)
committerManish Tuteja <mtuteja@nvidia.com>
Wed, 23 Oct 2013 07:32:24 +0000 (00:32 -0700)
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>
arch/arm/mach-tegra/board-roth-fan.c

index 585190516856570db7e6bfa4f88bb3383c1d17df..45290747f69acdc27b7caa0b161991e26ff8a629 100644 (file)
@@ -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 = {