Files
Linux_Drivers/u-boot-2021.10/board/freescale/common/emc2305.h
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

23 lines
439 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2018-2020 NXP
*
*/
#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(int chip_addr);
void set_fan_speed(u8 data, int chip_addr);
#endif /* __EMC2305_H_ */