Skip to content
Snippets Groups Projects
Commit b5ee48c0 authored by Stephen Carlson's avatar Stephen Carlson Committed by Priyanka Jain
Browse files

arm: fsl: common: Improve NXP VID driver PMBus support


This patch adds support for more PMBus compatible devices to the NXP
drivers for its QorIQ family devices. At runtime, the voltage regulator is
queried over I2C, and the required voltage multiplier determined. This
change supports the DIRECT and LINEAR PMBus voltage reporting modes.

Previously, the driver only supported a few specific devices such as the
IR36021 and LTC3882, so this change allows the QorIQ series to be used
with a much larger variety of core voltage regulator devices.

checkpatch warning "Use if (IS_DEFINED (...))" was ignored to maintain
consistency with the existing code.

Signed-off-by: default avatarStephen Carlson <stcarlso@linux.microsoft.com>
Signed-off-by: default avatarWasim Khan <wasim.khan@nxp.com>
Tested-by: default avatarWasim Khan <wasim.khan@nxp.com>
[Rebased]
Signed-off-by: Priyanka Jain's avatarPriyanka Jain <priyanka.jain@nxp.com>
parent 6a026e56
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment