]> git.proxmox.com Git - mirror_qemu.git/commit
hw/i2c: pmbus: add fan support
authorTitus Rwantare <titusr@google.com>
Mon, 23 Oct 2023 23:46:42 +0000 (23:46 +0000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Nov 2023 12:08:48 +0000 (13:08 +0100)
commitb7fba25ef1f32bfe92d9fcc73f297b2ce58fee9e
treeecd6b1d10a88c3301f2b206e71ac63207941eec6
parent144729b9f1156174d41df54f05f4b57ce80e30de
hw/i2c: pmbus: add fan support

PMBus devices may integrate fans whose operation is configurable
over PMBus. This commit allows the driver to read and write the
fan control registers but does not model the operation of fans.

Reviewed-by: Stephen Longfield <slongfield@google.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Titus Rwantare <titusr@google.com>
Message-ID: <20231023-staging-pmbus-v3-v4-3-07a8cb7cd20a@google.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i2c/pmbus_device.c
include/hw/i2c/pmbus_device.h