Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp32784ybx; Tue, 29 Oct 2019 13:53:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9uyazDUK/OAlwh1HGIZPn7+R9nuxICW28MZ77bUocUVad/CJgK9wsVxhbbY1A9umqquSb X-Received: by 2002:a17:906:cc9a:: with SMTP id oq26mr5244195ejb.292.1572382401684; Tue, 29 Oct 2019 13:53:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572382401; cv=none; d=google.com; s=arc-20160816; b=LZ3K5xk+R0K+90M6Opt/6lylAmRx4kpGOVS8ejGM3dDv3VtwSHRpq1hbyVXWDtL5PA D/6/f63gH+oO+CrhNLqfZ1LNPHWey3uv5qQAenvthOhnI1BJebSbt8k5shO8eUW0dNPJ pHKqXrHzJPOjIXPS4v0vX6lB7q9FHd5ilBaJr6J3MwpX3FmohbxBlKWibwYX91t2uhMI vrkI0pb5/frdpIpqmHJDbE8mrFpX/8h1q2Ug5SabflM3XHCjNrIIKc/UkhX1ZZBh1BWJ DMF2LiGdfmJj2yxbUYhP7I5gnhrLV2p60mXjuPmSwG5FyT2ccBadg7k1dJThWLw2GgVW H0gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=LIGu2JFQiGTfFlqFPujZ5YjltuoBIxTd67USUeN1imo=; b=hnHIuuv0gFKmS9JXkw045Ce/LiZ6j9fwpBGAvRGCEBt4vtYQZBrz0lfUEbAYFMgzCw IpmbLYTIUFrE+zWlWLrVaJ/GHt3tJQRiBChyVlCQkjr1QWs4fFFieXUUdj4cXIcJFsP2 cXvOH6AfFe7XRTNB7idYrU+VjOJJuHKG7Sol8j3F/k2TsoJFu/GZ8o3b9fNlJuH+4JV8 gJwM61ZwIlyPs5+alGweEOz0jj4X2wJi3DrHvNLOY7/Wknw04luZShI5l2nDv5GZC9W+ +4fGBk3VHLTY/K73LPOMRxyTwppBofkpuKpW0IZQR4yw4O8OVhffTMxD2nkLMTvgPUmI Jlcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jeoJsxjj; 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 n9si8799511ejk.158.2019.10.29.13.52.57; Tue, 29 Oct 2019 13:53:21 -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; dkim=pass header.i=@kernel.org header.s=default header.b=jeoJsxjj; 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 S1727567AbfJ2UwC (ORCPT + 99 others); Tue, 29 Oct 2019 16:52:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:35872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726401AbfJ2UwC (ORCPT ); Tue, 29 Oct 2019 16:52:02 -0400 Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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 8BE8C21721; Tue, 29 Oct 2019 20:52:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572382320; bh=v0+2wjHOV3TPOZBmkD3JlMqMySjlcS3TjLyd/H3+Vb0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jeoJsxjjNE6CGSF/eDsifXtRv6MFoyej58BzCWJ9dtainNbQLHgEBmBOdDbzmlzS3 8mPLRij1NWGeikAECXh3rin5I3GSDRdDiraYmtN5V48K62fm2+iR+6UYtVtQYbGsuK QXNe/3IhAVfAR2fVXlHywPQiAUit8DyD+WOu+YwM= Received: by mail-qt1-f173.google.com with SMTP id c26so68604qtj.10; Tue, 29 Oct 2019 13:52:00 -0700 (PDT) X-Gm-Message-State: APjAAAW71O0biyQDk6Rxw/SfdSOV27hTey0JxQDJc7B49U1pyJVgrEju XlaCfBvYqeH1IyUYEmoHxFzHkkJrYTJ8wboW/w== X-Received: by 2002:ac8:65d5:: with SMTP id t21mr1315081qto.300.1572382319631; Tue, 29 Oct 2019 13:51:59 -0700 (PDT) MIME-Version: 1.0 References: <1571983984-11771-1-git-send-email-xingyu.chen@amlogic.com> <1571983984-11771-3-git-send-email-xingyu.chen@amlogic.com> <20191025203030.GA28391@bogus> <1914e315-3cb7-9251-f871-0024e0e4f68b@amlogic.com> In-Reply-To: <1914e315-3cb7-9251-f871-0024e0e4f68b@amlogic.com> From: Rob Herring Date: Tue, 29 Oct 2019 15:51:47 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/4] dt-bindings: watchdog: add new binding for meson secure watchdog To: Xingyu Chen Cc: Wim Van Sebroeck , Guenter Roeck , Kevin Hilman , Neil Armstrong , Jerome Brunet , Qianggui Song , Jianxin Pan , Jian Hu , LINUX-WATCHDOG , "open list:ARM/Amlogic Meson..." , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 28, 2019 at 3:35 AM Xingyu Chen wrote= : > > Hi, Rob > > On 2019/10/26 4:30, Rob Herring wrote: > > 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/amlogi= c,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. > I'am very sorry i don't understand how to initialize the watchdog driver > if the compatible property is removed, Could you give me more > suggestions or examples =EF=BC=9F Thank you very much. platform_device_register_simple() from the secure firmware driver. Rob