Message ID | 20230424123522.18302-31-nikita.shubin@maquefel.me |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2624217vqo; Mon, 24 Apr 2023 02:57:26 -0700 (PDT) X-Google-Smtp-Source: AKy350boAVR0iOOcPDlZV3twrIKtf7OpChTCnk8YBFiSt+N/HripB1F3+4eUhZnx4MiwEBUUUBpu X-Received: by 2002:a17:90a:ad8f:b0:247:3cc6:f8ef with SMTP id s15-20020a17090aad8f00b002473cc6f8efmr12777803pjq.32.1682330246554; Mon, 24 Apr 2023 02:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682330246; cv=none; d=google.com; s=arc-20160816; b=zw8ytG31muHysUP5BNAlJKT2uAoQllKUL6Q67TLlptZUr5faA0TLb8Z187TsVD9rx1 fiyGsPmMNhBu/ECCJCkbLOs1ehUxWUiOQxCjGf++zDXy+TEZlGGBz2mWze72nglsyH5L HQU0xpzawm5CvxtLqfk7jDOVszLSt3UvB9l6X0ctdEFUj3KMSyfj4hEcQFOVbhr63Dtq duox40B0eIIlXPJjONBopovdR+SwpL7+FCtJRWh69mIVW4iuCOsyXNYAGHyj7fRyb+/v tsGGN0SbqJz7qYhBNdKFUvx94nla1O/vGAqH77DaAE03tDTY6ITOTo4No+MxIXGujlaC 41Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=MwMLTayp0HWys1iBszBqm87up2I6e5D4xWwTL2iUXGA=; b=HBaiS9FNpWB9xidjPCeUgc8/BKVPRvSaFhK5poyXhMv8nq4WuQRL+Euv5pOphveiQZ JLL619kP67dJ+lE8pTFFFiALTwqeTvO1Swt2U3k7AgssOC4jDS2KmB6jLfLIRS0hilhX a9gpQ+Tc7KqjeosWV+RAxMmf07/ZJd1w57Q55Qw4jBLnJqNi6UgVdJ55ovswOqpimK1X kTmYZh/FvX+U4tUTVDKIDUvo87EzTXYk/tNRUHMB6MSZPUXGw6n0RtbLUlCAfuJoORpt tAQqszcZzK8lxKvwZFUyQDxlKPTuf8vDczwcNj2/3ZdHG/Dk9Bb4pGgffDi3AJ1Ec4Gw wcNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=qnsIM3s4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h5-20020a17090ac38500b002470ea7f67fsi13423144pjt.3.2023.04.24.02.57.12; Mon, 24 Apr 2023 02:57:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=qnsIM3s4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231576AbjDXJvr (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Mon, 24 Apr 2023 05:51:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231361AbjDXJvj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Apr 2023 05:51:39 -0400 X-Greylist: delayed 320 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 24 Apr 2023 02:51:33 PDT Received: from forward501b.mail.yandex.net (forward501b.mail.yandex.net [IPv6:2a02:6b8:c02:900:1:45:d181:d501]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A536A30ED; Mon, 24 Apr 2023 02:51:32 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261e:0:640:2e3d:0]) by forward501b.mail.yandex.net (Yandex) with ESMTP id EA3AB5EB34; Mon, 24 Apr 2023 12:36:03 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-Qq9jPfHD; Mon, 24 Apr 2023 12:36:03 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328963; bh=MwMLTayp0HWys1iBszBqm87up2I6e5D4xWwTL2iUXGA=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=qnsIM3s4872q0KHboA9Et3gXfLnlrYx9lWPyd36l2BnEgvEtG53vznqXcUxIC+dG0 K0vuBQJoyfzzDrS3zZOS8Fksy4b1R3CPdTy/vBvoHJc5TRT8izE4sQFVlHoMOJUURD +VbFQbBdMLS9+C+AHT9q0NDh4hLDjwEjB0xVoAI0= Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin <nikita.shubin@maquefel.me> Cc: Arnd Bergmann <arnd@kernel.org>, Linus Walleij <linusw@kernel.org>, Alexander Sverdlin <alexander.sverdlin@gmail.com>, 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>, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 30/43] dt-bindings: wdt: Add DT binding ts72xx wdt Date: Mon, 24 Apr 2023 15:34:46 +0300 Message-Id: <20230424123522.18302-31-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764051120707309809?= X-GMAIL-MSGID: =?utf-8?q?1764051120707309809?= |
Series |
ep93xx device tree conversion
|
|
Commit Message
Nikita Shubin
April 24, 2023, 12:34 p.m. UTC
Add DT binding for Technologic Systems TS-72xx watchdog.
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
---
.../watchdog/technologic,ts72xx-wdt.yaml | 39 +++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/technologic,ts72xx-wdt.yaml
Comments
On Mon, Apr 24, 2023 at 03:34:46PM +0300, Nikita Shubin wrote: > Add DT binding for Technologic Systems TS-72xx watchdog. > > Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> > --- > .../watchdog/technologic,ts72xx-wdt.yaml | 39 +++++++++++++++++++ > 1 file changed, 39 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/technologic,ts72xx-wdt.yaml > > diff --git a/Documentation/devicetree/bindings/watchdog/technologic,ts72xx-wdt.yaml b/Documentation/devicetree/bindings/watchdog/technologic,ts72xx-wdt.yaml > new file mode 100644 > index 000000000000..0e06dbaec85f > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/technologic,ts72xx-wdt.yaml > @@ -0,0 +1,39 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/watchdog/technologic,ts72xx-wdt.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Technologic Systems TS-72xx based SBCs watchdog bindings > + > +maintainers: > + - Wim Van Sebroeck <wim@linux-watchdog.org> > + - Guenter Roeck <linux@roeck-us.net> > + > +allOf: > + - $ref: "watchdog.yaml#" Drop quotes > + > +properties: > + compatible: > + enum: > + - technologic,ts7200-wdt > + > + reg: > + maxItems: 2 Need to define each entry. > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + watchdog0: watchdog@5a002000 { > + compatible = "technologic,ts7200-wdt"; > + reg = <0x23800000 0x01>, <0x23c00000 0x01>; > + timeout-sec = <30>; > + }; > + > +... > + > -- > 2.39.2 >
diff --git a/Documentation/devicetree/bindings/watchdog/technologic,ts72xx-wdt.yaml b/Documentation/devicetree/bindings/watchdog/technologic,ts72xx-wdt.yaml new file mode 100644 index 000000000000..0e06dbaec85f --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/technologic,ts72xx-wdt.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/technologic,ts72xx-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Technologic Systems TS-72xx based SBCs watchdog bindings + +maintainers: + - Wim Van Sebroeck <wim@linux-watchdog.org> + - Guenter Roeck <linux@roeck-us.net> + +allOf: + - $ref: "watchdog.yaml#" + +properties: + compatible: + enum: + - technologic,ts7200-wdt + + reg: + maxItems: 2 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog0: watchdog@5a002000 { + compatible = "technologic,ts7200-wdt"; + reg = <0x23800000 0x01>, <0x23c00000 0x01>; + timeout-sec = <30>; + }; + +... +