Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp747391ybl; Thu, 12 Dec 2019 04:21:03 -0800 (PST) X-Google-Smtp-Source: APXvYqxyYOaR1A8GJMhMR9dq5lc0YrQ18evOmZ/BKRZ71IpzFZ5r6+iKGpfN5IZ2051hybMuxemg X-Received: by 2002:a9d:774e:: with SMTP id t14mr7572968otl.358.1576153263300; Thu, 12 Dec 2019 04:21:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576153263; cv=none; d=google.com; s=arc-20160816; b=G9YjiGR5UjvGLNmJmcvxRIjCDshAIKLza6spyo69I5vPmwDV9IIhKm9Y8nXhHeWbm5 Y8fQloytL0joybY8yIBBCWHar7JUdGQyadw4Yo99ChcH9iVP1M4WrBDi8J159Ear6QyL Eg1whTln/CahW2iWD6g17Grcgu8W1hgZgnRoQZzlZVtvq4NALFTk8RYOGnJQ1GaEOjI5 K8SqSg6fO6rnREP84GMfkplhURkXYWFa1x8+TtiWibES+LMN1R804igBR81UDdCB53aa 2k++WSgfifSlL7rcjpYLsS+7C0IiaacAnkb5HrqW4grEiPM+9dUVFCz45ONRB/gYOmUv xJJQ== 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=IEYsd6KjIQLGbq/5psdx0IhqG/q5IoVl+EcX64TZgBg=; b=iKjKKQ5Ssm2QAWZkXt2yoTnG5rZInzGXK4gXgXrwtaeK75HKul46kDJuFbkDchnZAj Bt5xVJhRPQ5X0EolrQwIny9M/eaQ/31tBY5jrq18/IoqbMvFDUntLcbASaj7IQvE0ZVv 4s3u6pNI5d9hhHOzdRafRBlrq6/wSagM7vYEFSuJ/RiGcATZf/woMUv24xhlYLHveJs+ UCEYEb8PaE9oU/B8a9h9DQ5tgUmJjII60yDI+fm2Ysa9c7Nl1I9X2kExJw6w21TwLcyf QaD2Dy7D2htKxTQnnnodYl8T5wyHdhe0LUFVO6jADoynU6PIPwl+7uqm9I+tLzNdAtj7 PmhA== 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 f60si3033179otf.119.2019.12.12.04.20.50; Thu, 12 Dec 2019 04:21:03 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729206AbfLLMUN (ORCPT + 99 others); Thu, 12 Dec 2019 07:20:13 -0500 Received: from mail-sz.amlogic.com ([211.162.65.117]:53857 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729118AbfLLMUL (ORCPT ); Thu, 12 Dec 2019 07:20:11 -0500 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; Thu, 12 Dec 2019 20:20:37 +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 v5 2/4] dt-bindings: watchdog: add new binding for meson secure watchdog Date: Thu, 12 Dec 2019 20:19:45 +0800 Message-ID: <1576153187-28378-3-git-send-email-xingyu.chen@amlogic.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1576153187-28378-1-git-send-email-xingyu.chen@amlogic.com> References: <1576153187-28378-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 | 35 ++++++++++++++++++++++ 1 file changed, 35 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..c0ff2ec --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/amlogic,meson-sec-wdt.yaml @@ -0,0 +1,35 @@ +# 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 + + timeout-sec: + minimum: 1 + maximum: 65 + description: + Watchdog timeout values (in seconds) + +required: + - compatible + +examples: + - | + watchdog { + compatible = "amlogic,meson-sec-wdt"; + timeout-sec = <60>; + }; -- 2.7.4