Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1203248imm; Wed, 23 May 2018 12:00:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr6Oxna3KKVvVrq5jqFC8SQTabx2c1WtIhlfP53adv3riyi2wmrFQMLyTinGbjHVie16Jfc X-Received: by 2002:a62:1d52:: with SMTP id d79-v6mr4018920pfd.230.1527102034445; Wed, 23 May 2018 12:00:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527102034; cv=none; d=google.com; s=arc-20160816; b=Q2WgnYJRI2D1GTyCZ+AHjGaICUl3iswJZdIAU8eoalsjnvxK6SLSuklxc1ZECuw3t5 TaSRu3U9j9Z2YweLxX6TvLbC/W0w1bfy0+osuKa4hh439P7hDxu6jFlnQdjx9xdj55qu hNy3P6JqmXf7zyiSzFQWnHPWDahLri7SUqN4ERnt2DEA4iaKMPQRPO3U548s7LMAiNoX sy+CRf4QARJ9Y0v9I49j/nZnHrL/NexhwPwSUjV6vrF5lm922LZJrCe37lF9urFqkq1A u8vwg0AhqiZNzAziuUnuoX/UGi5RCfsR2mXTR/qEtZAYhcMKtNmRNdb4Y0Y9G6LEk5ak NJEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=X2mSG49blCA08azjsuuZRCU0I8b0LwvUcXCG7zHkbiw=; b=BACxgj2AyDGYH/g0RydQuIvkZ6xs0SxZyNRY7RW7oshayu4THP0E6zoS96pOsxjyXM tMYEtgUSYR+GhFG2dF/czs0h2Rb/ge6vq34cSlN6JAJUMhBL1c8whuPqJyP+zQBaLsBp KSR9lwFmjsAA3A6d+tw6S2lDd7yu1tqa33x5VMlbiA8KJC2kuv+0ahIsJzgY4uPLAlmB Gyhc6cCJA6rC8bivBPQNDl8+e42vUSsKfyQ8g6tnXZ0TH1Y8DVudEX/ekgGc8kpHE08l rfduCSqdkbofAZNQfrHj90s/Kbnxjlbrxop+z79+Ts5Nv19LEjzAzaAetWiUuO9axH1y eOjQ== 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; dmarc=fail (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 b4-v6si14804476pgn.268.2018.05.23.12.00.19; Wed, 23 May 2018 12:00:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934182AbeEWS7t (ORCPT + 99 others); Wed, 23 May 2018 14:59:49 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:35405 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934067AbeEWS7r (ORCPT ); Wed, 23 May 2018 14:59:47 -0400 Received: by mail-yb0-f193.google.com with SMTP id y3-v6so3865406ybb.2; Wed, 23 May 2018 11:59:46 -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:content-transfer-encoding :in-reply-to:user-agent; bh=X2mSG49blCA08azjsuuZRCU0I8b0LwvUcXCG7zHkbiw=; b=IBx/wSyFoJ048TRHCq7j5k2jq2bacPAnVZ4UQ/4sfrP4P3UMgvnyZ3+duOdBQL+Uuv pZPaAjwDfwuPppcnRhKQxQ0ZVJf6rKPJavwCPXaaV2qZpN++E50HCA4oAv4rNJv0z9Rd WlYQ+vht3m0ZKD87/elTXGLPKle2sgd/TfsCTZvewUhHY2ZJ+n965ZDYSLt2LmjGN08d YOfnQ2FJWJpCwolpE2epmOBTH1GT5mYEygchIYF9utwyZhkrfCVYMZDEkOeD9PBAF2Ic K9C/d6rI/b5HH/SmNf0acPWTlqmAgQ/9OnTBd+Yj/Crt+GCuwGp8bAkdBxLv+u0+R1aO KDaA== X-Gm-Message-State: ALKqPweY66PuGdlSX8hkuVuBKtiMMJOM2wxPA9L/tl/MFp4W4hRtuJfM uIvXv6+Sqs02u2wf+fW+yCnW6Tst4g== X-Received: by 2002:a25:a3e2:: with SMTP id e89-v6mr2369243ybi.224.1527101986226; Wed, 23 May 2018 11:59:46 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id p123-v6sm8495896ywg.31.2018.05.23.11.59.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 11:59:45 -0700 (PDT) Date: Wed, 23 May 2018 13:59:44 -0500 From: Rob Herring To: Ray Jui Cc: Robin Murphy , Wim Van Sebroeck , Guenter Roeck , Mark Rutland , Frank Rowand , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/5] Documentation: DT: Add optional 'timeout-sec' property for sp805 Message-ID: <20180523185944.GA9989@rob-hp-laptop> References: <1527014840-21236-1-git-send-email-ray.jui@broadcom.com> <1527014840-21236-2-git-send-email-ray.jui@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 23, 2018 at 09:25:49AM -0700, Ray Jui wrote: > > > On 5/23/2018 3:57 AM, Robin Murphy wrote: > > On 22/05/18 19:47, Ray Jui wrote: > > > Update the SP805 binding document to add optional 'timeout-sec' > > > devicetree property > > > > > > Signed-off-by: Ray Jui > > > Reviewed-by: Scott Branden > > > --- > > > ? Documentation/devicetree/bindings/watchdog/sp805-wdt.txt | 2 ++ > > > ? 1 file changed, 2 insertions(+) > > > > > > diff --git > > > a/Documentation/devicetree/bindings/watchdog/sp805-wdt.txt > > > b/Documentation/devicetree/bindings/watchdog/sp805-wdt.txt > > > index edc4f0e..f898a86 100644 > > > --- a/Documentation/devicetree/bindings/watchdog/sp805-wdt.txt > > > +++ b/Documentation/devicetree/bindings/watchdog/sp805-wdt.txt > > > @@ -19,6 +19,8 @@ Required properties: > > > ? Optional properties: > > > ? - interrupts : Should specify WDT interrupt number. > > > +- timeout-sec : Should specify default WDT timeout in seconds. If > > > unset, the > > > +??????????????? default timeout is 30 seconds > > > > According to the SP805 TRM, the default interval is dependent on the > > rate of WDOGCLK, but would typically be a lot longer than that :/ > > > > On a related note, anyone have any idea why we seem to have two subtly > > different SP805 bindings defined? Sigh. > Interesting, I did not even know that until you pointed this out (and it's > funny that I found that I actually reviewed arm,sp805.txt internally in > Broadcom code review). > > It looks like one was done by Bhupesh Sharma (sp805-wdt.txt) and the other > was done by Anup Patel (arm,sp805.txt). Both were merged at the same time > around March 20, 2016: 915c56bc01d6. I'd assume both were sent out at around > the same time. > > It sounds like we should definitely remove one of them. Given that > sp805-wdt.txt appears to have more detailed descriptions on the use of the > clocks, should we remove arm,sp805.txt? Take whichever text you like, but I prefer filenames using the compatible string and the correct string is 'arm,sp805' because '-wdt' is redundant. You can probably safely just update all the dts files with 'arm,sp805' and just remove 'arm,sp805-wdt' because it is not actually used (as the ID registers are). Rob