From: "Łukasz Majewski" <lukma@nabladev.com>
To: Tom Rini <trini@konsulko.com>
Cc: Svyatoslav Ryhel <clamor95@gmail.com>,
Francesco Dolcini <francesco.dolcini@toradex.com>,
Thierry Reding <treding@nvidia.com>,
u-boot@lists.denx.de, Stephen Warren <swarren@nvidia.com>
Subject: Re: [PATCH 1/2] timer: tegra: Bind watchdog driver when timer node is processed
Date: Wed, 10 Sep 2025 08:52:33 +0200 [thread overview]
Message-ID: <20250910085233.368e801b@wsk> (raw)
In-Reply-To: <20250909154710.GZ124814@bill-the-cat>
Hi Tom,
> On Tue, Sep 09, 2025 at 06:44:45PM +0300, Svyatoslav Ryhel wrote:
> > вт, 9 вер. 2025 р. о 18:39 Tom Rini <trini@konsulko.com> пише:
> > >
> > > On Tue, Sep 09, 2025 at 02:26:19PM +0300, Svyatoslav Ryhel wrote:
> > >
> > > > вт, 9 вер. 2025 р. о 13:15 Łukasz Majewski <lukma@nabladev.com>
> > > > пише:
> > > > >
> > > > > Hi Svyatoslav,
> > > > >
> > > > > > пн, 8 вер. 2025 р. о 15:41 Łukasz Majewski
> > > > > > <lukma@nabladev.com> пише:
> > > > > > >
> > > > > > > Hi Svyatoslav,
> > > > > > >
> > > > > > > > вт, 26 серп. 2025 р. о 12:39 Lukasz Majewski
> > > > > > > > <lukma@nabladev.com> пише:
> > > > > > > > >
> > > > > > > > > The Tegra30 SoC is a bit special, as it doesn't have
> > > > > > > > > the separate IP block to provide watchdog
> > > > > > > > > functionality.
> > > > > > > > >
> > > > > > > > > Instead, timer IP block allows such functionality
> > > > > > > > > when properly configured.
> > > > > > > > >
> > > > > > > > > As in the tegra30.dtsi there is a timer node, which
> > > > > > > > > "covers" all timers, with 'nvidia,tegra30-timer'
> > > > > > > > > compatibility it was necessary to manually bind
> > > > > > > > > U-Boot's WDT driver (based on WDT_UCLASS).
> > > > > > > > >
> > > > > > > > > Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
> > > > > > > > > ---
> > > > > > > > > drivers/timer/tegra-timer.c | 18 ++++++++++++++++++
> > > > > > > > > 1 file changed, 18 insertions(+)
> > > > > > > > >
> > > > > > > >
> > > > > > > > What is the practical application for this diver in
> > > > > > > > therms of Tegra and U-Boot overall?
> > > > > > >
> > > > > > > You have the WDT functionality working. It uses the same
> > > > > > > DTS bindings as ones used in Linux.
> > > > > >
> > > > > > Why do we need WDT for Tegra in U-Boot at all?
> > > > >
> > > > > Can you correct me if I draw wrong conclusion - you ask why
> > > > > Tegra needs to support watchdog in u-boot bootloader ?
> > > > >
> > > > > > It is not used and has
> > > > > > no practical application.
> > > > > >
> > > > >
> > > > > Yes, it has ...
> > > > >
> > > > > Customer has number of Tegra30 colibri modules in the field.
> > > > > They want to switch to u-boot + linux kernel BSP.
> > > > >
> > > > > For their application - it would be welcome if the device
> > > > > could reboot and start emergency procedure in the case of not
> > > > > being able to start Linux.
> > > > >
> > > > > The procedure is that we start Watchdog at very early boot -
> > > > > then we do have for example 30 seconds to "feed" the Watchdog
> > > > > in Linux
> > > > >
> > > > > When we fail, after watchdog reboot, we can switch to another
> > > > > rootfs partition (the A/B scheme of booting) or start
> > > > > emergency system.
> > > >
> > > > So when are you going to submit this board variant? If driver
> > > > has no users, it is removed.
> > >
> > > I assume it would be enabled on colibri_t30_defconfig.
> > >
> >
> > T30 colibri does not need it and does not use it with current
> > configuration, hence I am asking about board submission.
>
> It's a devkit where I'm pretty sure the watchdog exists, so we can
> enable it there and be done. Just because it doesn't use it today
> doesn't mean it can't use it in the future if we enable it, the "use
> watchdog to make sure A/B system configures are stable" is a common
> use case.
+1
--
Best regards,
Lukasz Majewski
--
Nabla Software Engineering GmbH
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: office@nabladev.com
Geschftsfhrer : Stefano Babic
next prev parent reply other threads:[~2025-09-10 6:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-26 9:39 [PATCH 1/2] timer: tegra: Bind watchdog driver when timer node is processed Lukasz Majewski
2025-08-26 9:39 ` [PATCH 2/2] watchdog: Add implementation of NVIDIA's Tegra 30 watchdog driver Lukasz Majewski
2025-09-17 14:01 ` Svyatoslav Ryhel
2025-08-26 10:10 ` [PATCH 1/2] timer: tegra: Bind watchdog driver when timer node is processed Svyatoslav Ryhel
2025-09-08 12:41 ` Łukasz Majewski
2025-09-08 13:55 ` Svyatoslav Ryhel
2025-09-09 10:15 ` Łukasz Majewski
2025-09-09 11:26 ` Svyatoslav Ryhel
2025-09-09 15:39 ` Tom Rini
2025-09-09 15:44 ` Svyatoslav Ryhel
2025-09-09 15:47 ` Tom Rini
2025-09-09 16:08 ` Svyatoslav Ryhel
2025-09-10 8:51 ` Francesco Dolcini
2025-09-10 12:28 ` Łukasz Majewski
2025-09-10 14:07 ` Francesco Dolcini
2025-09-11 6:46 ` Łukasz Majewski
2025-09-10 6:52 ` Łukasz Majewski [this message]
2025-09-17 12:46 ` Łukasz Majewski
2025-09-17 13:40 ` Svyatoslav Ryhel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250910085233.368e801b@wsk \
--to=lukma@nabladev.com \
--cc=clamor95@gmail.com \
--cc=francesco.dolcini@toradex.com \
--cc=swarren@nvidia.com \
--cc=treding@nvidia.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.