diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 22:56:35 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 22:56:35 -0400 |
| commit | ddcf6600b133697adbafd96e080818bdc0dfd028 (patch) | |
| tree | f382f8eaca3cc2d298542ae9599ce49884127d0e /include/linux/platform_data | |
| parent | c16bfeb264decb964742067f02fdd51494e25e64 (diff) | |
| parent | a50d9a4d9ad3c71341788099d733e4151b8a511b (diff) | |
Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull hwmon updates from Guenter Roeck:
- new driver to support GMT G762/G763 pwm fan controllers
- add support for DS1631, DS1721, and DS1731 to ds1621 driver
- remove detect function from ds1621 driver as unreliable
- bug fixes in nct6775, iio_hwmon, and adm1021 drivers
- remove redundant platform_set_drvdata in various drivers
- add device tree support to ina2xx driver
* tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
hwmon: (ds1621) Fix temperature rounding operations
hwmon: (nct6775) Drop unsupported fan alarm attributes for NCT6775
hwmon: (nct6775) Fix temperature alarm attributes
Add support for GMT G762/G763 PWM fan controllers
hwmon: (ina2xx) Add device tree support to pass the shunt resistor
hwmon: (ds1621) Update documentation
hwmon: (ds1621) Add DS1731 chip support to ds1621 driver
hwmon: (iio_hwmon) add alias table
hwmon: (adm1021) Do not create min sysfs attributes for LM84
hwmon: (ds1621) Remove detect function
hwmon: (ds1621) Add ds1631 chip support to ds1621 driver and documentation
hwmon: (ds1621) Add ds1721 update interval sysfs attribute
hwmon: (ds1621) Add ds1721 chip support
hwmon: (w83627ehf) Remove redundant platform_set_drvdata()
hwmon: (ntc_thermistor) Remove redundant platform_set_drvdata()
hwmon: (i5k_amb) Remove redundant platform_set_drvdata()
hwmon: (coretemp) Remove redundant platform_set_drvdata()
hwmon: (abituguru3) Remove redundant platform_set_drvdata()
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/g762.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/include/linux/platform_data/g762.h b/include/linux/platform_data/g762.h new file mode 100644 index 000000000000..d3c51283764d --- /dev/null +++ b/include/linux/platform_data/g762.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* | ||
| 2 | * Platform data structure for g762 fan controller driver | ||
| 3 | * | ||
| 4 | * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org> | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, | ||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program; if not, write to the Free Software | ||
| 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 19 | */ | ||
| 20 | #ifndef __LINUX_PLATFORM_DATA_G762_H__ | ||
| 21 | #define __LINUX_PLATFORM_DATA_G762_H__ | ||
| 22 | |||
| 23 | /* | ||
| 24 | * Following structure can be used to set g762 driver platform specific data | ||
| 25 | * during board init. Note that passing a sparse structure is possible but | ||
| 26 | * will result in non-specified attributes to be set to default value, hence | ||
| 27 | * overloading those installed during boot (e.g. by u-boot). | ||
| 28 | */ | ||
| 29 | |||
| 30 | struct g762_platform_data { | ||
| 31 | u32 fan_startv; | ||
| 32 | u32 fan_gear_mode; | ||
| 33 | u32 pwm_polarity; | ||
| 34 | u32 clk_freq; | ||
| 35 | }; | ||
| 36 | |||
| 37 | #endif /* __LINUX_PLATFORM_DATA_G762_H__ */ | ||
