Merge branches 'pm-cpufreq', 'pm-sleep' and 'pm-em'
[linux-2.6-microblaze.git] / include / linux / platform_data / g762.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Platform data structure for g762 fan controller driver
4  *
5  * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
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__ */