[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241202-tps25990-v4-0-bb50a99e0a03@baylibre.com>
Date: Mon, 02 Dec 2024 11:27:59 +0100
From: Jerome Brunet <jbrunet@...libre.com>
To: Jean Delvare <jdelvare@...e.com>, Guenter Roeck <linux@...ck-us.net>,
Jonathan Corbet <corbet@....net>, Jerome Brunet <jbrunet@...libre.com>,
Delphine CC Chiu <Delphine_CC_Chiu@...ynn.com>
Cc: linux-hwmon@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org,
Vaishnav Achath <vaishnav.a@...com>
Subject: [PATCH v4 0/3] hwmon: pmbus: add tps25990 efuse support
This patchset adds initial support for the Texas Instruments TPS25990
eFuse. The TPS25990 is an integrated, high-current circuit protection and
power management device. TPS25895 may be stacked on the TPS25990 for
higher currents.
This patchset provides basic telemetry support for the device.
On boot, the device is write protected. Limits can be changed in sysfs
if the write protection is removed using the introduced pmbus parameter.
Limits will be restored to the default value device on startup, unless
saved to NVM. Writing the NVM is not supported by the driver at the moment.
As part of this series, PMBus regulator support is improved to better
support write-protected devices.
Changes in v4:
- Rebased on v6.13-rc1, dropping applied patches.
- Replace 0xff with -1 when using pmbus_read/write_byte()
- TPS25990 Support only WP_ALL or 0 as write protection, return -EINVAL otherwise.
- Link to v3: https://lore.kernel.org/r/20241024-tps25990-v3-0-b6a6e9d4b506@baylibre.com
Changes in v3:
- Grouped hwmon write protect patches from:
https://lore.kernel.org/r/20240920-pmbus-wp-v1-0-d679ef31c483@baylibre.com
- Link to v2: https://lore.kernel.org/r/20240920-tps25990-v2-0-f3e39bce5173@baylibre.com
Changes in v2:
- Drop PGOOD command support
- Use micro-ohms for rimon property and better handle range.
- Adjust read/write callbacks to let PMBus core do the job by default
- Drop history reset specific properties and remap to the generic ones
- Drop debugfs write_protect property and remap to the generic register
- Link to v1: https://lore.kernel.org/r/20240909-tps25990-v1-0-39b37e43e795@baylibre.com
---
Jerome Brunet (3):
hwmon: (pmbus/core) improve handling of write protected regulators
hwmon: (pmbus/core) add wp module param
hwmon: (pmbus/tps25990): add initial support
Documentation/hwmon/index.rst | 1 +
Documentation/hwmon/pmbus-core.rst | 35 +++
Documentation/hwmon/tps25990.rst | 148 +++++++++++++
MAINTAINERS | 2 +
drivers/hwmon/pmbus/Kconfig | 17 ++
drivers/hwmon/pmbus/Makefile | 1 +
drivers/hwmon/pmbus/pmbus.h | 4 +
drivers/hwmon/pmbus/pmbus_core.c | 81 ++++++-
drivers/hwmon/pmbus/tps25990.c | 437 +++++++++++++++++++++++++++++++++++++
include/linux/pmbus.h | 14 ++
10 files changed, 734 insertions(+), 6 deletions(-)
---
base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37
change-id: 20240909-tps25990-34c0cff2be06
Best regards,
--
Jerome
Powered by blists - more mailing lists