Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1049520imm; Wed, 23 May 2018 09:27:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpt9IcelQuczru3VtrKij+Nu3Cd29ZFqrCKEQfZIz3nqy1MK7rwiTCNsXjQAYcjKXZyKjg3 X-Received: by 2002:a17:902:bd0a:: with SMTP id p10-v6mr3674928pls.69.1527092865413; Wed, 23 May 2018 09:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527092865; cv=none; d=google.com; s=arc-20160816; b=MNM/UmUyth2nDISKX3QoS0mNhlUlG3Yl0m7fuMxA1+QaK/i3kpe8heAfJxfzazfngj PDJd2wzdnH2Mey8SbThWG5sVfzTBGDC/yUgVFNse5u0UmpDE+aWbVUmsSadHsjQEHwKw 2nRhuniNB8BrvDK0KFaHCOWVHNgKbiDuYxK6k6T186ShftMgMyqs1lPsTR0BFYRAvfqD kfFewwPjjGFDsFp2uym3u3LfK4+ycMHrJYoIybf/i7ti2lIQGAxbQrrVHMrwiqedK1GU i1k+lKRbUge2dxf7+v/uTgNYkBNUPMLl4LMFo0z88QpqeqAfoeKLQitZ37CpnVOaXPW1 uDLg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=5rs5tr7tjE9nutRJVRaBAtqWdsKIgFs2L0994sNyE20=; b=GEKBjtOHYph+zdroHjDDyV+jFIrOgjdBxAG4iHtHqfDLPnR/QuJlyQQDJ0XtDTNSoG g6iT1ooOLRYx8WVtyIyj8btyQUpwvDna/aAf81Iu3SdR7owJQ07w5mfND78ScBf5T+zW F4X/K8anUIq6g58hyV8BbIS3JZgWmklpwEK1VEAXYffvKdiQ9gZPGI694DMAWHJE/QDC /y8w+gIeHxhE1S+xC829sfVPBvxZBV8BIl1DpjUeLE7NfhfLRl25DXljf0+6gTxEy5xW sQ7lAosnk3ZPhkw0Hsbc+bXTnu0JwPKbvkm+9MtPja91apgGi5VIPEoAEH/ihgCCAqzR oOEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=SXeUE0hB; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6-v6si18331867plo.542.2018.05.23.09.27.30; Wed, 23 May 2018 09:27:45 -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=@broadcom.com header.s=google header.b=SXeUE0hB; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754754AbeEWQZ6 (ORCPT + 99 others); Wed, 23 May 2018 12:25:58 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:32988 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754649AbeEWQZz (ORCPT ); Wed, 23 May 2018 12:25:55 -0400 Received: by mail-qt0-f195.google.com with SMTP id e8-v6so28853761qth.0 for ; Wed, 23 May 2018 09:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5rs5tr7tjE9nutRJVRaBAtqWdsKIgFs2L0994sNyE20=; b=SXeUE0hBEr1IUOM9yCOgGXtsFad5dPbvUN10mLoULfCauKijs32k//Mls8KNXXLyBE khraUICGu/U4XEiANwWkvPrpXADj5Atd/JUqcy2luSVyJcdD1RNE+kSInRiJTNYvZm+f hXDPo7mP529wMssFJ3L8EVR0hVW/QT767d+EU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5rs5tr7tjE9nutRJVRaBAtqWdsKIgFs2L0994sNyE20=; b=TF/+ZfDizn1ni9hXVmko2VA+ZN6Cp6FvSsxMw9v6Lg/stTV1F4bQH2ExkVBFKW7qJW f1lQ5gjcrvPRBP3FD85KJeEiHpxqWLEEM/WDPWO8y4SRFUMcbDQ1hRwroVw8U4Stp3GI UeoTJBHPsk7lc/l0Uew0+sCxcxdZjHk9mdIfx7lrKZNXg/VMh3uhDDd8RQN+7ivVe97A dxFMTEc8yTCMX8BVzPBpU2ICrFo3BPypk/HwrYjzmrclIYiw7YBL00cQSUncEhBrkaGO LnlBtUjtIj2PlOQTuY+YTD7h580s1LUVSLgDW6jF86xQ94LsUI6ZflTQCjZaDclcExmF u5QQ== X-Gm-Message-State: ALKqPwf71VPHZllCPgBVrWRLc/7cTuOTJY5PJrwKaRZnt3qbcZ6jQjPE 71Ys8eZZNUNhJm0ZzUBQui+mxA== X-Received: by 2002:a0c:87a3:: with SMTP id 32-v6mr3261951qvj.171.1527092754287; Wed, 23 May 2018 09:25:54 -0700 (PDT) Received: from [10.136.50.116] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id f67-v6sm13796545qkb.77.2018.05.23.09.25.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 09:25:53 -0700 (PDT) Subject: Re: [PATCH 1/5] Documentation: DT: Add optional 'timeout-sec' property for sp805 To: Robin Murphy , Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Frank Rowand , Catalin Marinas , Will Deacon Cc: 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 References: <1527014840-21236-1-git-send-email-ray.jui@broadcom.com> <1527014840-21236-2-git-send-email-ray.jui@broadcom.com> From: Ray Jui Message-ID: Date: Wed, 23 May 2018 09:25:49 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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? Thanks, Ray > > Robin. > >>   Examples: >>