Add support for HiTRON HAC300S PSU
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied
- v12 patches 3 repliesSuperseded
Changes in v2 from the cover letter
--------------
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: trivial-devices: Add hitron,hac300sDocumentation/ Documentation/ | +4 | 1 reply | |
| 2/2 | hwmon: Add support for HiTRON HAC300S PSUDocumentation/ Documentation/ MAINTAINERS +3 more | +187 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Add support for HiTRON HAC300S PSU
From: Vasileios Amoiridis <[email protected]>
Changes in v2:
--------------
Patch 1/2:
- fixed type
- Added Ack-By
Patch 2/2:
- removed if statement for VOUT_MODE reg
- device specific read_word_data function reads only affected registers and returns -ENODATA
- fixed typos
v1:
---
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 cleard 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 +++++ Documentation/hwmon/index.rst | 1 + MAINTAINERS | 7 + drivers/hwmon/pmbus/Kconfig | 9 ++ drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/hac300s.c | 132 ++++++++++++++++++ 8 files changed, 191 insertions(+) create mode 100644 Documentation/hwmon/hac300s.rst create mode 100644 drivers/hwmon/pmbus/hac300s.c
Signature · 1 line
2.47.3