Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3270179pxu; Tue, 8 Dec 2020 07:48:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9Xr+JOMHvPrkJskNJ6lkaS9lowut/uJpw7zEPw+26vWOGTlh6a0PeT/0luykUPFlzbOOj X-Received: by 2002:aa7:db56:: with SMTP id n22mr25903444edt.4.1607442526161; Tue, 08 Dec 2020 07:48:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607442526; cv=none; d=google.com; s=arc-20160816; b=XwAzbM+cJqyoXMz1fuIPGHOdnk2x2EmsOpAb3oEGkZA0aPQA7NkUOwh44qbiukm8YV aqUsBSIqlpTbwtNbmoEFaFHdueOC5qeeU8u/vYNAzbFTc0Jgu+dvYCwsRmtAiA+IFCka fgwjCVOyPVnQmYVZHeek8Hty2qXsjz7atwrr9KzY3bsARrTEOnQRXG25BfFO4bHj6N8E wq2woQ9O4cV5ANMMT7qft0GT+1tEXJdnjsy6RFljiQNQLDttmcSf8gQzl1lszUgFlbyJ jtceiAFVlh78xQbp3J84CYOqBx+JJLZ+CK3RKNUqd1q8C3dxfJsIWpYkgaDPql9rqXRm 4J7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=1uYwNMg3VaPCTPb4giCP6mlC6goqoTuQxz4+TJa6DII=; b=DjMhKWDLyWQROLa6NakHwAJa+aaX5bisZ5LpWPGzPZNvowmiJriyFwsquLBqxfb2/0 kJupeW8ywqoVz4XFrxUU6soHOwxPQNJoB2grJsZgHImRiidih9oCIOKGU6CaAnENNFiJ 6m3VSpTaS8zZ8geZF6JnwSPm8KiTUPEThGiVCCSABvZFLx5GIbG/HGQ05MSbbpAPBkYb N7JfOMntTJus+xesywJFLZ1n0N0u6HCTJM8bgwcCWq17c8DcFNNdfGdOblNHU7EseTJQ z0rdKuA868MsZoWECAAvk76Tq7wHG2ntWylMO+OMtK+hwpwjPXcRo1oVXhqneKSE2Hkg 6qjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LZ3rU7bT; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e16si8509648eja.462.2020.12.08.07.48.21; Tue, 08 Dec 2020 07:48:46 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=LZ3rU7bT; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730129AbgLHPoe (ORCPT + 99 others); Tue, 8 Dec 2020 10:44:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729558AbgLHPod (ORCPT ); Tue, 8 Dec 2020 10:44:33 -0500 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 901A0C061794 for ; Tue, 8 Dec 2020 07:43:53 -0800 (PST) Received: by mail-pg1-x544.google.com with SMTP id f17so12496764pge.6 for ; Tue, 08 Dec 2020 07:43:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1uYwNMg3VaPCTPb4giCP6mlC6goqoTuQxz4+TJa6DII=; b=LZ3rU7bT0SNeAFj110ey/Y+6g/QerjpNhZJ/9hoM3vGiWPRIaBgRkxe/FLiICQqV0O KsuE0exXVbrKZeXb+wBnbsipG71kxWQLmZpzSGgG5Q7EHf5okhA+dFTuGL54SOMAzGgh 4fo9KN1rYTjYRHEN0JLLz058EHB2Wvi0DNjmKruw/kWIaZXHH15P5aqq6vE3XPIikfOi +btvbAbFFQeXV+AxBR34XKbpbmbMRp36aPyN8bc3uGOoLSO6jpBcBvOmyPP78iT8rqew 5qsAg/oDFSKzudPW20rWdtiuAjTAV/hre48i0piUwgLz+fqyFl3WaV4jUvtYHuCIomRd 2fKw== 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:user-agent; bh=1uYwNMg3VaPCTPb4giCP6mlC6goqoTuQxz4+TJa6DII=; b=mvOCG8TqVMuWw5SGmbdkWWLrd2g69o79WPRRXljxN/wVuaG/BF1d6Vbgx1imNHP7LD G0aEtDFOuczK1An2MC+n/ZF7ay4vcRJNTbgDkcfheo7B3L6anFsMD0VChN4iodpl0c+5 Afpmay6NVcK9J73MsYF2zmRrXInd69vRRaek5VHwCgw5E1h57P9cRU0LUkDK49Q0Tl/G yXekOpuGf8bP/LEBFj8c0LIYgs/uvJG3wfP400wChISap09mt56xK44rdKtjdbXsYdQW gtwAOXD74OYA5f2bHbtUndTdfIelTpxi0A76BDjEp2UrNSvtA3v2yvKNBx6K+WAaSZ3k GT/g== X-Gm-Message-State: AOAM5325XRZjs2LfI7MZBH8K6pNFjzJFLSKQ08k7nnk97SXYYQXwtLYM 5ZY8neWPECkqdRxB9uscSS+D X-Received: by 2002:a17:90a:902:: with SMTP id n2mr4823317pjn.126.1607442232989; Tue, 08 Dec 2020 07:43:52 -0800 (PST) Received: from work ([103.59.133.81]) by smtp.gmail.com with ESMTPSA id y15sm3744383pju.13.2020.12.08.07.43.49 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Dec 2020 07:43:52 -0800 (PST) Date: Tue, 8 Dec 2020 21:13:46 +0530 From: Manivannan Sadhasivam To: Rob Herring Cc: Viresh Kumar , Hector Yuan , rjw@rjwysocki.net, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v3 1/2] dt-bindings: arm: cpus: Document 'qcom,freq-domain' property Message-ID: <20201208154346.GD9925@work> References: <20201020153944.18047-1-manivannan.sadhasivam@linaro.org> <1603247803.20224.5.camel@mtkswgap22> <20201021095916.GA3334@Mani-XPS-13-9360> <20201021105037.vrqgmvbxxhccch33@vireshk-i7> <20201028154637.GB4065833@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201028154637.GB4065833@bogus> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 28, 2020 at 10:46:37AM -0500, Rob Herring wrote: > On Wed, Oct 21, 2020 at 04:20:37PM +0530, Viresh Kumar wrote: > > On 21-10-20, 15:29, Manivannan Sadhasivam wrote: > > > Hi, > > > > > > On Wed, Oct 21, 2020 at 10:36:43AM +0800, Hector Yuan wrote: > > > > Hi, Manivannan > > > > > > > > On Tue, 2020-10-20 at 21:09 +0530, Manivannan Sadhasivam wrote: > > > > > Add devicetree documentation for 'qcom,freq-domain' property specific > > > > > to Qualcomm CPUs. This property is used to reference the CPUFREQ node > > > > > along with Domain ID (0/1). > > > > > > > > > > Signed-off-by: Manivannan Sadhasivam > > > > > --- > > > > > Documentation/devicetree/bindings/arm/cpus.yaml | 6 ++++++ > > > > > 1 file changed, 6 insertions(+) > > > > > > > > > > diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml > > > > > index 1222bf1831fa..f40564bf004f 100644 > > > > > --- a/Documentation/devicetree/bindings/arm/cpus.yaml > > > > > +++ b/Documentation/devicetree/bindings/arm/cpus.yaml > > > > > @@ -290,6 +290,12 @@ properties: > > > > > > > > > > * arm/msm/qcom,kpss-acc.txt > > > > > > > > > > + qcom,freq-domain: > > > > Do you mind to change "qcom, freq-domain" to common naming? or drop the > > > > prefix. So that we can use this CPU node and map it to each freq-domain. > > > > Thanks a lot. > > > > > > I can do that but did the domain value match for other platforms as well? > > > > I am not sure if you can. The code needs to be backward compatible so it can > > support all devices shipped with older bootloaders and latest kernels. And so > > changing the bindings isn't a good idea normally. > > It can be done. We'd need to do the following: > > - schema defines the common property/binding. > - The kernel supports both names and that is backported to stable. > - Update all the Qcom dts files to the new binding > > Whether we actually do that or not, I'd like to keep the option open. > Aligning the current proposals should be possible. My concern is more > about what's the next addition and non-cpu device support. > In the meantime can we get this series merged? Thanks, Mani > Rob