From patchwork Thu Jun 1 05:45:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 101731 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp73438vqr; Wed, 31 May 2023 22:54:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4EK3lYDulF5YPTiQXjgzWBPaB1JOrUTO4GKkQ0jL6elHfUp37kzgeQdQ+xrHIF7j9H/ogw X-Received: by 2002:a05:6358:5916:b0:123:e66:19b6 with SMTP id g22-20020a056358591600b001230e6619b6mr5621617rwf.27.1685598853394; Wed, 31 May 2023 22:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685598853; cv=none; d=google.com; s=arc-20160816; b=p+4wN8T5qOKcDMMrnUM1Q/+X48Yx6bSbgOKfansc1vZci6VUpBqXJJnhMsIMbd7GNa OKFIucUOiknfBzH75BW+u1oyF1MCl6Vf4YJolAVzIfjHtbAr0tQ1cylQXaQ3m6DzWITs hdB1VfaRIxMJruXcqlDZpBQPlG06fZo1Ad3u/tTX6yH99NFC1R1dy0iCidoqFUg+KBoc N8Zqkb1l8rQa/4h4HxV1qNasjC92xCD/FfqpAQsOEgs0zi3nNN6LrJdj8InQaegA4LQX hZ3pcIcHE43XRAhebR52TROIjM9LhMRDeaoDSqykNaqJytY5gOm3glDCZDDzFpeN5J3X vhQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rKLeo/d/8Wk8XKAwLVEqsT3NI7ElKFwC7e7Tg4clcm8=; b=oYOB/2uuzUqeR4AVriXHktz9nmnNX3kBjbfHjlzI4Jx/mbbdV+TST1GduR5jqqY/oy SMgt8bYH4X0TKOHYK+tEPqAMfR8LGfek6Hh8nXxVO2q+lv9PsMSipeCXY/b47w1RdWkg 12DrvomSBfowhg/vYjpYMS+nmn2jlYN5gl+n3tL40+ZB58w7hcBYMV06oC4Qk8P/YxPY 8X9iuPp4aUhZD7G8ufBnARJsQk7eukRtwDQBDL0NIcf06PhZK4W2h+djIPguk2Ec/xkY 72Nzsh/cQGZOjnx2/QLzDf3YhARHS89uzK7m5lAFI7LPwEL61Tel77+2sdxo9rq2cj4B hF1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=ckC3R7Zk; 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 az24-20020a17090b029800b00256610c2765si548238pjb.125.2023.05.31.22.54.00; Wed, 31 May 2023 22:54:13 -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=pass header.i=@maquefel.me header.s=mail header.b=ckC3R7Zk; 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 S231624AbjFAFrl (ORCPT + 99 others); Thu, 1 Jun 2023 01:47:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231375AbjFAFqy (ORCPT ); Thu, 1 Jun 2023 01:46:54 -0400 Received: from forward100a.mail.yandex.net (forward100a.mail.yandex.net [178.154.239.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B35E710C4; Wed, 31 May 2023 22:46:24 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net [IPv6:2a02:6b8:c1f:5e51:0:640:23ee:0]) by forward100a.mail.yandex.net (Yandex) with ESMTP id 15877463C8; Thu, 1 Jun 2023 08:46:21 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id pjGDMhnDduQ0-singxOus; Thu, 01 Jun 2023 08:46:20 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1685598380; bh=rKLeo/d/8Wk8XKAwLVEqsT3NI7ElKFwC7e7Tg4clcm8=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=ckC3R7ZkEWFOO9/o9sMo2setllhfgcsZnGTp8OrocGoUBkZJd94PGDdmjzI3VS2Ox KxFNdtpylDHvWGl0mAX5IW0JQG6Hoh9TxmVUk5XbGVR9byBmECYMSmS+g7lzGUqjLv uZ/2BO0NXD0aERg9PVuHshMwoZmhmV9BkELe5oho= Authentication-Results: mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin To: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Nikita Shubin Cc: Michael Peters , Kris Bahnsen , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 31/43] dt-bindings: wdt: Add ts72xx Date: Thu, 1 Jun 2023 08:45:36 +0300 Message-Id: <20230601054549.10843-13-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767478503327773855?= X-GMAIL-MSGID: =?utf-8?q?1767478503327773855?= Add DT binding for Technologic Systems TS-72xx watchdog. Signed-off-by: Nikita Shubin --- Notes: v0 -> v1: - changed maintainers Krzysztof Kozlowski: - renamed file - dropped quotes - added description for reg - dropped label - use fallback compatible and list all possible compatibles .../watchdog/technologic,ts7200-wdt.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml diff --git a/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml b/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml new file mode 100644 index 000000000000..4f7f004ffdd3 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/technologic,ts7200-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Technologic Systems TS-72xx based SBCs watchdog + +maintainers: + - Nikita Shubin + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + oneOf: + - const: technologic,ts7200-wdt + - items: + - enum: + - technologic,ts7300-wdt + - technologic,ts7260-wdt + - technologic,ts7250-wdt + - const: technologic,ts7200-wdt + + reg: + items: + - description: control register + - description: feed register + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@23800000 { + compatible = "technologic,ts7200-wdt"; + reg = <0x23800000 0x01>, <0x23c00000 0x01>; + timeout-sec = <30>; + }; + +... +