Thomas Gleixner | 1a59d1b8 | 2019-05-27 08:55:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Arnaud Ebalard | 594fbe7 | 2013-06-20 22:21:04 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Platform data structure for g762 fan controller driver |
| 4 | * |
| 5 | * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org> |
Arnaud Ebalard | 594fbe7 | 2013-06-20 22:21:04 +0200 | [diff] [blame] | 6 | */ |
| 7 | #ifndef __LINUX_PLATFORM_DATA_G762_H__ |
| 8 | #define __LINUX_PLATFORM_DATA_G762_H__ |
| 9 | |
| 10 | /* |
| 11 | * Following structure can be used to set g762 driver platform specific data |
| 12 | * during board init. Note that passing a sparse structure is possible but |
| 13 | * will result in non-specified attributes to be set to default value, hence |
| 14 | * overloading those installed during boot (e.g. by u-boot). |
| 15 | */ |
| 16 | |
| 17 | struct g762_platform_data { |
| 18 | u32 fan_startv; |
| 19 | u32 fan_gear_mode; |
| 20 | u32 pwm_polarity; |
| 21 | u32 clk_freq; |
| 22 | }; |
| 23 | |
| 24 | #endif /* __LINUX_PLATFORM_DATA_G762_H__ */ |