u-boot-brain/board/freescale
Stephen Carlson b5ee48c099 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>
2021-03-05 10:25:41 +05:30
..
common arm: fsl: common: Improve NXP VID driver PMBus support 2021-03-05 10:25:41 +05:30
corenet_ds common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
imx8mm_evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
imx8mn_evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
imx8mp_evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
imx8mq_evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
imx8qm_mek common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
imx8qxp_mek common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
imxrt1020-evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
imxrt1050-evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ls1012afrdm common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ls1012aqds dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ls1012ardb dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ls1021aiot common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ls1021aqds dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ls1021atsn common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ls1021atwr dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ls1028a dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ls1043aqds dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ls1043ardb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ls1046afrwy dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ls1046aqds dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ls1046ardb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ls1088a arm: fsl: common: Improve NXP VID driver PMBus support 2021-03-05 10:25:41 +05:30
ls2080aqds dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
ls2080ardb arm: fsl: common: Improve NXP VID driver PMBus support 2021-03-05 10:25:41 +05:30
lx2160a arm: fsl: common: Improve NXP VID driver PMBus support 2021-03-05 10:25:41 +05:30
m547xevb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m548xevb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5208evbe common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5235evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5249evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5253demo common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5272c3 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5275evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5282evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5329evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5373evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m52277evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m53017evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m54418twr common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m54451evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m54455evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mpc832xemds common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mpc837xemds common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mpc837xerdb mpc8379erdb: Convert to DM_MMC 2021-02-21 18:46:41 -05:00
mpc8308rdb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mpc8313erdb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mpc8315erdb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mpc8323erdb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mpc8349emds common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mpc8349itx common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mpc8541cds treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mpc8548cds treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mpc8555cds treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mpc8568mds treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mx6memcal common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6qarm2 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6sabreauto common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6sabresd common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6slevk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6sllevk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6sxsabreauto common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6sxsabresd common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6ul_14x14_evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6ullevk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx7dsabresd common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx7ulp_evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx23evk mx23evk: Add myself as maintainer 2021-03-01 10:21:36 +01:00
mx28evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx51evk mx51evk: Add myself as maintainer 2021-03-01 10:21:36 +01:00
mx53evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx53loco mx53loco: Add myself as maintainer 2021-03-01 10:21:36 +01:00
p1_p2_rdb_pc dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
p1010rdb dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
p2041rdb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
qemu-ppce500 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
s32v234evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
t4rdb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
t102xrdb dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
t104xrdb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
t208xqds dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
t208xrdb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
vf610twr common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00