All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [PATCH 2/2] sandbox: add test of wdt_gpio driver
Date: Mon, 10 May 2021 10:28:02 -0600	[thread overview]
Message-ID: <CAPnjgZ2FRC2txvvqrVA=c=XjXqzs1hLLwOL9ZXN5eKyh+78hpw@mail.gmail.com> (raw)
In-Reply-To: <20210510154738.3385393-2-rasmus.villemoes@prevas.dk>

On Mon, 10 May 2021 at 09:47, Rasmus Villemoes
<rasmus.villemoes@prevas.dk> wrote:
>
> It seems that no other test has claimed gpio_a:7 yet, so use that.
>
> The only small wrinkle is modifying the existing wdt test to use
> uclass_get_device_by_driver() since we now have to UCLASS_WDT
> instances in play, so it's a little more robust to fetch the device by
> driver and not merely uclass+index.
>
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
> ---
>  arch/sandbox/dts/test.dts   |  5 +++++
>  configs/sandbox64_defconfig |  1 +
>  configs/sandbox_defconfig   |  1 +
>  test/dm/wdt.c               | 32 +++++++++++++++++++++++++++++++-
>  4 files changed, 38 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

  reply	other threads:[~2021-05-10 16:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10 15:47 [PATCH 1/2] watchdog: add gpio watchdog driver Rasmus Villemoes
2021-05-10 15:47 ` [PATCH 2/2] sandbox: add test of wdt_gpio driver Rasmus Villemoes
2021-05-10 16:28   ` Simon Glass [this message]
2021-05-10 16:28 ` [PATCH 1/2] watchdog: add gpio watchdog driver Simon Glass
2021-05-10 18:45   ` Rasmus Villemoes
2021-05-10 19:19     ` Simon Glass
2021-05-10 19:56       ` Rasmus Villemoes
2021-05-11  5:55 ` Stefan Roese
2021-05-11  6:40   ` Rasmus Villemoes
2021-05-11  7:20     ` Stefan Roese
2021-05-22  7:18       ` Stefan Roese
2021-05-22 14:02         ` Rasmus Villemoes

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='CAPnjgZ2FRC2txvvqrVA=c=XjXqzs1hLLwOL9ZXN5eKyh+78hpw@mail.gmail.com' \
    --to=sjg@chromium.org \
    --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.