Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Platform data structure for g762 fan controller driver
0004  *
0005  * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
0006  */
0007 #ifndef __LINUX_PLATFORM_DATA_G762_H__
0008 #define __LINUX_PLATFORM_DATA_G762_H__
0009 
0010 /*
0011  * Following structure can be used to set g762 driver platform specific data
0012  * during board init. Note that passing a sparse structure is possible but
0013  * will result in non-specified attributes to be set to default value, hence
0014  * overloading those installed during boot (e.g. by u-boot).
0015  */
0016 
0017 struct g762_platform_data {
0018     u32 fan_startv;
0019     u32 fan_gear_mode;
0020     u32 pwm_polarity;
0021     u32 clk_freq;
0022 };
0023 
0024 #endif /* __LINUX_PLATFORM_DATA_G762_H__ */