g762.h 698 B

123456789101112131415161718192021222324
  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 <[email protected]>
  6. */
  7. #ifndef __LINUX_PLATFORM_DATA_G762_H__
  8. #define __LINUX_PLATFORM_DATA_G762_H__
  9. /*
  10. * Following structure can be used to set g762 driver platform specific data
  11. * during board init. Note that passing a sparse structure is possible but
  12. * will result in non-specified attributes to be set to default value, hence
  13. * overloading those installed during boot (e.g. by u-boot).
  14. */
  15. struct g762_platform_data {
  16. u32 fan_startv;
  17. u32 fan_gear_mode;
  18. u32 pwm_polarity;
  19. u32 clk_freq;
  20. };
  21. #endif /* __LINUX_PLATFORM_DATA_G762_H__ */