Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1895214ybh; Fri, 13 Mar 2020 09:14:42 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt9KArPPKibhsJowEFbJ8NZqRbfpJN1TKNcIEHdYUWE43GmlNdFpxXqOTRYlLxtZ4aPQKtP X-Received: by 2002:aca:dec6:: with SMTP id v189mr7711332oig.156.1584116082496; Fri, 13 Mar 2020 09:14:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584116082; cv=none; d=google.com; s=arc-20160816; b=ugJGVWMaDA1XXWLiQpr3TpR8nrYZdl74QEmvAO/ueYXubSf8mTNTadTnGyXNPorLhT lmkQvFon3hJ8nsDL9xz0EVrVCg+e+ZLJDHBX5LnAo3gSWA33v+nz5Yol495b51b07hKz uJRJWUYI29jkGI22XcA9ZY3pHIQYxS8VGcpiGsfiQWFNRaxZa0qk5oE69erLmXerPDIA yC5t/gBo9OI90YImAfXuUlLxuU0wzIkSiPn4EuOHxOl/betdabzLcaaHgW7FaPRJBj4y mgQIfNCfEKKX9yZRPHBbjZ2re2jW604G2mQOzZvzhJRUEGPNDd81EIFOSMvZahvpNu+D A/eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=WrDbKxDDdacXykoyZ8ZbqvD5hZ7LKyw0mSS9tFDP4xg=; b=drQ3Su+SkTOx63g7j5Y/yyeNdSu/9iysE3wR4HWbrzII8iQe0EBFgqIPMKvWy80Gu+ C0+8NLNQDt7cEWPuEFuxLSxkdSJHG3GLVJy6ZV0/0F4nyYLFZxoKB00xhkP5Usi+YxoH LxKvw6G+DKmXEVwtKsCGhoqfjhQ6ZlLIHtyqwNmNr5CRlOW7XpVMSpWQNwMpG6/IUOra vLhfJN5kGQgIT5yY0XfkqLyhcXH3JwKVwmCesjbJy4jN86c7fRwCW3VFfY1SEeqOkEc/ hVMU/zgKI516UnvCOVXlv+MTv8Bv3LQlPYPcByqtEsjlU3N0tmpkvgnik6e7tWGBedmR iGWg== 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 t132si4827743oih.173.2020.03.13.09.14.22; Fri, 13 Mar 2020 09:14:42 -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 S1726713AbgCMQMn (ORCPT + 99 others); Fri, 13 Mar 2020 12:12:43 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:12635 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726446AbgCMQMn (ORCPT ); Fri, 13 Mar 2020 12:12:43 -0400 Received: from [10.28.90.144] (10.28.90.144) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.1591.10; Sat, 14 Mar 2020 00:13:10 +0800 Subject: Re: [PATCH 1/2] dt-bindings: watchdog: Add arm,smc-wdt watchdog arm,smc-wdt compatible To: Julius Werner CC: Evan Benn , Mark Rutland , , LINUX-WATCHDOG , Jianxin Pan , Rob Herring , Greg Kroah-Hartman , LKML , Yonghui Yu , Jonathan Cameron , Mauro Carvalho Chehab , "open list:ARM/Amlogic Meson..." , Wim Van Sebroeck , "David S. Miller" , Guenter Roeck References: <20200214062637.216209-1-evanbenn@chromium.org> <20200214172512.1.I02ebc5b8743b1a71e0e15f68ea77e506d4e6f840@changeid> <20200219223046.GA16537@bogus> <20200219232005.GA9737@roeck-us.net> <1326f594-3cfd-c03d-4f2c-50eeb75724b2@amlogic.com> From: Xingyu Chen Message-ID: <6e846246-dfd5-c002-cd61-41c2d11a2e54@amlogic.com> Date: Sat, 14 Mar 2020 00:13:01 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Originating-IP: [10.28.90.144] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Julius On 2020/3/12 3:24, Julius Werner wrote: >> - *_INIT and *GETTIMEOUT. Although your driver does not need them, could you take them as options in your driver ? > The driver already has SMCWD_INFO which is used during probe to > retrieve the minimum and maximum timeout values supported by the > hardware at probe time. Maybe it would make sense to rename that to > INIT (which would still return those values, but can also do whatever > initialization needs to be done in TF)? Yes,INIT would make sense for me. > GETTIMELEFT I agree we can > implement optionally, and other platforms would just return a > PSCI_RET_NOT_SUPPORTED for that. > >> - *_RESETNOW. It is used to reset the system right now, similar to your SOFT RESET. could you reserve an operation index in ATF ? > Just curious, why do you need this? Shouldn't you use the PSCI > standard SYSTEM_RESET SMC for that? (If you want to control exactly > how the platform is reset, you could also use SYSTEM_RESET2 with a > vendor-defined reset_type.) I just wanted it to be compatible with other OS,and I  think it over, maybe I can also use the PSCI interface to execuate the system reset on the other OS. Anyway, please ignore this request. Thanks. > > .