From: Vadim Pasternak <vadimp@nvidia.com>
To: <linux@roeck-us.net>, <robh+dt@kernel.org>
Cc: <linux-hwmon@vger.kernel.org>, <devicetree@vger.kernel.org>,
"Vadim Pasternak" <vadimp@nvidia.com>
Subject: [PATCH hwmon-next v3 1/3] hwmon: (pmbus) Increase maximum number of phases per page
Date: Tue, 27 Apr 2021 01:17:29 +0300 [thread overview]
Message-ID: <20210426221731.1718613-2-vadimp@nvidia.com> (raw)
In-Reply-To: <20210426221731.1718613-1-vadimp@nvidia.com>
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>
---
drivers/hwmon/pmbus/pmbus.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/pmbus/pmbus.h b/drivers/hwmon/pmbus/pmbus.h
index 4c30ec89f5bf..fd43873011a4 100644
--- a/drivers/hwmon/pmbus/pmbus.h
+++ b/drivers/hwmon/pmbus/pmbus.h
@@ -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)
--
2.11.0
next prev parent reply other threads:[~2021-04-26 22:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 22:17 [PATCH hwmon-next v3 0/3] Add support for MPS Multi-phase mp2888 controller Vadim Pasternak
2021-04-26 22:17 ` Vadim Pasternak [this message]
2021-04-26 22:17 ` [PATCH hwmon-next v3 2/3] hwmon: (pmbus) " Vadim Pasternak
2021-05-02 15:46 ` Guenter Roeck
2021-05-03 16:11 ` Vadim Pasternak
2021-05-03 17:34 ` Guenter Roeck
2021-04-26 22:17 ` [PATCH hwmon-next v3 3/3] dt-bindings: Add MP2888 voltage regulator device Vadim Pasternak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210426221731.1718613-2-vadimp@nvidia.com \
--to=vadimp@nvidia.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).