[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260106160353.14023-1-vassilisamir@gmail.com>
Date: Tue, 6 Jan 2026 17:03:51 +0100
From: Vasileios Amoiridis <vassilisamir@...il.com>
To: robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
linux@...ck-us.net
Cc: devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-hwmon@...r.kernel.org,
linux-doc@...r.kernel.org,
Vasileios Amoiridis <vasileios.amoiridis@...n.ch>
Subject: [PATCH v1 0/2] Add support for HiTRON HAC300S PSU
From: Vasileios Amoiridis <vasileios.amoiridis@...n.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
Powered by blists - more mailing lists