hwmon: (pmbus) Add IEEE 754 half precision support to PMBus core
Subsystems (3)
Guenter Roeck
maintainerPATCH v2 1/3 hwmon: (pmbus) Add IEEE 754 half precision support to PMBus core
Add support for the IEEE 754 half precision data format as specified in PMBus v1.3.1.
---
v2: Rebased to v5.18+
drivers/hwmon/pmbus/pmbus.h | 2 +- drivers/hwmon/pmbus/pmbus_core.c | 142 ++++++++++++++++++++++++++++++- 2 files changed, 139 insertions(+), 5 deletions(-)
drivers/hwmon/pmbus/pmbus.h +1 -1
@@ -406,7 +406,7 @@ enum pmbus_sensor_classes {#define PMBUS_PHASE_VIRTUAL BIT(30)/* Phases on this page are virtual */ #define PMBUS_PAGE_VIRTUAL BIT(31)/* Page is virtual */ -enum pmbus_data_format { linear =0 , direct, vid }; +enum pmbus_data_format { linear =0 , ieee754, direct, vid };enum vrm_version { vr11 =0 , vr12, vr13, imvp9, amd625mv };struct pmbus_driver_info {
drivers/hwmon/pmbus/pmbus_core.c +138 -4
182 lines not on this page · raw message
Signature · 1 line
2.35.1
Guenter Roeck
maintainerPATCH v2 2/3 dt-bindings: trivial-devices: Add lt7182s
Add Analog Devices LT7182S Dual Channel Step-Down Switcher.
---
v2: Added patch
Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
@@ -41,6 +41,8 @@ properties: - adi,adp5585-02 # Analog Devices ADP5589 Keypad Decoder and I/O Expansion - adi,adp5589 + # Analog Devices LT7182S Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher + - adi,lt7182s # AMS iAQ-Core VOC Sensor - ams,iaq-core # i2c serial eeprom (24cxx)
Signature · 1 line
2.35.1
Re: [PATCH v2 2/3] dt-bindings: trivial-devices: Add lt7182s
Quoted 3 lines · Guenter Roeck
Add Analog Devices LT7182S Dual Channel Step-Down Switcher.
Signed-off-by Guenter Roeck <[email protected]>
Best regards,
Krzysztof
Guenter Roeck
maintainerPATCH v2 3/3 hwmon: (pmbus) Add support for Analog Devices LT7182S
In reply to Guenter RoeckAdd support for Analog Devices LT7182S Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher with Digital Power System Management.
---
v2: New patch
Documentation/hwmon/index.rst | 1 + Documentation/hwmon/lt7182s.rst | 91 +++++++++++++++ drivers/hwmon/pmbus/Kconfig | 9 ++ drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/lt7182s.c | 195 ++++++++++++++++++++++++++++++++ 5 files changed, 297 insertions(+) create mode 100644 Documentation/hwmon/lt7182s.rst create mode 100644 drivers/hwmon/pmbus/lt7182s.c
Documentation/hwmon/index.rst +1 -0
@@ -109,6 +109,7 @@ Hardware Monitoring Kernel Drivers lm95234 lm95245 lochnagar + lt7182s ltc2992 ltc2945 ltc2947
Documentation/hwmon/lt7182s.rst new file +91 -0
91 lines not on this page · raw message
drivers/hwmon/pmbus/Kconfig +9 -0
@@ -181,6 +181,15 @@ config SENSORS_LM25066_REGULATOR If you say yes here you get regulator support for National Semiconductor LM25066, LM5064, and LM5066. +config SENSORS_LT7182S + tristate "Analog Devices LT7182S" + help + If you say yes here you get hardware monitoring support for Analog + Devices LT7182S. + + This driver can also be built as a module. If so, the module will + be called lt7182s. + config SENSORS_LTC2978 tristate "Linear Technologies LTC2978 and compatibles" help
drivers/hwmon/pmbus/Makefile +1 -0
@@ -20,6 +20,7 @@ obj-$(CONFIG_SENSORS_IR38064) += ir38064.o obj-$(CONFIG_SENSORS_IRPS5401) += irps5401.o obj-$(CONFIG_SENSORS_ISL68137) += isl68137.o obj-$(CONFIG_SENSORS_LM25066) += lm25066.o +obj-$(CONFIG_SENSORS_LT7182S) += lt7182s.o obj-$(CONFIG_SENSORS_LTC2978) += ltc2978.o obj-$(CONFIG_SENSORS_LTC3815) += ltc3815.o obj-$(CONFIG_SENSORS_MAX15301) += max15301.o
drivers/hwmon/pmbus/lt7182s.c new file +195 -0
195 lines not on this page · raw message
Signature · 1 line
2.35.1