]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: tegra: create common pre-dm i2c write
authorSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 14 Feb 2023 17:35:32 +0000 (19:35 +0200)
committerTom <twarren@nvidia.com>
Thu, 23 Feb 2023 19:55:37 +0000 (12:55 -0700)
commit232508be4f1a93a8137081934257dfef0c60764b
tree77d5c5984ba8d2c58b54803b5dd1e40f1c38e15c
parent932e0409f011f6c0c658c31d397718432e45c545
ARM: tegra: create common pre-dm i2c write

This implementation allows pwr i2c writing on early SPL
stages when DM is not yet setup.

Such writing is needed to configure main voltages of PMIC
on early SPL for bootloader to boot properly.

Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS TF T30
Tested-by: Robert Eckelmann <longnoserob@gmail.com> # ASUS TF101 T20
Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # LG P895 T30
Tested-by: Thierry Reding <treding@nvidia.com> # T30 and T124
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Tom <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/tegra_i2c.h
arch/arm/mach-tegra/cpu.h
arch/arm/mach-tegra/tegra124/cpu.c
arch/arm/mach-tegra/tegra30/cpu.c