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:Stephen Carlson <stcarlso@linux.microsoft.com> Signed-off-by:
Wasim Khan <wasim.khan@nxp.com> Tested-by:
Wasim Khan <wasim.khan@nxp.com> [Rebased] Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
Showing
- board/freescale/common/Kconfig 23 additions, 4 deletionsboard/freescale/common/Kconfig
- board/freescale/common/vid.c 322 additions, 498 deletionsboard/freescale/common/vid.c
- board/freescale/common/vid.h 7 additions, 4 deletionsboard/freescale/common/vid.h
- board/freescale/ls1088a/ls1088a.c 40 additions, 0 deletionsboard/freescale/ls1088a/ls1088a.c
- board/freescale/ls2080ardb/ls2080ardb.c 42 additions, 0 deletionsboard/freescale/ls2080ardb/ls2080ardb.c
- board/freescale/lx2160a/lx2160a.c 42 additions, 0 deletionsboard/freescale/lx2160a/lx2160a.c
- include/configs/ls1088aqds.h 0 additions, 6 deletionsinclude/configs/ls1088aqds.h
- include/configs/ls1088ardb.h 1 addition, 7 deletionsinclude/configs/ls1088ardb.h
Loading
Please register or sign in to comment