blob: 249257ee21328cb36c3f5713a08e3a4820a6f827 [file] [log] [blame]
Thomas Gleixner1a59d1b82019-05-27 08:55:05 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Arnaud Ebalard594fbe72013-06-20 22:21:04 +02002/*
3 * Platform data structure for g762 fan controller driver
4 *
5 * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
Arnaud Ebalard594fbe72013-06-20 22:21:04 +02006 */
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
17struct 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__ */