mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: CL Wang <cl634@andestech.com>
To: <cl634@andestech.com>, <wim@linux-watchdog.org>,
	<linux@roeck-us.net>, <robh@kernel.org>, <krzk+dt@kernel.org>,
	<conor+dt@kernel.org>
Cc: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-watchdog@vger.kernel.org>, <tim609@andestech.com>
Subject: [PATCH v2 0/3] watchdog: Add support for Andes ATCWDT200
Date: Thu, 15 Jan 2026 16:14:41 +0800	[thread overview]
Message-ID: <20260115081444.2452357-1-cl634@andestech.com> (raw)

This series adds support for the Andes ATCWDT200 watchdog timer.

The driver integrates with the Linux watchdog framework and supports:
  - Basic watchdog operations (start, stop, ping, set_timeout).
  - Programmable reset and interrupt intervals.
  - Automatic detection of the supported interrupt timer bit-width.
  - System reset via the watchdog restart handler.

Changes in v2:
  - dt-bindings:
    - Drop redundant text "including supported properties..." from the
      commit message.
    - Clarify the relationship between ATCWDT200 IP and SoCs (AE350/Qilai)
      in the commit message.
    - Add missing type definition ($ref: uint32), enum constraint, and
      description for 'andestech,clock-source' property. 
  - watchdog: atcwdt200:
    - Use devm_clk_get_enabled() instead of devm_clk_get() and
      clk_prepare_enable()
    - Drop unnecessary "andestech,qilai-wdt" compatible
    - Remove .owner assignment from platform_driver
    - Simplify resume error handling

CL Wang (3):
  dt-bindings: watchdog: Add support for Andes ATCWDT200
  watchdog: atcwdt200: Add driver for Andes ATCWDT200
  MAINTAINERS: Add entry for Andes ATCWDT200

 .../watchdog/andestech,ae350-wdt.yaml         |  53 ++
 MAINTAINERS                                   |   6 +
 drivers/watchdog/Kconfig                      |   9 +
 drivers/watchdog/Makefile                     |   1 +
 drivers/watchdog/atcwdt200_wdt.c              | 580 ++++++++++++++++++
 5 files changed, 649 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/andestech,ae350-wdt.yaml
 create mode 100644 drivers/watchdog/atcwdt200_wdt.c

-- 
2.34.1


             reply	other threads:[~2026-01-15  8:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-15  8:14 CL Wang [this message]
2026-01-15  8:14 ` [PATCH V2 1/3] dt-bindings: " CL Wang
2026-01-15 20:07   ` Rob Herring (Arm)
2026-01-15  8:14 ` [PATCH V2 2/3] watchdog: atcwdt200: Add driver " CL Wang
2026-05-03 21:18   ` Guenter Roeck
2026-01-15  8:14 ` [PATCH V2 3/3] MAINTAINERS: Add entry " CL Wang
2026-05-03 21:19   ` 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=20260115081444.2452357-1-cl634@andestech.com \
    --to=cl634@andestech.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh@kernel.org \
    --cc=tim609@andestech.com \
    --cc=wim@linux-watchdog.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®