drivers: power: ltm4700: Add comprehensive LTM4700 dual-channel regulator driver#3086
Closed
cjones-adi wants to merge 6 commits intoanalogdevicesinc:mainfrom
Closed
drivers: power: ltm4700: Add comprehensive LTM4700 dual-channel regulator driver#3086cjones-adi wants to merge 6 commits intoanalogdevicesinc:mainfrom
cjones-adi wants to merge 6 commits intoanalogdevicesinc:mainfrom
Conversation
Add comprehensive PMBus driver for LTM4700 dual-channel regulator family. Includes support for device identification (LTM4700/LTM4777 variants), dual-channel monitoring, and complete LINEAR format conversion. Key features: - PMBus 1.3 compliant I2C interface (400kHz) - Dual-channel 50A per channel or single 100A operation - LINEAR11/LINEAR16 data format support - Device variant detection via MFR_SPECIAL_ID - Comprehensive status monitoring - Complete telemetry reading (VIN, IIN, VOUT, IOUT, temperatures) - Peak value tracking and management - NVM operations for configuration storage Signed-off-by: $(git config user.name) <$(git config user.email)>
Add comprehensive Industrial I/O (IIO) framework integration for LTM4700 dual-channel regulator with real-time telemetry and control interface. Key features: - 13 IIO channels covering all telemetry (VIN, IIN, VOUT0/1, IOUT0/1, etc.) - Real-time voltage/current/power/temperature monitoring - Write support for VOUT control and operation mode - Device identification and variant detection via IIO - Peak value management and fault clearing - Engineering unit conversion (mV, mA, m°C, mW) - Multi-channel configuration support - Complete Linux IIO subsystem compliance IIO Channels: - Input: VIN, IIN, PIN, IC temperature - Output: VOUT0/1, IOUT0/1, POUT0/1, external temperatures - Control: Operation mode, voltage commands, margins - Frequency: Per-channel switching frequency monitoring Signed-off-by: $(git config user.name) <$(git config user.email)>
amiclaus
reviewed
May 4, 2026
Contributor
amiclaus
left a comment
There was a problem hiding this comment.
hi, please solve the build issues in the first place.
b489e99 to
7166569
Compare
Add comprehensive driver documentation covering device features, PMBus command interface, IIO integration, and usage examples. Documentation includes: - Device overview and supported variants (LTM4700/LTM4777) - Key features and specifications - PMBus communication interface details - Data format descriptions (LINEAR11/LINEAR16) - Complete API usage examples - IIO framework integration guide - Design considerations and best practices - Build configuration instructions The documentation provides complete guidance for driver integration and application development with the LTM4700 family regulators. Signed-off-by: $(git config user.name) <$(git config user.email)>
Add comprehensive project structure for LTM4700 dual-channel regulator with support for both basic telemetry monitoring and IIO integration. Includes platform-specific configuration for Maxim MAX32655 with proper I2C, UART, and GPIO setup for PMBus communication at 400kHz. Signed-off-by: Carlos Jones Jr <carlosjr.jones@analog.com>
Add comprehensive project documentation covering hardware setup, build instructions, examples usage, and troubleshooting guide. Includes detailed configuration options for both basic telemetry and IIO integration examples with performance characteristics and platform-specific setup instructions. Signed-off-by: Carlos Jones Jr <carlosjr.jones@analog.com>
Add comprehensive unit test suite for LTM4700 dual-channel regulator driver using Ceedling/Unity/CMock framework. Includes core driver tests for initialization, PMBus communication, LINEAR format conversion, voltage/current/temperature reading, and IIO integration tests. Test coverage includes: - Device initialization and variant detection (LTM4700/LTM4777) - PMBus read/write operations with I2C mocking - LINEAR11/LINEAR16 format conversion validation - Multi-channel operation and page selection - IIO channel mapping and attribute handling - Error handling and parameter validation - Support functions for test data generation Targets 80%+ code coverage with automated testing framework. Signed-off-by: Carlos Jones Jr <carlosjr.jones@analog.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Add comprehensive driver support for LTM4700/LTM4777 dual-channel digital power system manager family with complete PMBus 1.3 protocol implementation, IIO integration, and extensive unit testing.
PR Type
PR Checklist