blob: eddf537138440a2dfe7ac171984df2510b884a5b [file] [log] [blame]
Meenakshi Aggarwale088e582018-11-30 22:32:11 +05301/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2018 NXP
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8#ifndef __EMC2305_H_
9#define __EMC2305_H_
10
11#define I2C_EMC2305_CONF 0x20
12#define I2C_EMC2305_FAN1 0x30
13#define I2C_EMC2305_FAN2 0x40
14#define I2C_EMC2305_FAN3 0x50
15#define I2C_EMC2305_FAN4 0x60
16#define I2C_EMC2305_FAN5 0x70
17
18#define NUM_OF_FANS 5
19
20void emc2305_init(void);
21void set_fan_speed(u8 data);
22
23#endif /* __EMC2305_H_ */