emc2305.h 451 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2018 NXP
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __EMC2305_H_
  8. #define __EMC2305_H_
  9. #define I2C_EMC2305_CONF 0x20
  10. #define I2C_EMC2305_FAN1 0x30
  11. #define I2C_EMC2305_FAN2 0x40
  12. #define I2C_EMC2305_FAN3 0x50
  13. #define I2C_EMC2305_FAN4 0x60
  14. #define I2C_EMC2305_FAN5 0x70
  15. #define NUM_OF_FANS 5
  16. void emc2305_init(void);
  17. void set_fan_speed(u8 data);
  18. #endif /* __EMC2305_H_ */