Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2047710ybp; Sat, 12 Oct 2019 03:07:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwn86vzdSHmRbHfbqUKYLdaylmuuvNRHU0U2PMa5q5kLi4v7JaRUstvKh0PS2LKCUsNXEE2 X-Received: by 2002:aa7:d748:: with SMTP id a8mr17710994eds.269.1570874875650; Sat, 12 Oct 2019 03:07:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570874875; cv=none; d=google.com; s=arc-20160816; b=piWrgok2uN8tQCdTc3333ihf4ywvkDHxF4JAEEma0HXmOD3FhXZBZlAAj4/PxcoIjB OQWPWy8pWbybEdR3DQDsIddKjeip1K9HGO7pbEpLo3RRy+GQs3na4LFtY/O6Jvc47Bih xxFrDIZVZBhx7Z6Xoi50MXWgupeMDRPMiVEX6Ko3stClkcDj9IVgz4IyEgaBAyboZ2aA sNhpM8dUCQfz9WHsy8eLAG6OnuHIJFu7moJM8I/fo6ArFF64gPpeVMCEBSJMAK5QOX59 5ZP5qveI14e+YRbq8FLR6kGQYKrp2uz0RiXS+Mjh+gp4IcTL2IgaoaYjEg89MF2gRw52 Zh0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=RfYjZ6/ufYX8G1NV9GS7T73tqNaCgro3j1C2GjFjeVM=; b=qOBLhUrwR9DpOEP+tPwFJc4cHdB3qJm667uvSZJxlc+EjZBQOdvauPedY+G/NaaujV QMX713TE7zX/0I99QQrBjiNH0JEQBzGw9Jvxu4q7k2wH715XYg/OHkhvBfO33zL5cPDf IO/mNoVRn1ZASodnQlwunQqjv/C0akrm3d2HszM4SqVyz6302ga1JKzQDX1t/txzArkZ NH2hQxd9U/STF2GRiGHY3MHX0IfQZrKRQep/sppRurUEJYaVTsr4BkKSC+ryY2RNWrRj KA7XT2TQJ4xc9NAF2qmL/w+UyMULc+CQp/C0XFoQnCJOwTzsNlxzDom9r1AvkFBk4585 caEw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si7525584edq.391.2019.10.12.03.07.31; Sat, 12 Oct 2019 03:07:55 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729158AbfJLKF3 (ORCPT + 99 others); Sat, 12 Oct 2019 06:05:29 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:39661 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728978AbfJLKF2 (ORCPT ); Sat, 12 Oct 2019 06:05:28 -0400 Received: from droid12-sz.software.amlogic (10.28.8.22) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.1591.10; Sat, 12 Oct 2019 18:05:30 +0800 From: Xingyu Chen To: Wim Van Sebroeck , Guenter Roeck , Kevin Hilman , Neil Armstrong CC: Xingyu Chen , Rob Herring , Jerome Brunet , Qianggui Song , Jianxin Pan , Jian Hu , , , , , Subject: [PATCH 2/4] dt-bindings: watchdog: add new binding for meson secure watchdog Date: Sat, 12 Oct 2019 18:05:19 +0800 Message-ID: <1570874721-36077-3-git-send-email-xingyu.chen@amlogic.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570874721-36077-1-git-send-email-xingyu.chen@amlogic.com> References: <1570874721-36077-1-git-send-email-xingyu.chen@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.28.8.22] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + + 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