From patchwork Fri Apr 3 05:28:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Benn X-Patchwork-Id: 11471825 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 10A7614DD for ; Fri, 3 Apr 2020 05:29:44 +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 E2C26206F5 for ; Fri, 3 Apr 2020 05:29:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="anSG4fRp"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="PKt+VBA+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E2C26206F5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Lm8+mhDOVI0F6sqbEKMof/Oaiwl/XT4eSA9NlXtWzJE=; b=anSG4fRpwcxtGp ZGedJzFv7tGs1FTfWDToMLkGo0//OYolz4cPERaqBxhLk6surxL4aoA3guH/adQDAtRBOPi1Xj55T ya2XjV10jF6V6QFS64sxfpN6EiTE/uDmVlr1f2ubDd4mhTbUIkb/7miV/9xBwAbYpHW0xy50YIrm1 0gJA+THyw+OlkCPUITiTL7T19JVzGsIOeUrCP2ZOpxtbfAvRimlBjOnwLXl0Z0G5fzTVoHSKkz+9K 2n9awuHpfS76eGRR7MzCYIwX7RH3ZKcoAzr0D7lyfHzvUn7jpRtvhZG/iG0R8Lrmr8+5OBtHQ3DK/ GSe3P71iSWEYMV7ObZEA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKEtg-0004LU-Vc; Fri, 03 Apr 2020 05:29:40 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jKEtb-0004GY-Ds for linux-mediatek@lists.infradead.org; Fri, 03 Apr 2020 05:29:39 +0000 Received: by mail-pj1-x1041.google.com with SMTP id k3so2466835pjj.2 for ; Thu, 02 Apr 2020 22:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KLw94QzOfrSlneIl66aJeqE3HkANlVSekWIjkWzxQvY=; b=PKt+VBA+Nj5QZwvU3VoVz05hn4VqZW6gsQSaHWePw1hDrG4uF2wyEYHvoL9axac+UT /SJjESrKpWKeoKV1kosEcWp57JDwWud2EhlhbUcvhu7yikFnAgLxg4CfGiHupmpsLtpj vUaLYeq+JaOBPdA4aX0sEgFpn/+obLlbfQDXI= 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=KLw94QzOfrSlneIl66aJeqE3HkANlVSekWIjkWzxQvY=; b=nFz0lbhNJgtTRMXgrfJcwjlbSfANJcxB4uiJq/5NEEl4jMMRAH9HBaePTkXjZDaXxF m2CzPcXtevSipsgRaZ5aUgsnW5mx0GN8j9LnHyn9HxVpL7i88CBmqje3xHExPzgOxpcH HNvF2QdShsRtKDw6bwjAioj+NxhoxayCIxpg3XLFiRtZw/UoczW0RbhgFWwwMK5erFB9 0ITIRcg/Q01FbiToa/9+cOmom+hh5YVeQscE+GIyJlnP0K+eyiXlMrJK9AdBcdZ6P/3Y a9Y4WZvTxGl9dKys/9ZuceLcYJifWITeMZdkkbDiy87NaNyQskH5bAoSgAmbl4+/MhQ+ InnA== X-Gm-Message-State: AGi0Pua89THhAjbfjcG3CzssvQ49hsn6NLi4j37TR0WbeSuWN1y8DD93 ScD2ze4NF673qqIrfs6degdv/g== X-Google-Smtp-Source: APiQypKFrq1hzvYHu1Gx2CYehefEsIunfver6DV/APN1vij1JYePG7Mnfe62OlzktNTKKCAUvDcPkg== X-Received: by 2002:a17:902:ff14:: with SMTP id f20mr6049293plj.206.1585891774509; Thu, 02 Apr 2020 22:29:34 -0700 (PDT) Received: from localhost ([2401:fa00:9:14:1105:3e8a:838d:e326]) by smtp.gmail.com with ESMTPSA id c21sm4452156pgn.84.2020.04.02.22.29.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Apr 2020 22:29:34 -0700 (PDT) From: Evan Benn To: LKML Subject: [PATCH v2 1/2] dt-bindings: watchdog: Add ARM smc wdt for mt8173 watchdog Date: Fri, 3 Apr 2020 16:28:59 +1100 Message-Id: <20200403162742.v2.1.Id96574f1f52479d7a2f3b866b8a0552ab8c03d7f@changeid> X-Mailer: git-send-email 2.26.0.292.g33ef6b2f38-goog In-Reply-To: <20200403052900.258855-1-evanbenn@chromium.org> References: <20200403052900.258855-1-evanbenn@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200402_222935_462956_30629773 X-CRM114-Status: GOOD ( 12.88 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1041 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Wim Van Sebroeck , linux-watchdog@vger.kernel.org, Mauro Carvalho Chehab , Greg Kroah-Hartman , linux-mediatek@lists.infradead.org, Rob Herring , Evan Benn , Guenter Roeck , Jonathan Cameron , Matthias Brugger , jwerner@chromium.org, Andy Shevchenko , "David S. Miller" , xingyu.chen@amlogic.com, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org This watchdog can be used on ARM systems with a Secure Monitor firmware to forward watchdog operations to firmware via a Secure Monitor Call. Signed-off-by: Evan Benn --- Changes in v3: - Change name back to arm Changes in v2: - Change name arm > mt8173 .../bindings/watchdog/arm-smc-wdt.yaml | 30 +++++++++++++++++++ MAINTAINERS | 6 ++++ 2 files changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml diff --git a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml new file mode 100644 index 0000000000000..24968f199413b --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/arm-smc-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Secure Monitor Call based watchdog + +allOf: + - $ref: "watchdog.yaml#" + +maintainers: + - Julius Werner + +properties: + compatible: + enum: + - mediatek,mt8173-smc-wdt + +required: + - compatible + +examples: + - | + watchdog { + compatible = "mediatek,mt8173-smc-wdt"; + timeout-sec = <15>; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index a6fbdf354d343..af8842b998a93 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1421,6 +1421,12 @@ S: Maintained F: Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt F: drivers/irqchip/irq-al-fic.c +ARM SMC WATCHDOG DRIVER +M: Julius Werner +R: Evan Benn +S: Maintained +F: devicetree/bindings/watchdog/arm-smc-wdt.yaml + ARM SMMU DRIVERS M: Will Deacon R: Robin Murphy