Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3076605pxa; Tue, 25 Aug 2020 10:45:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXdS9H+fW0NGr/1MdEKfhXdMsa6fxbO8BhdgARMG/mCtCRfXVkQzrGORyIuz8q00AEyI5E X-Received: by 2002:a17:907:41dc:: with SMTP id og20mr12157113ejb.183.1598377547442; Tue, 25 Aug 2020 10:45:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598377547; cv=none; d=google.com; s=arc-20160816; b=I+0OuothOQjNLevCVn1PkG14jo2cPha9PS/eu/ApXbeafqTrTAgV/ja6LiNwoKGJ0j 1ehU8GJrBfZQPUJnm41zGvHewpND7o/N65NcLfdMo7aGBwccPAr0YIHfHxD+SB671hYG tjeZXTXyA8nAGko3edh6+GvVKb/7Kb/Y1PXvs3f4ZmppBzF8+Pt2D5AOIu8A9Y7VhnKB 80SKi5619moDuAEpDl3PHsMuEdbZfQ4Ch7/+/bT+6XaNTVrajpBaVsi2p0iP4IFK0D6b PKFKkjyaBN44ZkM81I1ahbnW1esrly5qdkG7QPvuKmcPGCIMQygzGamSuEIwAlP4pd1s f4Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=NTp9u+iFGhAjZbw/H+WbVNzQr+UMY6B6b4vLY7DE2lo=; b=Hmm5LREjDmjaSx7YDhLYj/SZl4pED0GihnhtscpciIb5sdSqpzr37ScSnfAlUJAq8Y +7kiH21vI9OOnkteiQwDanRXYF3ZueYxw80VFpEUZeU4d6PMNEGy6kB7E/Xf2/I/DgoH WKaGoYOBebidupI5NmSOBX0Uwjy1I72mlUDFMwroAbOESiHnuBb5IbldETNrFA2Ezunh Ze9Rh2nxwRKKps18HaSiiSuew2gK0Cw059MxRL1iNS0ZSQ7MJ0UABD1JbA6exPFaRHNl FuIeLRHquzk00YZt/AaVY2CrJ9+gOxKmhhIn9nBuEuHW/XK87Vri/d8cyG5BRIB0Kc3Z jUUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id bj23si9355587ejb.94.2020.08.25.10.45.23; Tue, 25 Aug 2020 10:45:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726645AbgHYRmX (ORCPT + 99 others); Tue, 25 Aug 2020 13:42:23 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:39423 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726119AbgHYRmU (ORCPT ); Tue, 25 Aug 2020 13:42:20 -0400 Received: by mail-il1-f196.google.com with SMTP id f12so11150418ils.6; Tue, 25 Aug 2020 10:42:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=NTp9u+iFGhAjZbw/H+WbVNzQr+UMY6B6b4vLY7DE2lo=; b=MwlGuAjlcVWmp0YPF1lmEUSoBhrUUDjMmxWws8ytNAR+/KY0zxDwpjMidLibZe/sGW hAkxDiVb2tK5lRCEu3uX5kn7Ndb9QmXuVdF268DzLxTIyPTfCX7e1NVyND0oPf2UaJY4 AaWuI84lZvsJ3m48+YboHOwyLnwNj1NXXGVP5gxJX1lidBnup70hntaXRtoOJuTUXnIo ioSkI/LdDb3kq8LO8FYABNTIiF3qZKhildyas5Qt9wgKB6gBsAdwwJA+TxJwCyRHPErx d4dstkYxE9p5dJ/Cj9deHjDm5wtMQebUaicPjjaotG7Gar5o2uXtKdavq/EyCKpC8GI+ CfIA== X-Gm-Message-State: AOAM531Xv1n1+bNnkDJLoTfsU1KVutA08YB2tcxPyVcFcUR9/wOeWQJ/ 1HrYTZUmPD2SrWxLjOWAbg== X-Received: by 2002:a05:6e02:670:: with SMTP id l16mr10253072ilt.52.1598377338930; Tue, 25 Aug 2020 10:42:18 -0700 (PDT) Received: from xps15 ([64.188.179.249]) by smtp.gmail.com with ESMTPSA id v84sm9831589ilk.4.2020.08.25.10.42.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2020 10:42:17 -0700 (PDT) Received: (nullmailer pid 1008933 invoked by uid 1000); Tue, 25 Aug 2020 17:42:15 -0000 Date: Tue, 25 Aug 2020 11:42:15 -0600 From: Rob Herring To: Crystal Guo Cc: p.zabel@pengutronix.de, matthias.bgg@gmail.com, srv_heupstream@mediatek.com, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, s-anna@ti.com, afd@ti.com, seiya.wang@mediatek.com, stanley.chu@mediatek.com, yingjoe.chen@mediatek.com, fan.chen@mediatek.com, yong.liang@mediatek.com Subject: Re: [v4,1/4] dt-binding: reset-controller: ti: add reset-duration-us property Message-ID: <20200825174215.GA999117@bogus> References: <20200817030324.5690-1-crystal.guo@mediatek.com> <20200817030324.5690-2-crystal.guo@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200817030324.5690-2-crystal.guo@mediatek.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 17, 2020 at 11:03:21AM +0800, Crystal Guo wrote: > introduce 'reset' method to allow device do serialized assert and > deassert operations in a single step, which needs a minimum delay > to be waited between assert and deassert. Why is Mediatek adding to a TI binding? > > Signed-off-by: Crystal Guo > --- > Documentation/devicetree/bindings/reset/ti-syscon-reset.txt | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt b/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt > index 86945502ccb5..ab041032339b 100644 > --- a/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt > +++ b/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt > @@ -59,6 +59,11 @@ Required properties: > Please also refer to Documentation/devicetree/bindings/reset/reset.txt for > common reset controller usage by consumers. > > +Optional properties: > +- reset-duration-us: When do serialized assert and deassert operations, minimum delay in microseconds > +is needed to be waited between an assert and a deassert to reset the device. This value can be 0, 0 means > +that such a delay is not needed. This goes in the reset controller node or each consumer? For the latter, it should be a cell in 'resets' if you need this. But really, I think the reset controller should enforce some minimum time that works for all consumers. Surely having a minimum time per reset isn't really needed. Rob