Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4036938ybg; Fri, 25 Oct 2019 12:24:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzi6qoASFjZmxY0+hMrdUGsWCqa7rnEs9nm1A1Mhlc9aCK++n7ot/Fq6FSXOiyj7S0eCSoP X-Received: by 2002:a17:906:5399:: with SMTP id g25mr5114592ejo.125.1572031473514; Fri, 25 Oct 2019 12:24:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572031473; cv=none; d=google.com; s=arc-20160816; b=yvfy6kUPBNpuoGCYnY2go1IZOrtF7ocWTYB3tvdjG7bT2SMx7LxQTLsiTcahR4uoJG TpS9Xgr9WRYUmF3PNHUjP4Npo1wxQYRoFHV+GaRZ7ccdECj9czH/zXPbt7eg4+HJ3A6P czb8K98nMtRE8PrGQa1u9dxP+kEIU5LZh+p8jBuTuRg/R4++vfuMXKEH2qKe2TlVvyT+ 9IryVbehjSLuFMY5k/NX0NLmifBm0nGXNZ+nzl4uZbZwPWPKJB2bSQX5TOZTlaMK5rd4 PNQ+wKypSmSwzoVCyiS2Ad04/XrdKDm/d16D71zWWiyXTa9Kv3ehA5vAXeIbC0CimctO tPLA== 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=0fmmeOty8s8HwbZmYyyfAo9PI8fuIvY5nipCOQHCBbcOl3S5W1TGBuOwZ59EMIltFp N8D+NMXYJdnjTuIXF5OdN5goq6hZNCulhso/h/PykV7oDlz1eFFm678T8QAVdOVRdcgg YYtzUYGpjUippPOuCfSX3kRoiNh4HGne287jCpehdr/ZmHMsQhnloz+5KJj8DFj6AOG8 yU573FA0enymMCiNsijXpd6L/ysvzYMAtCPTZyaI/RbfYsGY4FaVP4OU52faHzG/nX53 dyVzOWDirnwXY6l+ABa2sm/ppaGGGWZNgR5ui66daqWtOdj6FqvnCV8++UdUqDwUxGBg nVIA== 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 m1si1833967ejb.44.2019.10.25.12.24.10; Fri, 25 Oct 2019 12:24:33 -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 S2404750AbfJYGNS (ORCPT + 99 others); Fri, 25 Oct 2019 02:13:18 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:39195 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404680AbfJYGNP (ORCPT ); Fri, 25 Oct 2019 02:13:15 -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; Fri, 25 Oct 2019 14:13:20 +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 v3 2/4] dt-bindings: watchdog: add new binding for meson secure watchdog Date: Fri, 25 Oct 2019 14:13:02 +0800 Message-ID: <1571983984-11771-3-git-send-email-xingyu.chen@amlogic.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1571983984-11771-1-git-send-email-xingyu.chen@amlogic.com> References: <1571983984-11771-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