mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Meenakshi Aggarwal](/assets/img/avatar_default.png)
Add support for fan controller emc2305. Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
24 lines
451 B
C
24 lines
451 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2018 NXP
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __EMC2305_H_
|
|
#define __EMC2305_H_
|
|
|
|
#define I2C_EMC2305_CONF 0x20
|
|
#define I2C_EMC2305_FAN1 0x30
|
|
#define I2C_EMC2305_FAN2 0x40
|
|
#define I2C_EMC2305_FAN3 0x50
|
|
#define I2C_EMC2305_FAN4 0x60
|
|
#define I2C_EMC2305_FAN5 0x70
|
|
|
|
#define NUM_OF_FANS 5
|
|
|
|
void emc2305_init(void);
|
|
void set_fan_speed(u8 data);
|
|
|
|
#endif /* __EMC2305_H_ */
|