Commit 669cf162 authored by Vasileios Amoiridis's avatar Vasileios Amoiridis Committed by Guenter Roeck
Browse files

hwmon: Add support for HiTRON HAC300S PSU



Add Support for HiTRON HAC300S PSU. This is a AC/DC hot-swappable
CompactPCI Serial Dual output active current sharing switching power
supply with a 312W rating.

Signed-off-by: default avatarVasileios Amoiridis <vasileios.amoiridis@cern.ch>
Link: https://lore.kernel.org/r/20260119190806.35276-3-vassilisamir@gmail.com


[groeck: Fix whitespace / alignment problems; return -ENODATA from
 hac300s_read_byte_data() if the PMBus core can handle the operation]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 438921da
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
.. SPDX-License-Identifier: GPL-2.0

Kernel driver hac300s
=====================

Supported chips:

   * HiTRON HAC300S

     Prefix: 'hac300s'

     Datasheet: Publicly available at HiTRON website.

Author:

  - Vasileios Amoiridis <vasileios.amoiridis@cern.ch>

Description
-----------

This driver supports the HiTRON HAC300S PSU. It is a Universal AC input
harmonic correction AC-DC hot-swappable CompactPCI Serial Dual output
(with 5V standby) 312 Watts active current sharing switching power supply.

The device has an input of 90-264VAC and 2 nominal output voltaged at 12V and
5V which they can supplu up to 25A and 2.5A respectively.

Sysfs entries
-------------

======= ==========================================
curr1   Output current
in1     Output voltage
power1  Output power
temp1   Ambient temperature inside the module
temp2   Internal secondary component's temperature
======= ==========================================
+1 −0
Original line number Diff line number Diff line
@@ -84,6 +84,7 @@ Hardware Monitoring Kernel Drivers
   gl518sm
   gpd-fan
   gxp-fan-ctrl
   hac300s
   hih6130
   hp-wmi-sensors
   hs3001
+7 −0
Original line number Diff line number Diff line
@@ -11259,6 +11259,13 @@ F: kernel/time/timer_list.c
F:	kernel/time/timer_migration.*
F:	tools/testing/selftests/timers/
HITRON HAC300S PSU DRIVER
M:	Vasileios Amoiridis <vasileios.amoiridis@cern.ch>
L:	linux-hwmon@vger.kernel.org
S:	Maintained
F:	Documentation/hwmon/hac300s.rst
F:	drivers/hwmon/pmbus/hac300s.c
DELAY, SLEEP, TIMEKEEPING, TIMERS [RUST]
M:	Andreas Hindborg <a.hindborg@kernel.org>
R:	Boqun Feng <boqun.feng@gmail.com>
+9 −0
Original line number Diff line number Diff line
@@ -124,6 +124,15 @@ config SENSORS_FSP_3Y
	  This driver can also be built as a module. If so, the module will
	  be called fsp-3y.

config SENSORS_HAC300S
	tristate "Hitron HAC300S-D120E PSU"
	help
	  If you say yes here you get hardware monitoring support for the
	  Hitron HAC300S-D120E Power Supply.

	  This driver can also be built as a module. If so, the module will
	  be called hac300s.

config SENSORS_IBM_CFFPS
	tristate "IBM Common Form Factor Power Supply"
	depends on LEDS_CLASS
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ obj-$(CONFIG_SENSORS_BEL_PFE) += bel-pfe.o
obj-$(CONFIG_SENSORS_BPA_RS600)	+= bpa-rs600.o
obj-$(CONFIG_SENSORS_DELTA_AHE50DC_FAN) += delta-ahe50dc-fan.o
obj-$(CONFIG_SENSORS_FSP_3Y)	+= fsp-3y.o
obj-$(CONFIG_SENSORS_HAC300S)	+= hac300s.o
obj-$(CONFIG_SENSORS_IBM_CFFPS)	+= ibm-cffps.o
obj-$(CONFIG_SENSORS_DPS920AB)	+= dps920ab.o
obj-$(CONFIG_SENSORS_INA233)	+= ina233.o
Loading