Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2362831ybv; Fri, 21 Feb 2020 14:12:23 -0800 (PST) X-Google-Smtp-Source: APXvYqzrLWVVz6qckIDO//VimPfkFDa6uzFTdiIK+/y3Gl9T7Q7DzQ7zbQrIPUELtjQfpdAusIAd X-Received: by 2002:aca:5a04:: with SMTP id o4mr3881277oib.71.1582323143337; Fri, 21 Feb 2020 14:12:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582323143; cv=none; d=google.com; s=arc-20160816; b=uuZjhl1AHtGn/PL6J6disP6zrFeEAmrd0iXYqpWhYPycyOsGF9SZIZpd2WX/lVNiTn JVK8eTxkHikL0vo4r7VA83foPc0uTKuOWC5lDMdTfAEVeWBUrv9UZVmpqJsyuA0TLIVH 8rPWU4ZQ1ocJah2Sl/MISKrC6LKGeSidS8ezZt6eeWzhe1CmscO5hRSj8LBRzsDcjW+E fP5oFD1+3pjZ3PsW2/WVZxD4iBxfmCgLR1ObZ0kEyP8QXLRV4cxpOCuyclEYYoSNle8Y 6m8SIJhzHKmKmw5Keu99q/dkhYp6TVoDJcYYJloYrq2ZCRyJ/058kPHD/aO7yVDfhcGk EdZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=WWOKaLX3e05spoCvd7RPcaeTue4HAReLnuwtWDZc2FQ=; b=jtiR9dOGjBouQ468yPgDMKDHOzYE4GeKjaN+fYTNxnpdVUsUJpYj0NNZzgv1hz6gsv ofNLKJGp0AFgB8fzqcueosFVDmzBwhV1I9H1WnC5sgL3ZJ5lBstNiQPDS6XpT/Bq5sMg sELoOnLUwyOHHhUZ70e6oX2qB0eDoIjEZjAc6HRxAjxhwG9LU3U1iSCBRROtO2yDgmI1 0oWemzs5sOVQ3M+zO2GntpYred3RcBtrmEnNY3uu3AfAQZ0GBnYnlUzLdyxQciziudUh iy6N62XSQRZOnSyHOGPvnJsP7HJcoAur8zCfxDYRAxkptjaxVj02/S/3a4CsGDa2YCwe gTJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uLjEhdPG; 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=pass (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 g17si2106615otr.261.2020.02.21.14.12.11; Fri, 21 Feb 2020 14:12:23 -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; dkim=pass header.i=@kernel.org header.s=default header.b=uLjEhdPG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729179AbgBUWLy (ORCPT + 99 others); Fri, 21 Feb 2020 17:11:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:50688 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbgBUWLy (ORCPT ); Fri, 21 Feb 2020 17:11:54 -0500 Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 212962467A; Fri, 21 Feb 2020 22:11:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582323113; bh=bf2RsaSvZhMI79nHgHionWDyrsV17B3qT+29dL6QM30=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=uLjEhdPGfBBs8J8kMdI9gKpPjMd/M6RazcBBvo02LI5gk5BBFs1us7fw56ebDGrNr hDqGewgjxff4DzdXTjm8dNTCjRJxHnGbNdbxaZF/ZCJqBbS4adXiRUSQWuVIIS7L26 e7yPR4613FuK8IHfzY0sRp0MoZGPOYUofpaCd1UI= Received: by mail-qv1-f44.google.com with SMTP id ci20so323874qvb.4; Fri, 21 Feb 2020 14:11:53 -0800 (PST) X-Gm-Message-State: APjAAAVivR2353AR4kVorgtpB2nMIOumPz2X2wA3uQbFRmriV7WZGve4 1JONzwQhqHQM0bOzzn/vpgDpF1pWc5bNzb6XjA== X-Received: by 2002:a0c:f68f:: with SMTP id p15mr31162876qvn.79.1582323112146; Fri, 21 Feb 2020 14:11:52 -0800 (PST) MIME-Version: 1.0 References: <20200221053802.70716-1-evanbenn@chromium.org> <20200221163717.v2.1.I02ebc5b8743b1a71e0e15f68ea77e506d4e6f840@changeid> In-Reply-To: <20200221163717.v2.1.I02ebc5b8743b1a71e0e15f68ea77e506d4e6f840@changeid> From: Rob Herring Date: Fri, 21 Feb 2020 16:11:40 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] dt-bindings: watchdog: Add mt8173,smc-wdt watchdog To: Evan Benn Cc: LKML , Julius Werner , "David S. Miller" , Greg Kroah-Hartman , Guenter Roeck , Jonathan Cameron , Mark Rutland , Matthias Brugger , Mauro Carvalho Chehab , Wim Van Sebroeck , devicetree@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "moderated list:ARM/Mediatek SoC support" , LINUX-WATCHDOG Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 20, 2020 at 11:38 PM 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 > --- > > Changes in v2: > - Change name arm > mt8173 > > .../bindings/watchdog/mt8173,smc-wdt.yaml | 30 +++++++++++++++++++ > MAINTAINERS | 6 ++++ > 2 files changed, 36 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/mt8173,smc-wdt.yaml > > diff --git a/Documentation/devicetree/bindings/watchdog/mt8173,smc-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mt8173,smc-wdt.yaml > new file mode 100644 > index 0000000000000..ff45e13bc548b > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/mt8173,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/mt8173,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: > + - mt8173,smc-wdt compatible strings are in the form ,. 'mt8173' is not a vendor. > + > +required: > + - compatible > + > +examples: > + - | > + watchdog { This should be a child of some Mediatek firmware node. I assume watchdog is not the *only* function. > + compatible = "mt8173,smc-wdt"; > + timeout-sec = <15>; > + }; > + > +... > diff --git a/MAINTAINERS b/MAINTAINERS > index e48ab79879ace..59e8779363c12 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/mt8173,smc-wdt.yaml > + > ARM SMMU DRIVERS > M: Will Deacon > R: Robin Murphy > -- > 2.25.0.265.gbab2e86ba0-goog >