[PATCH v2 10/16] ARM: tegra: create common pre-dm i2c write
Svyatoslav Ryhel
clamor95 at gmail.com
Fri Feb 3 08:15:48 CET 2023
пт, 3 лют. 2023 р. о 04:16 Simon Glass <sjg at chromium.org> пише:
>
> Hi Svyatoslav,
>
> On Thu, 2 Feb 2023 at 11:43, Svyatoslav Ryhel <clamor95 at gmail.com> wrote:
> >
> > This implementation allows pwr i2c writing on early
> > stages when DM was not yet setup.
>
> s/was/is/ ?
Greetings!
is
>
> >
> > Such writing is needed to configure main voltages of PMIC.
>
> Is this in SPL?
Yes, this is an early SPL stage, when i2c DM is not yet set, and
u-boot to be able to boot itself has to set PMIC core and cpu
voltages. This is the case for T30 and T124, though it may not be
exclusive
Best regards,
Svyatoslav R.
>
> >
> > Tested-by: Andreas Westman Dorcsak <hedmoo at yahoo.com> # ASUS TF T30
> > Tested-by: Robert Eckelmann <longnoserob at gmail.com> # ASUS TF101 T20
> > Tested-by: Svyatoslav Ryhel <clamor95 at gmail.com> # LG P895 T30
> > Signed-off-by: Svyatoslav Ryhel <clamor95 at gmail.com>
> > ---
> > arch/arm/include/asm/arch-tegra/tegra_i2c.h | 17 ++++++++++
> > arch/arm/mach-tegra/cpu.h | 1 -
> > arch/arm/mach-tegra/tegra124/cpu.c | 4 +++
> > arch/arm/mach-tegra/tegra30/cpu.c | 37 +++++++--------------
> > 4 files changed, 33 insertions(+), 26 deletions(-)
>
> Regards,
> Simon
More information about the U-Boot
mailing list