Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp867474ybh; Wed, 11 Mar 2020 12:25:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vus4Ohmw5Mb0pMrE5bf7we7U7P3Wn0ePjlHCKW81j2AjinZjd85wR9521AfbF2Sc0/yd5Jc X-Received: by 2002:a05:6830:18f7:: with SMTP id d23mr3635796otf.369.1583954756334; Wed, 11 Mar 2020 12:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583954756; cv=none; d=google.com; s=arc-20160816; b=QeKyLcKoAp4Q2c4gG9aTPwv53n1Hdvhc8HGWyKORpXssPRZ1yezcu3HJrXPpx4c7Y6 4bzY9+1fcV5eNQGBB0fFZbQcAVxz9zKKHH4c+5uinw/OUV9zi82pscNBstvBPSOkEipD 9zqb5SliHTOVKgGkWM6D579taJL5qf/0S1PlmgSVN2kRolwPI3Wk3fc+J2PZQlf89gQO 53FcTQX13Q8HjpvqnZuhgcM5XXLe7wLsF7mSVG8Srb5tFWsqSMoLS09GgaSphz5OG2EQ 8n367nr0rYUVu18FDBgAgXJ9y6TrZy1TdurCousdCFFYy7NBBtXGUJWjvshZzh2Bw0lq w0NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8N/7KqaO2uHDIYZv/eBCikgO0CGFEy0TUrj3C3ZKTKg=; b=QXdwjWyTsDZTeuhk+bO1lwxs+lOaVyKqupC4z8lwk5qbomdguuhyRFa9ytamWNXLpo 47nEsS24tqQxRSw4yEHwULsyLiFumRSQe1282G6/5k8fQDzePigCT30XGJC63hwgqJU8 1rizOWAjtD/2gyhR36eoQWDx+SIaEKLjfhBKeERzxmV70Pxdv5uuVlk0kxfpKLcy3Des Vnb3+3FA/x34uEAuQiXb4ojFJ9nZYdXbtHJtAwUNtE9UhSDiuEVDoH8hd6OUr5Z4HNlR oGhoRohWecRtF0JNIpp6SgpEG1W+KzE8Zq7OnR9XKVMOLTRc/Nm5pUBW5jIRxKeB06Wr RooA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ARE6qGsm; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si687481oto.262.2020.03.11.12.25.43; Wed, 11 Mar 2020 12:25:56 -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=@chromium.org header.s=google header.b=ARE6qGsm; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731048AbgCKTYP (ORCPT + 99 others); Wed, 11 Mar 2020 15:24:15 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:34445 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730858AbgCKTYP (ORCPT ); Wed, 11 Mar 2020 15:24:15 -0400 Received: by mail-il1-f196.google.com with SMTP id c8so3193062ilm.1 for ; Wed, 11 Mar 2020 12:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8N/7KqaO2uHDIYZv/eBCikgO0CGFEy0TUrj3C3ZKTKg=; b=ARE6qGsmx2gNgSWJCSYU0TNiWLYMwyiRcF6ENWM3CzZ22PibB5K9mK6zqiGKXRuzWy KopIQ+9mN/zayHYAau1eIEgQO/CVEKQFu7DTE9CQOd0YytHsopNF7ePGCmgBn4lttdgq MMEyPTdXGQ7lKTsi+rgkBT4ejvtJ6j+kWqLpE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8N/7KqaO2uHDIYZv/eBCikgO0CGFEy0TUrj3C3ZKTKg=; b=MC9mcp9kZ61Q0aUUW0Gnf8X20UbmfRXsiZiln6L82RWqu/1Ck+h2HfovLMucjNHwku +ZojlvcBvGDIQz243ClXSq+dwM49m+4QgxDjeMyTp6dguGp1j8iGNeMdwFFtsecKblqN E88dSnf9faEF9nIo+W3ea0eUbOA7hLqbZVt2IPW6g3taf3lc85ypa84sKkhCz6BSoEdA 5wpYD85fvbWq/3rygqVyblWJmPRhSC5ohFeNrSXq2iAXjUnkLIg00Sqv9UGrzA1ST3Ng ww/ou8sr09aYDGMvq9WYA0eNgfu/YrN1QFtTaBt95DoRv+Klv/28dh/27ry/GkqNeFhQ 7fRQ== X-Gm-Message-State: ANhLgQ0m4F+NJTVIazF3eOU6z+wukENhn+uZd+pUrvYlOHaB/a98ust4 q6bEutAZm7Ub/5qAavxGmTeCqdpEuTyvFCUUyHlSzA== X-Received: by 2002:a92:52:: with SMTP id 79mr4698842ila.41.1583954653040; Wed, 11 Mar 2020 12:24:13 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Julius Werner Date: Wed, 11 Mar 2020 12:24:01 -0700 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: watchdog: Add arm,smc-wdt watchdog arm,smc-wdt compatible To: Xingyu Chen Cc: Evan Benn , Mark Rutland , devicetree@vger.kernel.org, LINUX-WATCHDOG , Jianxin Pan , Rob Herring , Greg Kroah-Hartman , LKML , Yonghui Yu , Jonathan Cameron , Mauro Carvalho Chehab , Julius Werner , "open list:ARM/Amlogic Meson..." , Wim Van Sebroeck , "David S. Miller" , Guenter Roeck Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > - *_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)? 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.)