From patchwork Tue May 25 18:44:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12279987 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34005C2B9F8 for ; Tue, 25 May 2021 19:06:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E925161378 for ; Tue, 25 May 2021 19:06:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E925161378 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EEFxP12y7KRgFxqrJe0NiqbghLqEzGXxAhD1BpIVt3Q=; b=LLhG0d2FUraNzn X+xtWKfEea1wZDX35wd1AvW7PP5kZNhbVka2AFZlEe+Te4fWAwV/oAPvxGitFkbC/+LTHY/HBgVSV bHiKhn1zTsuKSZOGbWD8toawTVILeEl2ZnwZ7UzX6K6K4rILA/pZnOj4AK5mUQorzy0xX5O4YAAxY LSa+Fy88lsIAY+sDCJS8KeNx4sxpCxq/8ENh9OjURExZFDlepSEgc3BTxhY9fzg3q60HkQku6jDmu 9HzkHYIGEeTtPlcwEflc2kXxtV2yg6DSG7V3i6iiac6Y/KXOVatXF0YYcneTUZSgQUvByXsqQEaJu T/BV4H4IyPqeTGHC6+kA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1llcKy-007WjX-34; Tue, 25 May 2021 19:03:33 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1llc2z-007OLU-AT for linux-arm-kernel@lists.infradead.org; Tue, 25 May 2021 18:44:58 +0000 Received: by mail-wm1-x32b.google.com with SMTP id u133so17295776wmg.1 for ; Tue, 25 May 2021 11:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VR1JWU4nW1DmUrTHeiF6/6cj0vIS4fC0uA+HnyAg+8M=; b=e6tF+Gl+FBuOY9vs30nyw10JSUU778grJ2DshnLVoJi7XMeIkEtvMld0nDrcad4fT9 V20yAwHapYpk4SHi7DForbIx0E/QbeG3Y/8Li4QH/fxbAj/ZW2Ik2Y7GZeHwB3AsPSSX tOvSUibxh7LZi1EI4ag9OpG/vh6b7Q5FWvdQd5gerkBhoSYrFZGplxpIqmA6RARFp8CW yj6+YWRQNgs+wJFIdlrk8WsS74FZltab1dYBcpTFdaJ2GRWua3NXJLGWcDDNukgZ3nPy 1mKkGORDjfzUsI30TRzX3zTVM3yCJks2/2fYc7n6JizDXT6NRYPKrJoONsdqdS8Ce3Cq auRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VR1JWU4nW1DmUrTHeiF6/6cj0vIS4fC0uA+HnyAg+8M=; b=tAcOILcY66Mxt8jFPBCuzjBV+Vb+o0Qt+WEuX+31j8d3Bztez13MgoLk2sWojyl7Lj 8C/OknS+cHWooSHHpcYjqnHx6i+M2WMUwlo1SYszPz9heZ/Vmy4pL4s7Q2HfM6rb2MHd z+S/ruPgMxCcEeoIExEzM5qgTnV2A6wP5/kEvCCJ4jbFYZDdLsPnYPhPwlaVef73HMsv a2NXxdLz5cpfEtcgs6Yn0dzcQl5JE8kyBYx1jB0hT2S8lmuaXAhQumMbOuXH4Ex6NI1K u8lIZZ41ru3K5lKaONtziyRCjN/YQb1aHdG8xT3HbgicH6Z1ZDqm9brp9hyQlp5+B+f1 tP9A== X-Gm-Message-State: AOAM532a4kwEfmyLIRcOfDwHOm31fkmUbPsgygT0pHvOLep0wYgodh1j fuZZ0sYD9MGbeEviH7yYg/zEGcXT5k8= X-Google-Smtp-Source: ABdhPJxwo/trUdxbAPyfQNNO5rDy7YF9eIaqrWZ30hV4W8ZzFeOaO+Dt2gXGW5+3b4TiQSl/i5IQrQ== X-Received: by 2002:a1c:80d0:: with SMTP id b199mr5048916wmd.6.1621968295417; Tue, 25 May 2021 11:44:55 -0700 (PDT) Received: from debby (176-141-241-253.abo.bbox.fr. [176.141.241.253]) by smtp.gmail.com with ESMTPSA id u17sm7292456wrt.61.2021.05.25.11.44.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 11:44:55 -0700 (PDT) From: Romain Perier To: Wim Van Sebroeck , Guenter Roeck , Rob Herring Cc: Daniel Palmer , Mohammed Billoo , linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] Documentation: watchdog: Add Mstar MSC313e WDT devicetree bindings documentation Date: Tue, 25 May 2021 20:44:47 +0200 Message-Id: <20210525184449.57703-2-romain.perier@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210525184449.57703-1-romain.perier@gmail.com> References: <20210525184449.57703-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210525_114457_404220_A8696B77 X-CRM114-Status: GOOD ( 13.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the documentation for the devicetree bindings of the Mstar MSC313e watchdog driver, found from MSC313e SoCs and newer. Signed-off-by: Romain Perier --- .../bindings/watchdog/msc313e-wdt.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/msc313e-wdt.yaml diff --git a/Documentation/devicetree/bindings/watchdog/msc313e-wdt.yaml b/Documentation/devicetree/bindings/watchdog/msc313e-wdt.yaml new file mode 100644 index 000000000000..70b8e1be5e8e --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/msc313e-wdt.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/msc313e-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MStar Watchdog Device Tree Bindings + +maintainers: + - Daniel Palmer + - Romain Perier + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + enum: + - mstar,msc313e-wdt + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - clocks + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog: watchdog@6000 { + compatible = "mstar,msc313e-wdt"; + reg = <0x6000 0x1f>; + clocks = <&xtal_div2>; + };