Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1032464ybv; Wed, 19 Feb 2020 14:31:05 -0800 (PST) X-Google-Smtp-Source: APXvYqy/VwfLk8zr3t7uEjKlRxZ3aqfykBWQJq3ke9bUwqUdAbhtaEIrY/QTcvF78ayi23cBSYj+ X-Received: by 2002:a9d:6183:: with SMTP id g3mr21392560otk.304.1582151464891; Wed, 19 Feb 2020 14:31:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582151464; cv=none; d=google.com; s=arc-20160816; b=IRVUPqORuqroVpwvHUz/u1pAlSwTbAIRxQQK+EePujbDVQrOTwB7eW/Yrs6RyEp16G CigoYO+ULqhUWDQXzWLqx427WXM/nm8OetPIAVI2KHg6BpavlAJr37itqwdHs3aYIanX V6Pa3kcpIXF1XmclOng//1ZQIF7QQyTATtcruLlfLPzhkIRauAyF/ab7EpiFNGt15sAd XNzwHQ8Jtayby4kb6cFzaJrjzZd5evLN3OeApNdmPehyWUoj4FVO2l5y1f6E2RoR7KAH aF5WVpSv0LH+Qx7X5Ups6SKv8Cp9M07GZcIHSS/Len51I9Y+JI7aypn4VNlyBPlM5HBt OCsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Wu4HYGBqerN4aCKCQ+E16577x7yAfinXWHH5tKYvb4E=; b=dHxsJ0obD/RDHgj9Gan2iwM0zZq6kRokt1ddpjrkx4TRnqHSPayPq98xJ/j592kDVU KyX7bwcHJg9AR28LjVWRCA+EU820aPIPWxEPz66+vvqW2kt6D/LvjXCErsR1sIhuo3aC Y1I9/hyxc+CK3i9dL1GULb11URx0UJ/O1vQWMrTZ8GPwFNfeaubYcVT/QTovcUYpvsYu iIOvMebiqC+PDOqJD2l6e1UZSm76VEjYBF2najx4oDMSfNq9pWeMyb3P1mjzGRDjoyJx kPlFrAfb7ozHeJX7lxcvAi8/uJ6+GwstwHJf4SBqWGcitgpJ0u4e+acckP+1P8tsRU0v TpGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e23si10108224oie.105.2020.02.19.14.30.52; Wed, 19 Feb 2020 14:31:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727778AbgBSWas (ORCPT + 99 others); Wed, 19 Feb 2020 17:30:48 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:38727 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727163AbgBSWas (ORCPT ); Wed, 19 Feb 2020 17:30:48 -0500 Received: by mail-oi1-f196.google.com with SMTP id r137so5942407oie.5; Wed, 19 Feb 2020 14:30:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Wu4HYGBqerN4aCKCQ+E16577x7yAfinXWHH5tKYvb4E=; b=QFDZAKnz/7G32hf3DnaG3qK9sjcepac6Y4A0eRA5f+NmnonRjEpAv/YfC50M/u3qDh GPa9WVv3iymha8xmeJ7ItAhVXnrFLUawJMhKJezxZhdrC/tpuLjfveCvE+ys3tRXnPMO yEvPGEEOBvCA/cHxj5Q1Trv3Ku3dn5/oztReCCKvlkVm36mV9w7Dff8ysYuujT0zk/YJ xBBqYFZV5qtJnDfaBFIt6h6FqZOS/c2T+VN616lHshKanI07BK5yhAG0N03wW2obf59D 5lMdoxs4zohYyND8Nvk8MGiYLst+ztwBokb6OSL+9eIUk4/5lNIf0wDqK2GyLpjXALWx TCXA== X-Gm-Message-State: APjAAAXVC2a9/PxxEokO5AkXlWTa0/FCxgvuKNrzshvtadGjG5rg6k7Y Wn3FbJMlVcVmhcaXPb6eIw== X-Received: by 2002:aca:fc0c:: with SMTP id a12mr5913011oii.118.1582151447622; Wed, 19 Feb 2020 14:30:47 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id s12sm420688oic.31.2020.02.19.14.30.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2020 14:30:46 -0800 (PST) Received: (nullmailer pid 24235 invoked by uid 1000); Wed, 19 Feb 2020 22:30:46 -0000 Date: Wed, 19 Feb 2020 16:30:46 -0600 From: Rob Herring To: Evan Benn Cc: LKML , jwerner@chromium.org, devicetree@vger.kernel.org, Guenter Roeck , "David S. Miller" , Jonathan Cameron , Mauro Carvalho Chehab , Wim Van Sebroeck , Greg Kroah-Hartman , Mark Rutland , linux-watchdog@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: watchdog: Add arm,smc-wdt watchdog arm,smc-wdt compatible Message-ID: <20200219223046.GA16537@bogus> References: <20200214062637.216209-1-evanbenn@chromium.org> <20200214172512.1.I02ebc5b8743b1a71e0e15f68ea77e506d4e6f840@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200214172512.1.I02ebc5b8743b1a71e0e15f68ea77e506d4e6f840@changeid> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 14, 2020 at 05:26:36PM +1100, Evan Benn wrote: > 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 > --- > > .../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 000000000000..5170225b0c98 > --- /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 You are not the first 'watchdog in firmware accessed via an SMC call'. Is there some more detail about what implementation this is? Part of TF-A? Defined by some spec (I can dream)? > + > +allOf: > + - $ref: "watchdog.yaml#" > + > +maintainers: > + - Julius Werner > + > +properties: > + compatible: > + enum: > + - arm,smc-wdt > + > +required: > + - compatible > + > +examples: > + - | > + watchdog { I'd expect this to be a child of whatever firmware implements this function. > + compatible = "arm,smc-wdt"; > + timeout-sec = <15>; > + }; > + > +... > diff --git a/MAINTAINERS b/MAINTAINERS > index e48ab79879ac..5c45536e1177 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 > -- > 2.25.0.265.gbab2e86ba0-goog >