public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] arm: tegra20/colibri_t20: early pmic rail configuration
@ 2015-08-20  7:52 Marcel Ziswiler
  2015-08-20  7:52 ` [U-Boot] [PATCH 1/3] arm: tegra20: implement " Marcel Ziswiler
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Marcel Ziswiler @ 2015-08-20  7:52 UTC (permalink / raw)
  To: u-boot


Implement early TPS6586X PMIC rail configuration setting SM0 being
VDD_CORE_1.2V to 1.2 volts and SM1 being VDD_CPU_1.0V to 1.0 volts.

While those are PMIC power-up defaults the SoC might have been reset
separately with certain rails being left at lower DVFS states which
is e.g. the case upon watchdog reset while otherwise nearly idling.

This fixes an issue of the Colibri T20 being stuck in U-Boot's SPL upon
watchdog reset (e.g. running downstream L4T Linux kernel as there
exists no mainline Tegra20 watchdog driver as of yet).

The last patch in this series is not really related but just gets rid
of a spurious MAX_I2C_RETRY define in the Colibri T20's board file.


Marcel Ziswiler (3):
  arm: tegra20: implement early pmic rail configuration
  colibri_t20: enable early pmic rail configuration
  colibri_t20: get rid of spurious MAX_I2C_RETRY define

 arch/arm/mach-tegra/tegra20/cpu.c       | 76 ++++++++++++++++++++++++++++++++-
 board/toradex/colibri_t20/colibri_t20.c |  1 -
 include/configs/colibri_t20.h           |  2 +
 3 files changed, 77 insertions(+), 2 deletions(-)

-- 
2.4.3

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 1/3] arm: tegra20: implement early pmic rail configuration
@ 2015-08-20 23:06 Marcel Ziswiler
  2015-08-24 16:28 ` Stephen Warren
  0 siblings, 1 reply; 9+ messages in thread
From: Marcel Ziswiler @ 2015-08-20 23:06 UTC (permalink / raw)
  To: u-boot

On 20 Aug 2015 22:00, Stephen Warren <swarren@wwwdotorg.org> wrote:

> Does the CORE rail get adjusted by DVFS? Hopefully if it does, it is
> never set so low that AVP operation at reset is impossible...

Exactly.

> > +     udelay(1000);
>
> all the delays in this patch seem very large. What drove the choice of
> the delay values?

Three things: I2C transfers at that speed will take at least around some 3 to 4 hundred us to complete so we stay at the save side. Plus the T30 equivalent file uses the exact same delays so it can't be that wrong. My testing also showed that setting it anywhere much lower will cause reliability issues.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-08-24 16:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-20  7:52 [U-Boot] [PATCH 0/3] arm: tegra20/colibri_t20: early pmic rail configuration Marcel Ziswiler
2015-08-20  7:52 ` [U-Boot] [PATCH 1/3] arm: tegra20: implement " Marcel Ziswiler
2015-08-20 20:01   ` Stephen Warren
2015-08-20  7:52 ` [U-Boot] [PATCH 2/3] colibri_t20: enable " Marcel Ziswiler
2015-08-20 20:02   ` Stephen Warren
2015-08-20  7:52 ` [U-Boot] [PATCH 3/3] colibri_t20: get rid of spurious MAX_I2C_RETRY define Marcel Ziswiler
2015-08-20 19:59 ` [U-Boot] [PATCH 0/3] arm: tegra20/colibri_t20: early pmic rail configuration Stephen Warren
  -- strict thread matches above, loose matches on Subject: below --
2015-08-20 23:06 [U-Boot] [PATCH 1/3] arm: tegra20: implement " Marcel Ziswiler
2015-08-24 16:28 ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox