All of lore.kernel.org
 help / color / mirror / Atom feed
From: Biju Das <biju.das.jz@bp.renesas.com>
To: Lee Jones <lee@kernel.org>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	Guenter Roeck <linux@roeck-us.net>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: Biju Das <biju.das.jz@bp.renesas.com>,
	Support Opensource <support.opensource@diasemi.com>,
	Steve Twiss <stwiss.opensource@diasemi.com>,
	linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>,
	Biju Das <biju.das.au@gmail.com>,
	linux-renesas-soc@vger.kernel.org
Subject: [PATCH v3.1 2/8] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog
Date: Mon,  4 Dec 2023 17:25:04 +0000	[thread overview]
Message-ID: <20231204172510.35041-3-biju.das.jz@bp.renesas.com> (raw)
In-Reply-To: <20231204172510.35041-1-biju.das.jz@bp.renesas.com>

The DA9061 watchdog is identical to DA9062 watchdog, so no driver changes
are required. The fallback compatible string "dlg,da9062-watchdog" will be
used on DA9061 watchdog.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
v3->v3.1:
 * Dropped comment for d9061 watchdog fallback.
 * Replaced enum->const for dlg,da9061-watchdog and its fallback.
v2->v3:
 * No change
v2:
 * New patch
---
 .../bindings/watchdog/dlg,da9062-watchdog.yaml         | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
index f058628bb632..7c63b99dac85 100644
--- a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
+++ b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
@@ -14,9 +14,13 @@ allOf:
 
 properties:
   compatible:
-    enum: 
-      - dlg,da9061-watchdog
-      - dlg,da9062-watchdog
+    oneOf:
+      - items:
+          - enum:
+              - dlg,da9062-watchdog
+      - items:
+          - const: dlg,da9061-watchdog
+          - const: dlg,da9062-watchdog
 
   dlg,use-sw-pm:
     type: boolean
-- 
2.39.2


  parent reply	other threads:[~2023-12-04 17:25 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-04 17:25 [PATCH v3.1 0/8] Convert DA906{1,2} bindings to json-schema Biju Das
2023-12-04 17:25 ` [PATCH v3.1 1/8] dt-bindings: mfd: da9062: Update watchdog description Biju Das
2023-12-05  8:30   ` Geert Uytterhoeven
2023-12-05 13:10     ` Biju Das
2023-12-05 16:57   ` Conor Dooley
2023-12-04 17:25 ` Biju Das [this message]
2023-12-05  8:33   ` [PATCH v3.1 2/8] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog Geert Uytterhoeven
2023-12-05 16:56   ` Conor Dooley
2023-12-12 16:56   ` Guenter Roeck
2023-12-12 17:08     ` Conor Dooley
2023-12-12 17:35       ` Guenter Roeck
2023-12-04 17:25 ` [PATCH v3.1 3/8] dt-bindings: watchdog: dlg,da9062-watchdog: Document DA9063 watchdog Biju Das
2023-12-05  8:47   ` Geert Uytterhoeven
2023-12-05  9:01     ` Biju Das
2023-12-04 17:25 ` [PATCH v3.1 4/8] dt-bindings: mfd: dlg,da9063: Update watchdog property Biju Das
2023-12-05  8:40   ` Geert Uytterhoeven
2023-12-05 13:10     ` Biju Das
2023-12-04 17:25 ` [PATCH v3.1 5/8] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema Biju Das
2023-12-05 17:01   ` Conor Dooley
2023-12-04 17:25 ` [PATCH v3.1 6/8] dt-bindings: thermal: Convert da906{1,2} thermal " Biju Das
2023-12-04 17:25 ` [PATCH v3.1 7/8] dt-bindings: mfd: dlg,da9063: Sort child devices Biju Das
2023-12-04 17:25 ` [PATCH v3.1 8/8] dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema Biju Das
2023-12-05 17:12   ` Conor Dooley
2023-12-05 18:52     ` Biju Das
2023-12-06 11:06 ` [PATCH v3.1 0/8] Convert DA906{1,2} bindings " Krzysztof Kozlowski
2023-12-06 11:16   ` Biju Das
2023-12-06 11:18     ` Krzysztof Kozlowski
2023-12-06 11:26       ` Biju Das
2023-12-06 13:58 ` Rob Herring
2023-12-06 15:14   ` Biju Das

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=20231204172510.35041-3-biju.das.jz@bp.renesas.com \
    --to=biju.das.jz@bp.renesas.com \
    --cc=biju.das.au@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lee@kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=robh+dt@kernel.org \
    --cc=stwiss.opensource@diasemi.com \
    --cc=support.opensource@diasemi.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 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.