]> git.ipfire.org Git - thirdparty/u-boot.git/commit - arch/arm/mach-tegra/tegra30/cpu.c
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)
commit4213d52b332e9fad41a199f022fbc104d6b2d946
tree77d5c5984ba8d2c58b54803b5dd1e40f1c38e15c
parent1a7ce63c08837bfd144a3f772d32f326c454fc86
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