commit | add46820fb3afdc57aa36221120a6b1567c104dc | [log] [tgz] |
---|---|---|
author | Yong Zhao <yozhao@google.com> | Sat Jan 09 04:52:36 2021 +0000 |
committer | Ed Tanous <ed@tanous.net> | Wed Mar 31 15:58:19 2021 +0000 |
tree | 367507b276ee0efaee7c6bd759c6e35563da0e8b | |
parent | 129de0ab1ea8eee567fe3fc17ae515f3297cc7f3 [diff] |
Fan: Aggregate I2C bus and address related code This reduced the duplicated controls and the scope of several variables. Tested: the i2c fan sensor is the same as before. Change-Id: I9834b6e91edf624380ae35c81ed84c4f0c73094d Signed-off-by: Yong Zhao <yozhao@google.com>
dbus-sensors is a collection of sensor applications that provide the xyz.openbmc_project.Sensor collection of interfaces. They read sensor values from hwmon, d-bus, or direct driver access to provide readings. Some advance non-sensor features such as fan presence, pwm control, and automatic cpu detection (x86) are also supported.
runtime re-configurable from d-bus (entity-manager or the like)
isolated: each sensor type is isolated into its own daemon, so a bug in one sensor is unlikely to affect another, and single sensor modifications are possible
async single-threaded: uses sdbusplus/asio bindings
multiple data inputs: hwmon, d-bus, direct driver access