Linux-Watchdog Archive on
 help / color / Atom feed
From: Guenter Roeck <>
To: Linus Walleij <>,
	Wim Van Sebroeck <>
	Richard Fitzgerald <>,
	Charles Keepax <>,
	Mark Brown <>
Subject: Re: [PATCH RESEND] watchdog: wm831x: Use GPIO descriptor
Date: Mon, 10 Feb 2020 06:25:35 -0800
Message-ID: <> (raw)
In-Reply-To: <>

On 2/10/20 2:22 AM, Linus Walleij wrote:
> The WM831x watchdog driver passes a global GPIO number from
> platform data into this driver, this is discouraged so pass
> a GPIO descriptor instead.
> More thorough approaches are possible passing descriptors
> associated with the device through machine descriptor tables,
> but no boardfiles in the kernel currently use this driver
> so it is hard to test.
> Cc: Richard Fitzgerald <>
> Cc: Charles Keepax <>
> Cc: Mark Brown <>
> Signed-off-by: Linus Walleij <>

Interesting, I don't see evidence of the original patch in
watchdog patchwork.

Anyway, it seems to me it would be better to remove the gpio code
entirely from this driver. It is instantiated from an mfd driver
which doesn't set the gpio pin. It is quite unlikely that it is
ever going to be used, so we might as well remove it (instead of
modifying it without ability to test it).


  reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-10 10:22 Linus Walleij
2020-02-10 14:25 ` Guenter Roeck [this message]
2020-02-14 14:26   ` Charles Keepax

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Watchdog Archive on

Archives are clonable:
	git clone --mirror linux-watchdog/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-watchdog linux-watchdog/ \
	public-inbox-index linux-watchdog

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone