aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/common/emc2305.h
blob: eddf537138440a2dfe7ac171984df2510b884a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 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_ */