All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henry Qin <henry.qin@starfivetech.com>
To: Wim Van Sebroeck <wim@linux-watchdog.org>,
	Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Xingyu Wu <xingyu.wu@starfivetech.com>,
	Ziv Xu <ziv.xu@starfivetech.com>
Cc: Henry Qin <henry.qin@starfivetech.com>,
	linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 1/3] dt-bindings: watchdog: starfive,jh7100-wdt: Remove jh8100
Date: Fri,  4 Dec 2026 13:53:34 +0000	[thread overview]
Message-ID: <20261204135336.632-2-henry.qin@starfivetech.com> (raw)
In-Reply-To: <20261204135336.632-1-henry.qin@starfivetech.com>

There is no JH8100 hardware available, no device tree uses
"starfive,jh8100-wdt" and the driver has no match entry for it.
Remove the compatible together with the single reset variant that was
only added for it.

Signed-off-by: Henry Qin <henry.qin@starfivetech.com>
---
 .../watchdog/starfive,jh7100-wdt.yaml         | 34 ++++---------------
 1 file changed, 6 insertions(+), 28 deletions(-)

diff --git a/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml b/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
index e21f807b0b69..ff8d2fa8621e 100644
--- a/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml
@@ -21,14 +21,9 @@ description:
 
 properties:
   compatible:
-    oneOf:
-      - enum:
-          - starfive,jh7100-wdt
-          - starfive,jh7110-wdt
-      - items:
-          - enum:
-              - starfive,jh8100-wdt
-          - const: starfive,jh7110-wdt
+    enum:
+      - starfive,jh7100-wdt
+      - starfive,jh7110-wdt
 
   reg:
     maxItems: 1
@@ -47,8 +42,9 @@ properties:
       - const: core
 
   resets:
-    minItems: 1
-    maxItems: 2
+    items:
+      - description: APB reset
+      - description: Core reset
 
 required:
   - compatible
@@ -60,24 +56,6 @@ required:
 allOf:
   - $ref: watchdog.yaml#
 
-  - if:
-      properties:
-        compatible:
-          contains:
-            enum:
-              - starfive,jh8100-wdt
-    then:
-      properties:
-        resets:
-          items:
-            - description: Core reset
-    else:
-      properties:
-        resets:
-          items:
-            - description: APB reset
-            - description: Core reset
-
 unevaluatedProperties: false
 
 examples:
-- 
2.43.0


  reply	other threads:[~2026-12-04 13:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 13:53 [PATCH 0/3] watchdog: starfive: Add jhb100 support Henry Qin
2026-12-04 13:53 ` Henry Qin [this message]
2026-12-04 13:53 ` [PATCH 2/3] dt-bindings: watchdog: starfive,jh7100-wdt: " Henry Qin
2026-12-04 13:53 ` [PATCH 3/3] watchdog: starfive: " Henry Qin
2026-12-04 14:35   ` sashiko-bot
2026-12-04 18:55 ` [PATCH 0/3] " Guenter Roeck
2026-12-05  7:27   ` Henry Qin

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=20261204135336.632-2-henry.qin@starfivetech.com \
    --to=henry.qin@starfivetech.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=wim@linux-watchdog.org \
    --cc=xingyu.wu@starfivetech.com \
    --cc=ziv.xu@starfivetech.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.