From: Vasileios Amoiridis <vassilisamir@gmail.com>
To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
linux@roeck-us.net
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org,
Vasileios Amoiridis <vasileios.amoiridis@cern.ch>
Subject: [PATCH v1 0/2] Add support for HiTRON HAC300S PSU
Date: Tue, 6 Jan 2026 17:03:51 +0100 [thread overview]
Message-ID: <20260106160353.14023-1-vassilisamir@gmail.com> (raw)
From: Vasileios Amoiridis <vasileios.amoiridis@cern.ch>
Add support for the HiTRON HAC300S AC/DC switching power supply in
compact PCI format, with a 300W rating. This is a simple PMBUS
compatible device.
There is a small caveat with the internal registers of the device and
more specifically with the PMBUS_VOUT_MODE. As it is already described
in the driver, the device does not support the PMBUS_VOUT_MODE register
and at the same time, it returns the voltage output values in Linear11
which is not adhering to the PMBus specification (PMBus Specification
Part II, Section 7.1-7.3). For that reason the PMBUS_VOUT_MODE register
is being faked and returns the exponent value of the READ_VOUT register.
The exponent part of the VOUT_* registers is being cleared in order to
return the mantissa to the pmbus core.
Vasileios Amoiridis (2):
dt-bindings: trivial-devices: Add hitron,hac300s
hwmon: Add support for HiTRON HAC300S PSU
.../devicetree/bindings/trivial-devices.yaml | 2 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
Documentation/hwmon/hac300s.rst | 37 +++++
MAINTAINERS | 7 +
drivers/hwmon/pmbus/Kconfig | 9 ++
drivers/hwmon/pmbus/Makefile | 1 +
drivers/hwmon/pmbus/hac300s.c | 152 ++++++++++++++++++
7 files changed, 210 insertions(+)
create mode 100644 Documentation/hwmon/hac300s.rst
create mode 100644 drivers/hwmon/pmbus/hac300s.c
--
2.47.3
next reply other threads:[~2026-01-06 16:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-06 16:03 Vasileios Amoiridis [this message]
2026-01-06 16:03 ` [PATCH v1 1/2] dt-bindings: trivial-devices: Add hitron,hac300s Vasileios Amoiridis
2026-01-07 8:14 ` Krzysztof Kozlowski
2026-01-06 16:03 ` [PATCH v1 2/2] hwmon: Add support for HiTRON HAC300S PSU Vasileios Amoiridis
2026-01-07 16:48 ` kernel test robot
2026-01-12 15:26 ` Guenter Roeck
2026-01-15 14:00 ` Vasileios Amoiridis
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=20260106160353.14023-1-vassilisamir@gmail.com \
--to=vassilisamir@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh@kernel.org \
--cc=vasileios.amoiridis@cern.ch \
/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