Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1233222imm; Wed, 23 May 2018 12:30:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrBosVVE1xOz1/+rCP2UDyb69s2oF4UW78xslYd3b1DHEodcjhUuWfIMlqsHXWHSLCx0ehd X-Received: by 2002:a17:902:1029:: with SMTP id b38-v6mr4168861pla.277.1527103821754; Wed, 23 May 2018 12:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527103821; cv=none; d=google.com; s=arc-20160816; b=wVVbyWZqPmdycxyjQRYzFj/WGMFf/Dc90T5oVjS0eC/UsN3EM/YZYOPTsbTPFhFkKH HtxCHvLVETVvn+aeJxgP62SpNtOSjndPPHc/vIdcmWj55Sxxv3xtuS6JNY3hNCRESPwU 9rcOdvU3Avw2YmMOeJcPgNaJdkF+0i0a5Cnc/ttcHXHw1LtfX/VlvLzhPeq/99VOHmTd wHBa8MCXRy42W67cSeob7oo+HMpvTwnv/ilcnAQdBNjMwp5vK6T6uoGGq9llM9XcubYF XBMNftqNquLNrap1yHxXi6v8qLJk6GyLv9GPAEV2pVVKCHNiKXx0iee0nTdXA3FcssyT pxRA== 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=bY0I7xlmJffCy7Ha3DPKbwAPPF8uRvAtWCqyLJsT+4g=; b=jCxKGksAxS0LwZqiKnMNyA48GmaFxSy5+a9Oq5t2oVc8O0UM23rK0ifsp8PLJpHuJ4 UHdOz41T8Ef+1+HHLZhbCMfWuo7j1PgRAmXAL9CsNz46ToyGCisBY52FPXGqiEWHm+6o zCRhM6e07VnD47FCtvhBmLD8x7n/5+53DD+Qapb7qs7YK2pfrXbqJy1tMUBtxeYuImDm SjHTYKo+zXFnXqxhn9xlf4Bh03Lt4J75MTSmK4U6W1WpMU48EnllPKEianFlIUHWKcQW COz5CdKNr68334ZzvV3CH7GhWPUtcvaA5X5xwLeUXemlEHz0c7gXOvZRCqaXgM518BKT 4vVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=K+XgKxA3; 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 b9-v6si10197818plk.111.2018.05.23.12.30.05; Wed, 23 May 2018 12:30:21 -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=K+XgKxA3; 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 S934655AbeEWTaA (ORCPT + 99 others); Wed, 23 May 2018 15:30:00 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:45207 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934492AbeEWT34 (ORCPT ); Wed, 23 May 2018 15:29:56 -0400 Received: by mail-qt0-f195.google.com with SMTP id j42-v6so29581953qtj.12 for ; Wed, 23 May 2018 12:29:55 -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=bY0I7xlmJffCy7Ha3DPKbwAPPF8uRvAtWCqyLJsT+4g=; b=K+XgKxA3Xow0YSYaYMk/1cKD9rLbZtQorQwyb1xPlPVVUoBFZs7r6xyQgDTkCYDXBm R0zUFXiYniOv2InYCFSRd8mG3FKJe76ExdSbl0VWZSfUWzEOAMAA9xx2m0memSENifpe ciIO7ReC0bI90h1BgIgt0d2293TythaO+EC+M= 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=bY0I7xlmJffCy7Ha3DPKbwAPPF8uRvAtWCqyLJsT+4g=; b=e98JsQqiZcASvFGBntAHciZ48X6V09dwGJv2GX4w2tTFSZMEeHbm3ek6NNzPa71IJL +pIaBRG2IxtVbguDhyDTirqADIrQErXlyxuhSFFmiziIUV7YJy9/qMcH0jTUdNn0nOUs qtTb8SLDMP3gxMd/g9vtSuDxEf3ijO4rIlEnGF3WpNG22OV0enSPZTeQwtFV76xIibdk MoODNk4zVuc8aXMJv3WfvdnarYxrjY31GAEVYgqMtNaSHg97803BWm6sjUZ9NP4gMYB7 2f2gAY9eO+koidmkrP1hzmlJKNWJTadkQJXIxFuye049zzRM9ZkBF/KeflWSSOFKJFZR plZQ== X-Gm-Message-State: ALKqPwcEd7sCOaYRwE1LgG/3ihh1RGBFcYuzNr84z2Q1zMUtmWLgvPDX Yw7iMl4TnfNIALP5DyvKcM25Kg== X-Received: by 2002:a0c:bd99:: with SMTP id n25-v6mr3889267qvg.137.1527103795290; Wed, 23 May 2018 12:29:55 -0700 (PDT) Received: from [10.136.50.116] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id n79-v6sm80922qkn.84.2018.05.23.12.29.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 12:29:54 -0700 (PDT) Subject: Re: [PATCH 1/5] Documentation: DT: Add optional 'timeout-sec' property for sp805 To: Rob Herring 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 References: <1527014840-21236-1-git-send-email-ray.jui@broadcom.com> <1527014840-21236-2-git-send-email-ray.jui@broadcom.com> <20180523185944.GA9989@rob-hp-laptop> From: Ray Jui Message-ID: <4b0ec4ab-2d9e-1e4b-e294-c175805f4013@broadcom.com> Date: Wed, 23 May 2018 12:29:50 -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: <20180523185944.GA9989@rob-hp-laptop> 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 11:59 AM, Rob Herring wrote: > 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). Okay. I'll consolidate everything into arm,sp805.txt. Will also fix all DTS files to use "arm,sp805". The fix for actual DTS files will be in a different patch series. > > Rob >