mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
144729b9f1
commit
b7fba25ef1
2 changed files with 177 additions and 0 deletions
|
@ -258,6 +258,7 @@ OBJECT_DECLARE_TYPE(PMBusDevice, PMBusDeviceClass,
|
|||
#define PB_HAS_TEMP2 BIT_ULL(41)
|
||||
#define PB_HAS_TEMP3 BIT_ULL(42)
|
||||
#define PB_HAS_TEMP_RATING BIT_ULL(43)
|
||||
#define PB_HAS_FAN BIT_ULL(44)
|
||||
#define PB_HAS_MFR_INFO BIT_ULL(50)
|
||||
#define PB_HAS_STATUS_MFR_SPECIFIC BIT_ULL(51)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue