From patchwork Thu Jun 1 05:34:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 101724 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp71400vqr; Wed, 31 May 2023 22:48:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ69uY4PmqwQDfQFpNEzvjGwdQK20cmdurfj27a+DV+8qjsWcWM8YD4i5tkQJgfvrZVgu3vB X-Received: by 2002:a05:6870:eca3:b0:187:85c1:8075 with SMTP id eo35-20020a056870eca300b0018785c18075mr8091329oab.15.1685598483482; Wed, 31 May 2023 22:48:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685598483; cv=none; d=google.com; s=arc-20160816; b=lIUEsUR01uY2NMj5SYSjjY9MOCE7p34BYTYVUcWAAWE4/bIgaJzokd9d0XCykalNSY 3NmczabTgwxdYp4uivgwluWP9uIF0ZBI5q7qg+xygnqJz5mYatC+BdUb+KBxdzE0yVMD V696JI3YIeoGl2MAVMSZ3Nom6aPPKgrhJHSXsc8yea2NMjDnY8gfIYpgqRdRn6IXtMqs DSYsxUKpv5qKCBUanJ8CGTHXp249KbqdgP/i0L75nz3jRtu8mLHuZxemsE0gLvF0YNDS yS3MRxxYSRVLf1SK/FCaJmvS5wizKDWJySvR6pKYGE67VeKgZ03nt3nqJIelxaLrZSla sJtQ== 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=tbntiGejzUX9Xa7D02DcVIzLdCU/SNV9zJmM1dCdOAM=; b=VuYKIkT+4tk8aKaHqBQwVnOWNDv2r0tq7jqRcZEO8p5pRL13u8VYG8B8Qil0dvswFZ RxxIbaNwSL9pSiG0mklUnJea6u8CYgjnDYVZgsy1tkQIoYMEyeb3uW3LuKJY/oeiNoss Y6QKxKcg/RzKbVuMddyycd/kcmWBsBoGZxpDcyN4Q7uRHFQP+ehrAzIz1jkw9Sx0TaT0 fycejl2JjMT6GK94lAIsNGuE4aFHyWEh2RGXPh3LcFe5hCqe/NBy26eY8OrSwGJyS5gy nU2af5yQI9AH3X+si/vroBg78nYbDeV7HNtkGmMb2ZERJlz1LiEMYkyiw/qgc12xdybR +oYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=su6Vrc1A; 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 l9-20020a170902f68900b001a1deff6062si2218121plg.281.2023.05.31.22.47.49; Wed, 31 May 2023 22:48:03 -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=su6Vrc1A; 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 S231429AbjFAFid (ORCPT + 99 others); Thu, 1 Jun 2023 01:38:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231349AbjFAFiD (ORCPT ); Thu, 1 Jun 2023 01:38:03 -0400 Received: from forward102c.mail.yandex.net (forward102c.mail.yandex.net [178.154.239.213]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EC0A180; Wed, 31 May 2023 22:37:12 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:c83:0:640:84f9:0]) by forward102c.mail.yandex.net (Yandex) with ESMTP id E2EDC6002D; Thu, 1 Jun 2023 08:37:10 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id OaGNfZvWv8c0-YM7OtAbF; Thu, 01 Jun 2023 08:37:10 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1685597830; bh=tbntiGejzUX9Xa7D02DcVIzLdCU/SNV9zJmM1dCdOAM=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=su6Vrc1ACopG+w/X8BL0atMVhqY2XhPeLhyc17GBJEqlMO7CCYGu2U/8ePY0+euHJ Pco3/BZ2HM/CJ2EqJwJ6clPTr9s8oVX3zO4MbSZbd/n/V4+RKehElzUJnNyIwRrnqz vT0C44DCNiFozHpsLUr4JtmxBuLZBwTmBe10U7uI= Authentication-Results: mail-nwsmtp-smtp-production-main-45.sas.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 12/43] dt-bindings: watchdog: Add Cirrus EP93x Date: Thu, 1 Jun 2023 08:34:03 +0300 Message-Id: <20230601053546.9574-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,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?1767478115014591607?= X-GMAIL-MSGID: =?utf-8?q?1767478115014591607?= This adds device tree bindings for the Cirrus Logic EP93xx watchdog block used in these SoCs. Signed-off-by: Nikita Shubin --- Notes: v0 -> v1: Krzysztof Kozlowski: - replaced maintainers to me and Alexander - removed wildcards - use fallback compatible and list all possible compatibles - dropped label - dropped quotes in ref - fix ident - fixed description .../bindings/watchdog/cirrus,ep9301-wdt.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/cirrus,ep9301-wdt.yaml diff --git a/Documentation/devicetree/bindings/watchdog/cirrus,ep9301-wdt.yaml b/Documentation/devicetree/bindings/watchdog/cirrus,ep9301-wdt.yaml new file mode 100644 index 000000000000..d54595174a12 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/cirrus,ep9301-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/cirrus,ep9301-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic EP93xx Watchdog Timer + +maintainers: + - Nikita Shubin + - Alexander Sverdlin + +description: + Cirrus Logic EP93xx SoC family has it's own watchdog implementation + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-wdt + - items: + - enum: + - cirrus,ep9302-wdt + - cirrus,ep9307-wdt + - cirrus,ep9312-wdt + - cirrus,ep9315-wdt + - const: cirrus,ep9301-wdt + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@80940000 { + compatible = "cirrus,ep9301-wdt"; + reg = <0x80940000 0x08>; + }; +