Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4140971ybg; Fri, 25 Oct 2019 14:00:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjlfNRW/c5MmTfZwgTohylHHjsKd21BRYQKY9jv/fHmTw8dnVnulk0Ir+D/PzaH2WSX3Gr X-Received: by 2002:a05:6402:68b:: with SMTP id f11mr6058488edy.173.1572037212057; Fri, 25 Oct 2019 14:00:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572037212; cv=none; d=google.com; s=arc-20160816; b=0CHBMjj4FezHi4KcsD4HZ/GN5gvzPorBV5sXUfLamt22zurCQszvSEjXBHgMqg6zgr OS/I4v5dOw1KqvoC334ZJpwWqzFqIpiqkfHm0dUO3h8nlUAb3sFr7ENpHBFskIUmO3ra VgmHI7+mnzcmrViTA5JicQh5hLxhCH36XmMo9R42aVen6XhrL2FJNKRQhGrCcM0+Bf+m 10PqzlLH2aEWgHNjiV2+M6O/e+K3fn3ysF1mwneyafCjwZ/f3S0RbFtum6r9UcyN7D0C qRI1zLRJTO/hpdUMDsAubTOYpdqG+Hw6YCxtvrjofIifTKco41aPh7W4Yi/MlnFQOXfP bpFA== 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=DjnUodnaL6w0elyh2CsGwsstDrRTdxNuqmD9G+YqUd4=; b=Xjn1mVZkQJCXxIm0hk6pUrSnqhp92szboGh1lKOLfIQ6WakPSPkU05Y/0B1jRgViMn EpSwAjEzAZvYRTO/Zrf9wsz/3cAE/J3wxH9CIPCn6oxqkfPgrzUOFAegqPE/S0xwbLb6 eXApg582cahuY5XEfzsEhF2nw07Rz3wSRt3UCny3hTdfGqWkY0RIgHG3AgrQMcoFLbNL 5tpUTdOtNsI4aYR5KGFsJFw+RDftKqTw2O5ucL+yNRCNYlZhJqyQXzhTL2OY32g8dLhs O0JS1N0sZtho1yKRm81sIwOUGE7sc5gHm9RjwgGDFUfmBrlWETbivMJxRzAg3RW+fNYL rQJA== 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 sa16si1823881ejb.356.2019.10.25.13.59.48; Fri, 25 Oct 2019 14:00:12 -0700 (PDT) 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 S1728521AbfJYUae (ORCPT + 99 others); Fri, 25 Oct 2019 16:30:34 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:33376 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728273AbfJYUae (ORCPT ); Fri, 25 Oct 2019 16:30:34 -0400 Received: by mail-oi1-f196.google.com with SMTP id a15so2478219oic.0; Fri, 25 Oct 2019 13:30:32 -0700 (PDT) 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=DjnUodnaL6w0elyh2CsGwsstDrRTdxNuqmD9G+YqUd4=; b=cEdmt9X0RedGeE58QLRAjUCtEpWlXbZoqwElE2jizOvUrKkArrwEDToYVzdXpzeqGd UaG2X+U0IGq1dj44GLHKcogyV80hGl59HTzT6U+yjk3jQ3qMAGuFNPf5KnpNmpyJYoaT RZABGN8ldGvQ3fINoyxhF3d/Qp2daeCKeYdD7U1Jf1l0aegpObAuGg9AfyWThowB/NEh N1IdGwWZ4+kkLh9r76wqXnXeI5RroruqvM7BiH1jGKX3exKeX1FDpRsq/Gs3kXMWwO45 e6SvSTQ5IXZPxjCm52llzZjGh9MQtTTC9wmyWxZE67Kdu09CTlOJ2UKFnGL82I783oQ4 RpYg== X-Gm-Message-State: APjAAAV7BIFwowKm8CM8Ui03BwKk79+myEPLfg5YuP9vDYsa/3Ist7wI y+x/mlwpUjM2amliLXMM0Q== X-Received: by 2002:aca:b256:: with SMTP id b83mr2268898oif.101.1572035431991; Fri, 25 Oct 2019 13:30:31 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id l19sm842018oie.22.2019.10.25.13.30.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 13:30:31 -0700 (PDT) Date: Fri, 25 Oct 2019 15:30:30 -0500 From: Rob Herring To: Xingyu Chen Cc: Wim Van Sebroeck , Guenter Roeck , Kevin Hilman , Neil Armstrong , Jerome Brunet , Qianggui Song , Jianxin Pan , Jian Hu , linux-watchdog@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 2/4] dt-bindings: watchdog: add new binding for meson secure watchdog Message-ID: <20191025203030.GA28391@bogus> References: <1571983984-11771-1-git-send-email-xingyu.chen@amlogic.com> <1571983984-11771-3-git-send-email-xingyu.chen@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1571983984-11771-3-git-send-email-xingyu.chen@amlogic.com> 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, Oct 25, 2019 at 02:13:02PM +0800, Xingyu Chen wrote: > The binding targets the Meson-A/C series compatible SoCs, in which the > watchdog registers are in secure world. > > Signed-off-by: Xingyu Chen > --- > .../bindings/watchdog/amlogic,meson-sec-wdt.yaml | 34 ++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/amlogic,meson-sec-wdt.yaml > > diff --git a/Documentation/devicetree/bindings/watchdog/amlogic,meson-sec-wdt.yaml b/Documentation/devicetree/bindings/watchdog/amlogic,meson-sec-wdt.yaml > new file mode 100644 > index 00000000..0bbc807 > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/amlogic,meson-sec-wdt.yaml > @@ -0,0 +1,34 @@ > +# SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +# Copyright (c) 2019 Amlogic, Inc > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/power/amlogic,meson-sec-wdt.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Amlogic Meson Secure Watchdog Timer > + > +maintainers: > + - Xingyu Chen > + > +description: |+ > + Secure Watchdog Timer used in Meson-A/C series Compatible SoCs > + > +properties: > + compatible: > + enum: > + - amlogic,meson-sec-wdt If there are no other properties, then you don't need this. Just have the secure firmware driver instantiate the watchdog. > + > + secure-monitor: > + description: phandle to the secure-monitor node > + $ref: /schemas/types.yaml#/definitions/phandle > + > +required: > + - compatible > + - secure-monitor > + > +examples: > + - | > + watchdog { > + compatible = "amlogic,meson-sec-wdt"; > + secure-monitor = <&sm>; > + }; > -- > 2.7.4 >