Skip to content

Commit

Permalink
hwmon: (pmbus) Increase maximum number of phases per page
Browse files Browse the repository at this point in the history
Increase maximum number of phases from 8 to 10 to support multi-phase
devices allowing up to 10 phases.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20210511055619.118104-2-vadimp@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
  • Loading branch information
vadimp-nvidia authored and groeck committed Jun 17, 2021
1 parent 4943c60 commit 0c1acde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/pmbus/pmbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ enum pmbus_sensor_classes {
};

#define PMBUS_PAGES 32 /* Per PMBus specification */
#define PMBUS_PHASES 8 /* Maximum number of phases per page */
#define PMBUS_PHASES 10 /* Maximum number of phases per page */

/* Functionality bit mask */
#define PMBUS_HAVE_VIN BIT(0)
Expand Down

0 comments on commit 0c1acde

Please sign in to comment.