From: Shawn Guo <shawnguo@kernel.org>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>,
robh@kernel.org, linux-watchdog@vger.kernel.org,
mark@embeddedarm.com, devicetree@vger.kernel.org,
linus.walleij@linaro.org, linux-kernel@vger.kernel.org,
kris@embeddedarm.com, kernel@savoirfairelinux.com,
fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 6/6] watchdog: ts4600: add driver for TS-4600 watchdog
Date: Mon, 15 May 2017 10:00:02 +0800 [thread overview]
Message-ID: <20170515020001.GI8471@dragon> (raw)
In-Reply-To: <ef75bcab-e179-1891-83f6-d26d057f8758@roeck-us.net>
On Sun, May 14, 2017 at 07:39:33AM -0700, Guenter Roeck wrote:
> On 05/11/2017 12:22 AM, Shawn Guo wrote:
> >On Fri, May 05, 2017 at 03:32:59PM -0400, Sebastien Bourdelin wrote:
> >>This watchdog is instantiated in a FPGA and can only be access using a
> >>GPIOs bit-banged bus, called the NBUS by Technologic Systems.
> >>The watchdog is made of only one register, called the feed register.
> >>Writing to this register will re-arm the watchdog for a given time (and
> >>enable it if it was disable). It can be disabled by writing a special
> >>value into it.
> >>
> >>Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
> >>---
> >>Changes v2 -> v3:
> >> - rebase on master
> >> - remove the timeout table to simplify the logic (suggested by
> >> Guenter Roeck)
> >> - fix the set_timeout function (suggested by Guenter Roeck)
> >> - hardcode the max_hw_heartbeat_ms value based on the ts4600 max
> >> timeout value supported (suggested by Guenter Roeck)
> >> - remove the max_timeout usage and set a default timeout value
> >>(suggested by Guenter Roeck)
> >> - use the devm_watchdog_register_device function instead of
> >> watchdog_register_device (suggested by Guenter Roeck)
> >>
> >>Changes v1 -> v2:
> >> - rebase on master
> >> - retrieve the ts_nbus instantiated by the parent node (suggested by
> >> Linus Walleij)
> >> - rename the wdt by watchdog in the device tree and in the
> >> documentation (suggested by Rob Herring)
> >> - add a dependency to the TS_NBUS driver in the Kconfig (suggested by
> >> Guenter Roeck)
> >> - simplify the set_timeout function (suggested by Guenter Roeck)
> >> - use the max_hw_heartbeat_ms callback instead of the max_timeout
> >> callback (suggested by Guenter Roeck)
> >>---
> >> .../devicetree/bindings/watchdog/ts4600-wdt.txt | 16 ++
> >> arch/arm/boot/dts/imx28-ts4600-common.dtsi | 5 +
> >
> >The dts change shouldn't be mixed within driver patch.
> >
>
> Maybe, but Rob Acked the devicetree changes, so I don't see a reason
> for splitting it up now.
What Rob Acked is devicetree bindings, and ARM dts changes should
normally go via arm-soc tree, unless there is a good reason they
shouldn't.
Shawn
WARNING: multiple messages have this Message-ID (diff)
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 6/6] watchdog: ts4600: add driver for TS-4600 watchdog
Date: Mon, 15 May 2017 10:00:02 +0800 [thread overview]
Message-ID: <20170515020001.GI8471@dragon> (raw)
In-Reply-To: <ef75bcab-e179-1891-83f6-d26d057f8758@roeck-us.net>
On Sun, May 14, 2017 at 07:39:33AM -0700, Guenter Roeck wrote:
> On 05/11/2017 12:22 AM, Shawn Guo wrote:
> >On Fri, May 05, 2017 at 03:32:59PM -0400, Sebastien Bourdelin wrote:
> >>This watchdog is instantiated in a FPGA and can only be access using a
> >>GPIOs bit-banged bus, called the NBUS by Technologic Systems.
> >>The watchdog is made of only one register, called the feed register.
> >>Writing to this register will re-arm the watchdog for a given time (and
> >>enable it if it was disable). It can be disabled by writing a special
> >>value into it.
> >>
> >>Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
> >>---
> >>Changes v2 -> v3:
> >> - rebase on master
> >> - remove the timeout table to simplify the logic (suggested by
> >> Guenter Roeck)
> >> - fix the set_timeout function (suggested by Guenter Roeck)
> >> - hardcode the max_hw_heartbeat_ms value based on the ts4600 max
> >> timeout value supported (suggested by Guenter Roeck)
> >> - remove the max_timeout usage and set a default timeout value
> >>(suggested by Guenter Roeck)
> >> - use the devm_watchdog_register_device function instead of
> >> watchdog_register_device (suggested by Guenter Roeck)
> >>
> >>Changes v1 -> v2:
> >> - rebase on master
> >> - retrieve the ts_nbus instantiated by the parent node (suggested by
> >> Linus Walleij)
> >> - rename the wdt by watchdog in the device tree and in the
> >> documentation (suggested by Rob Herring)
> >> - add a dependency to the TS_NBUS driver in the Kconfig (suggested by
> >> Guenter Roeck)
> >> - simplify the set_timeout function (suggested by Guenter Roeck)
> >> - use the max_hw_heartbeat_ms callback instead of the max_timeout
> >> callback (suggested by Guenter Roeck)
> >>---
> >> .../devicetree/bindings/watchdog/ts4600-wdt.txt | 16 ++
> >> arch/arm/boot/dts/imx28-ts4600-common.dtsi | 5 +
> >
> >The dts change shouldn't be mixed within driver patch.
> >
>
> Maybe, but Rob Acked the devicetree changes, so I don't see a reason
> for splitting it up now.
What Rob Acked is devicetree bindings, and ARM dts changes should
normally go via arm-soc tree, unless there is a good reason they
shouldn't.
Shawn
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
Cc: Sebastien Bourdelin
<sebastien.bourdelin-4ysUXcep3aM1wj+D4I0NRVaTQe2KTcn/@public.gmane.org>,
robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
mark-L1vi/lXTdtvnC/t2CciAbw@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
kris-L1vi/lXTdtvnC/t2CciAbw@public.gmane.org,
kernel-4ysUXcep3aM1wj+D4I0NRVaTQe2KTcn/@public.gmane.org,
fabio.estevam-3arQi8VN3Tc@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v3 6/6] watchdog: ts4600: add driver for TS-4600 watchdog
Date: Mon, 15 May 2017 10:00:02 +0800 [thread overview]
Message-ID: <20170515020001.GI8471@dragon> (raw)
In-Reply-To: <ef75bcab-e179-1891-83f6-d26d057f8758-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
On Sun, May 14, 2017 at 07:39:33AM -0700, Guenter Roeck wrote:
> On 05/11/2017 12:22 AM, Shawn Guo wrote:
> >On Fri, May 05, 2017 at 03:32:59PM -0400, Sebastien Bourdelin wrote:
> >>This watchdog is instantiated in a FPGA and can only be access using a
> >>GPIOs bit-banged bus, called the NBUS by Technologic Systems.
> >>The watchdog is made of only one register, called the feed register.
> >>Writing to this register will re-arm the watchdog for a given time (and
> >>enable it if it was disable). It can be disabled by writing a special
> >>value into it.
> >>
> >>Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin-4ysUXcep3aM1wj+D4I0NRVaTQe2KTcn/@public.gmane.org>
> >>---
> >>Changes v2 -> v3:
> >> - rebase on master
> >> - remove the timeout table to simplify the logic (suggested by
> >> Guenter Roeck)
> >> - fix the set_timeout function (suggested by Guenter Roeck)
> >> - hardcode the max_hw_heartbeat_ms value based on the ts4600 max
> >> timeout value supported (suggested by Guenter Roeck)
> >> - remove the max_timeout usage and set a default timeout value
> >>(suggested by Guenter Roeck)
> >> - use the devm_watchdog_register_device function instead of
> >> watchdog_register_device (suggested by Guenter Roeck)
> >>
> >>Changes v1 -> v2:
> >> - rebase on master
> >> - retrieve the ts_nbus instantiated by the parent node (suggested by
> >> Linus Walleij)
> >> - rename the wdt by watchdog in the device tree and in the
> >> documentation (suggested by Rob Herring)
> >> - add a dependency to the TS_NBUS driver in the Kconfig (suggested by
> >> Guenter Roeck)
> >> - simplify the set_timeout function (suggested by Guenter Roeck)
> >> - use the max_hw_heartbeat_ms callback instead of the max_timeout
> >> callback (suggested by Guenter Roeck)
> >>---
> >> .../devicetree/bindings/watchdog/ts4600-wdt.txt | 16 ++
> >> arch/arm/boot/dts/imx28-ts4600-common.dtsi | 5 +
> >
> >The dts change shouldn't be mixed within driver patch.
> >
>
> Maybe, but Rob Acked the devicetree changes, so I don't see a reason
> for splitting it up now.
What Rob Acked is devicetree bindings, and ARM dts changes should
normally go via arm-soc tree, unless there is a good reason they
shouldn't.
Shawn
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-05-15 2:00 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-05 19:32 [PATCH v3 0/6] Add board support for TS-4600 Sebastien Bourdelin
2017-05-05 19:32 ` Sebastien Bourdelin
2017-05-05 19:32 ` Sebastien Bourdelin
2017-05-05 19:32 ` [PATCH v3 1/6] of: documentation: add bindings documentation " Sebastien Bourdelin
2017-05-05 19:32 ` Sebastien Bourdelin
2017-05-05 19:32 ` [PATCH v3 2/6] ARM: dts: TS-4600: add basic device tree Sebastien Bourdelin
2017-05-05 19:32 ` Sebastien Bourdelin
2017-05-05 19:32 ` [PATCH v3 3/6] dt-bindings: bus: Add documentation for the Technologic Systems NBUS Sebastien Bourdelin
2017-05-05 19:32 ` Sebastien Bourdelin
2017-05-11 13:50 ` Linus Walleij
2017-05-11 13:50 ` Linus Walleij
2017-05-12 15:17 ` Rob Herring
2017-05-12 15:17 ` Rob Herring
2017-05-05 19:32 ` [PATCH v3 4/6] bus: add driver " Sebastien Bourdelin
2017-05-05 19:32 ` Sebastien Bourdelin
2017-05-11 13:56 ` Linus Walleij
2017-05-11 13:56 ` Linus Walleij
2017-05-11 13:56 ` Linus Walleij
2017-05-05 19:32 ` [PATCH v3 5/6] ARM: dts: TS-4600: add NBUS support Sebastien Bourdelin
2017-05-05 19:32 ` Sebastien Bourdelin
2017-05-11 13:56 ` Linus Walleij
2017-05-11 13:56 ` Linus Walleij
2017-05-11 13:56 ` Linus Walleij
2017-05-05 19:32 ` [PATCH v3 6/6] watchdog: ts4600: add driver for TS-4600 watchdog Sebastien Bourdelin
2017-05-05 19:32 ` Sebastien Bourdelin
2017-05-05 19:32 ` Sebastien Bourdelin
2017-05-08 13:27 ` Rob Herring
2017-05-08 13:27 ` Rob Herring
2017-05-08 13:27 ` Rob Herring
2017-05-11 7:22 ` Shawn Guo
2017-05-11 7:22 ` Shawn Guo
2017-05-14 14:39 ` Guenter Roeck
2017-05-14 14:39 ` Guenter Roeck
2017-05-14 14:39 ` Guenter Roeck
2017-05-15 2:00 ` Shawn Guo [this message]
2017-05-15 2:00 ` Shawn Guo
2017-05-15 2:00 ` Shawn Guo
2017-05-15 2:30 ` Guenter Roeck
2017-05-15 2:30 ` Guenter Roeck
2017-05-15 2:30 ` Guenter Roeck
2017-05-14 14:40 ` Guenter Roeck
2017-05-14 14:40 ` Guenter Roeck
2017-05-14 14:40 ` Guenter Roeck
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=20170515020001.GI8471@dragon \
--to=shawnguo@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fabio.estevam@nxp.com \
--cc=kernel@savoirfairelinux.com \
--cc=kris@embeddedarm.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mark@embeddedarm.com \
--cc=robh@kernel.org \
--cc=sebastien.bourdelin@savoirfairelinux.com \
/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.