u-boot-brain/board/freescale/common
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
..
p_corenet treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
arm_sleep.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
cadmus.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cadmus.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cds_pci_ft.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
cds_via.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cmd_esbc_validate.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
dcu_sii9022a.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
dcu_sii9022a.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
diu_ch7301.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
diu_ch7301.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
eeprom.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
emc2305.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
emc2305.h board: freescale: emc2305: Pass chip_addr to set_fan_speed 2020-09-24 20:57:32 +05:30
fman.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fman.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_chain_of_trust.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fsl_validate.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ics307_clk.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ics307_clk.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
idt8t49n222a_serdes_clk.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
idt8t49n222a_serdes_clk.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig arm: fsl: common: Improve NXP VID driver PMBus support 2021-03-05 10:25:41 +05:30
ls102xa_stream_id.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile ppc: Remove MPC8572DS board 2021-02-15 10:15:13 -05:00
mc34vr500.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mpc85xx_sleep.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ngpixis.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
ngpixis.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ns_access.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pfuze.c pfuze: Fix the pmic_get() parameter in the DM case 2019-12-27 12:13:11 +01:00
pfuze.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pixis.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
pixis.h ppc: Remove MPC8641HPCN board 2021-02-15 10:16:21 -05:00
pq-mds-pib.c ppc: Remove MPC8569MDS board 2021-02-25 11:59:54 -05:00
pq-mds-pib.h mpc83xx: Split PIB init code from pci.c and add Qoc3 ATM card support 2007-08-16 23:12:11 -05:00
qixis.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
qixis.h armv8: lx2162aqds: Add support for LX2162AQDS platform 2020-12-10 13:56:39 +05:30
sdhc_boot.c board: sdhc: Use block layer to read from mmc 2019-11-25 11:54:27 +05:30
sgmii_riser.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sgmii_riser.h Fixup SGMII PHY ids in the device tree 2009-02-16 18:05:54 -06:00
sleep.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sys_eeprom.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
via.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00
vid.c arm: fsl: common: Improve NXP VID driver PMBus support 2021-03-05 10:25:41 +05:30
vid.h arm: fsl: common: Improve NXP VID driver PMBus support 2021-03-05 10:25:41 +05:30
vsc3316_3308.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
vsc3316_3308.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zm7300.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
zm7300.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00