Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3044941imm; Sun, 1 Jul 2018 10:59:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdY8Z/ZZT0QMTte3Yfyu0KdX3VmdqJKxDkRvmgYIRYK7OwpSdyzevI9Yd2TFnNKX5wAjzxc X-Received: by 2002:a65:520d:: with SMTP id o13-v6mr7918702pgp.282.1530467955426; Sun, 01 Jul 2018 10:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530467955; cv=none; d=google.com; s=arc-20160816; b=hhs4fF+pP3hJamf8T+XqgL2eteHeNsjiuE+8QkMlPIh2M+bzyNdFnQxar6j1vqS0Dg ybkeq2TIjHqdQWFQLY5FmSUuYlGvHw68u+GKI4AEvR6o0teD090S05u7LvlYGlCZBp9m xEMvOufK+u8dUrMTLu4SHrBkvOtamjAI3vamAfF6/iaRJ7TcY3JQobqn3QgKmhtOrzSn Y6SMQaT/Hmba/v8jJb8rv930Nt/iqAtlAsOORSlugRVidBmbXEpaQ5Yt1earwvisJ/nD CsSIdMPia8PpTEVEc905itippjrnYlKSIW3avILKxxr3XxhbXJd2FyOgJ8HqcUz5slt3 j3dg== 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:organization:autocrypt:openpgp:from:references:cc:to :subject:arc-authentication-results; bh=sEAJJ0VbqbR6E4uYn/52f1Aiwr4/LSH8Wp7yFOcLA7k=; b=zgUr/3aFb7DYD1LrSMhJVl8/RL+FrMof4Jt9ud+q4hv3/ltqORoMJpB7JT3sYVu6Lw 14Lmxpx21suFFGTd+WgPhDqlgr/3Al4bRNxr9mOsmTnNFIokUaF8Pk8A1yioAu8X/wb9 6QJuLAB/Wo0b7kbwbtvkCp9CW1/+CcIYJWhbN+2KCDgmerOnrgWMYP6G/u+scoKCvNMt OjDRQscU+QoipKS46h5v6Eh8swDt6H66PcPSEOS22KX849BVEWngJMGi13IKRSwBTzWl uTWyZ1PQZb2kDYji97ed3XeelMDBZQAahqPiCkJSqvYecKN56j9Q4mKKDSp5jenB6uB5 D9QA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e95-v6si14622261plb.239.2018.07.01.10.59.01; Sun, 01 Jul 2018 10:59:15 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030500AbeGAR6Y (ORCPT + 99 others); Sun, 1 Jul 2018 13:58:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:36400 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753608AbeGAR6T (ORCPT ); Sun, 1 Jul 2018 13:58:19 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 777ECACCA; Sun, 1 Jul 2018 17:58:17 +0000 (UTC) Subject: Re: [PATCH v2 3/3] dt-bindings: clock: Modify Actions Soc clock bindings To: Manivannan Sadhasivam , Saravanan Sekar Cc: sboyd@kernel.org, pn@denx.de, linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, devicetree@vger.kernel.org, Jeff Chen , "Thomas C. Liau" References: <20180626192820.28237-3-sravanhome@gmail.com> <20180628191805.3722-1-sravanhome@gmail.com> <20180628191805.3722-4-sravanhome@gmail.com> <20180630093202.GB7320@Mani-XPS-13-9360> <15070ea0-aebf-2b7d-89f0-b21e729c927e@gmail.com> <20180701173706.GA15895@Mani-XPS-13-9360> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Openpgp: preference=signencrypt Autocrypt: addr=afaerber@suse.de; prefer-encrypt=mutual; keydata= xsFNBE6W6ZQBEAC/BIukDnkVenIkK9O14UucicBIVvRB5WSMHC23msS+R2h915mW7/vXfn+V 0nrr5ECmEg/5OjujKf0x/uhJYrsxcp45nDyYCk+RYoOJmGzzUFya1GvT/c04coZ8VmgFUWGE vCfhHJro85dZUL99IoLP21VXEVlCPyIngSstikeuf14SY17LPTN1aIpGQDI2Qt8HHY1zOVWv iz53aiFLFeIVhQlBmOABH2Ifr2M9loRC9yOyGcE2GhlzgyHGlQxEVGFn/QptX6iYbtaTBTU0 c72rpmbe1Nec6hWuzSwu2uE8lF+HYcYi+22ml1XBHNMBeAdSEbSfDbwc///8QKtckUzbDvME S8j4KuqQhwvYkSg7dV9rs53WmjO2Wd4eygkC3tBhPM5s38/6CVGl3ABiWJs3kB08asUNy8Wk juusU/nRJbXDzxu1d+hv0d+s5NOBy/5+7Pa6HeyBnh1tUmCs5/f1D/cJnuzzYwAmZTHFUsfQ ygGBRRKpAVu0VxCFNPSYKW0ULi5eZV6bcj+NAhtafGsWcv8WPFXgVE8s2YU38D1VtlBvCo5/ 0MPtQORqAQ/Itag1EHHtnfuK3MBtA0fNxQbb2jha+/oMAi5hKpmB/zAlFoRtYHwjFPFldHfv Iljpe1S0rDASaF9NsQPfUBEm7dA5UUkyvvi00HZ3e7/uyBGb0QARAQABzSJBbmRyZWFzIEbD pHJiZXIgPGFmYWVyYmVyQHN1c2UuZGU+wsF7BBMBAgAlAhsDBgsJCAcDAgYVCAIJCgsEFgID AQIeAQIXgAUCTqGJnQIZ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linux GmbH Message-ID: <88ce01d4-2694-eca0-770e-d4bd2869a258@suse.de> Date: Sun, 1 Jul 2018 19:58:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180701173706.GA15895@Mani-XPS-13-9360> Content-Type: text/plain; charset=utf-8 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 Hi, Am 01.07.2018 um 19:37 schrieb Manivannan Sadhasivam: > On Sun, Jul 01, 2018 at 07:26:20PM +0200, Saravanan Sekar wrote: >> Hi Mani >> >> >> On 06/30/18 11:32, Manivannan Sadhasivam wrote: >>> Hi Saravanan, >>> >>> I agree with modifying the existing binding to accomodate other >>> SoC's of the same family. But the binding should be >>> "actions,owl-cmu.txt" since it reflects the family name. >> >> Agree, will modify the name >> >>> Andreas, what do you think? I concur that sx00 is insufficient. Older models were called ATMxxxx. Unfortunately with owl- it then no longer matches the compatible, but I wouldn't mind. >>> On Thu, Jun 28, 2018 at 09:18:05PM +0200, Saravanan Sekar wrote: >>>> Modify clock bindings common Actions Semi Soc family S700/S900. >>>> >>>> Signed-off-by: Parthiban Nallathambi >>>> Signed-off-by: Saravanan Sekar >>>> --- >>>> ...tions,s900-cmu.txt => actions,sx00-cmu.txt} | 18 ++++++++++-------- >>>> 1 file changed, 10 insertions(+), 8 deletions(-) >>>> rename Documentation/devicetree/bindings/clock/{actions,s900-cmu.txt => actions,sx00-cmu.txt} (71%) >>>> >>>> diff --git a/Documentation/devicetree/bindings/clock/actions,s900-cmu.txt b/Documentation/devicetree/bindings/clock/actions,sx00-cmu.txt >>>> similarity index 71% >>>> rename from Documentation/devicetree/bindings/clock/actions,s900-cmu.txt >>>> rename to Documentation/devicetree/bindings/clock/actions,sx00-cmu.txt >>>> index 93e4fb827cd6..8dc7edb4d198 100644 >>>> --- a/Documentation/devicetree/bindings/clock/actions,s900-cmu.txt >>>> +++ b/Documentation/devicetree/bindings/clock/actions,sx00-cmu.txt >>>> @@ -1,12 +1,14 @@ >>>> -* Actions S900 Clock Management Unit (CMU) >>>> +* Actions S900/S700 Clock Management Unit (CMU) >>> Same as above. Should be Actions OWL SoC's Clock Management Unit (CMU). >> >> sure >> > > During the review of I2C controller driver, Andreas pointed out that > we should use Owl instead of OWL in all places and also Actions should > be replaced by Actions Semiconductor. Actually I was just asking to include the company name and not just say Owl. Whether it's Actions, Actions Semi or Actions Semiconductor is not that important to me - that would be for the Actions Semi colleagues to comment - which I see are not in CC... Please fix that! You don't need mp-cs I think, but the others please. > So, please change it in relevant > places. For this binding, title should be: > > Actions Semiconductor Owl SoC's Clock Management Unit (CMU). "SoC's" looks weird there, do we have such precedence to add it? "Actions Owl Clock Management Unit (CMU)" might do? Saravanan, please compare other patch titles and adapt your subjects accordingly: "modify bindings" is not very meaningful, since a patch always modifies something and the prefix already indicates dt-bindings as target. "Soc" is misspelled. The time-saving information to put there would be addition of S700. >>>> -The Actions S900 clock management unit generates and supplies clock to various >>>> -controllers within the SoC. The clock binding described here is applicable to >>>> -S900 SoC. >>>> +The Actions S900/S700 clock management unit generates and supplies clock to >>>> +various controllers within the SoC. The clock binding described here is >>>> +applicable to S900/S700 SoC. "S900 and S700 SoCs"? (keep the slash above) >>>> Required Properties: >>>> -- compatible: should be "actions,s900-cmu" >>>> +- compatible: should be one of this >>> Change to: compatible: should be one of the following: >> >> sure >> >>> Thanks, >>> Mani >>> >>>> + "actions,s900-cmu" >>>> + "actions,s700-cmu" Mani, should we order alphabetically? I.e., will S500 go before S900, or will people just always append at the end now? Not saying we have to, but keeping it consistent across Actions bindings would be desirable. >>>> - reg: physical base address of the controller and length of memory mapped >>>> region. >>>> - clocks: Reference to the parent clocks ("hosc", "losc") >>>> @@ -15,9 +17,9 @@ Required Properties: >>>> Each clock is assigned an identifier, and client nodes can use this identifier >>>> to specify the clock which they consume. >>>> -All available clocks are defined as preprocessor macros in >>>> -dt-bindings/clock/actions,s900-cmu.h header and can be used in device >>>> -tree sources. >>>> +All available clocks are defined as preprocessor macros in corresponding >>>> +dt-bindings/clock/actions,s900-cmu.h or s700-cmu.h header and can be used in actions,s700-cmu.h for humans please or at least ...,s700-cmu.h. >>>> +device tree sources. >>>> External clocks: Thanks, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)