Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp261972rwd; Wed, 31 May 2023 23:05:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6lKThJ77bh7d0YmyJt0ylrQkWXXCJHxbGvlbFvUbC8SPW9b8HKsO4ft3+VoQe0IquGOAKq X-Received: by 2002:a05:6a00:16c7:b0:64f:85a9:3a20 with SMTP id l7-20020a056a0016c700b0064f85a93a20mr7130292pfc.22.1685599526442; Wed, 31 May 2023 23:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685599526; cv=none; d=google.com; s=arc-20160816; b=Ahs3tSBHKbab2+p+bl/fEl7TK2t49tg4Yw4Z1RRWOlAwFKSeEsI8Uz3u8PUfDTojYx mHUMg7HJO41SD9TOtBeOzIdhUihs2RXAVlYT7BnwWjk0SJUW1141HzWLVn+Ti5WdTFgb EZ8VRXTMnCQlifPCh9Z2NsNwsSVk51OLXHUJlb/QYrsgsyZnK5T0UKlbQ3ejObvhliDC C5mag0g3CTaTz+BsGxWL3wjloUJzqEJKB0d5kJuHTvwylne0HW+r6LYhm6CONGzEMFg2 6QGp6sZUxcfmzKrQZRWFfUZStgCc58+XHhKuRkENPWyC2FqFLh6Yg1rVyqj4DXFdMJKp owHA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020aa78425000000b00643a2b0c6c8si1778237pfn.106.2023.05.31.23.05.12; Wed, 31 May 2023 23:05: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=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 S231599AbjFAFrk (ORCPT + 99 others); Thu, 1 Jun 2023 01:47:40 -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 Content-Transfer-Encoding: 8bit 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 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>; + }; + +... + -- 2.37.4