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>
.state_cap = 1,
.precision_multiplier = 1024,
.tach_gpio = -1,
+ .pwm_gpio = TEGRA_GPIO_PU3,
};
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 = {