Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4835500pxu; Wed, 21 Oct 2020 06:36:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzhKpeBk8F8xw0oPE99QA9/WOM/L8lmVeCIzvEllABp9datmvODeoDfiTvDa1T73+jk12G X-Received: by 2002:a05:6402:1691:: with SMTP id a17mr3039708edv.264.1603287405287; Wed, 21 Oct 2020 06:36:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603287405; cv=none; d=google.com; s=arc-20160816; b=wK5IleuICCVojgkTw6344XZHR5NLvpj8grbAUTuW/JpQu1XnqAjidB/5kY7Pk1bl+A voLUR6s8zrAYoNNDlifD7yqZq3r4y9vc6qmqNXYet7WAnoEj2LoamXRiQ9nXjx+WhTFr tdDGkef6ADfL7GTK7povIpF5Hi5lcrmePc7XtGxXEjsjGO+iUdTqQGDqIVoAxdW3jsQS fy3S9cIFIbXRwG5CpM4EFTUdRCuERjTXFqsFa9e363mapzfrUTgAYY+IU/FDt0/atVng ecSP5yYns6Cjqwms/a6AGVqY0ATgzO3G2I6fixKxPbaeSJPmyAep8pyAqKFBjKIE5gfz a8gQ== 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=z1ROSdysWAJRA35AhGES/43NRpXVq6YDaJOz7zl7nL8=; b=fhB6OHDwXFAa5TnDysGty5Z5IJj02GJZlQwUQdmThQRMfzYnouitc/NkEatEXqqkh2 RHGpvs5j0Ne8tMZ6VE3MfYtTYJBTG/WAKzqmlp1CfjS72x1A9RTznvEeqfCg+xFUZQiA 95Ku0IvFVaoFf9rmAS6AXq+zIVv/1n6o/Y1vyegvvn7v6EhSpp7GNrzdhOCJGft2R1Cb hx6URmuGFWimbW+i3OHicFBicfiLK5jzAFn7gqeTGnJEkqE77ql+op0RgC4mVZrF+III kU+Co/uSfqU61kLQNSTbWOTEcinzmLQvSOh5Rs1W7tMWFIRIbNUQ6gVJKVXRVn4Rk5na cB3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="w9jC/C5o"; 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 e4si1353248edv.228.2020.10.21.06.36.23; Wed, 21 Oct 2020 06:36:45 -0700 (PDT) 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="w9jC/C5o"; 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 S2439034AbgJUKul (ORCPT + 99 others); Wed, 21 Oct 2020 06:50:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439018AbgJUKul (ORCPT ); Wed, 21 Oct 2020 06:50:41 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 002A7C0613D4 for ; Wed, 21 Oct 2020 03:50:40 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id t18so1034964plo.1 for ; Wed, 21 Oct 2020 03:50:40 -0700 (PDT) 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=z1ROSdysWAJRA35AhGES/43NRpXVq6YDaJOz7zl7nL8=; b=w9jC/C5ogypGG2B4CHyrIKLiagWGjJugRQu6KmvufLSpIJmf6uviAuPsQimJcsygWy aO2hQ/4vFZjPo/PXF0CCYPQ5lxPB6DlokTEK4DWWokxVd43Fak9M3m1kaEHOxNB5ID1U 017H9CQfaQ2gmp4maSOT/Rkq7peo9+QycbvGsmxkmrrRPmDgb3XJt/4NK0ub0lP4MwKk rO+ZRJmZTKAEpDaIBJyNviGP7cxH/ZjFO5Xe2aoCjUAFWIxeZCXFzy40LTiXyFgpBuMj fYs5i2W0ECR/j/Agl43miVh2mhxycJZkd6vTVyMk8VBxvFW4hVtulqK1KMJ5UJE+Xj2P K5/w== 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=z1ROSdysWAJRA35AhGES/43NRpXVq6YDaJOz7zl7nL8=; b=W1CJSnnn+AKTCHAUEh/ro8kHPh1lP5etc6fevTfG2oiM88sFI1QRc9rFPg3KDJPUKM K/QKhBJYBKdbfw25rFhMg/fZseJ3P2TdRKazNDGvV8zVFviXn76YLEgTdX7Asm6oV0MW ASLpayy9GWQ9XyC+hyxeX4rZOdfu0jBV0a4jeXR/0ihZOEU34m/Zq7UYDx9C1yhsUDYo HIcuUuZQOyLbcUmckpa5yt3QU20aLdGmYAJx3jt/ukeOP7sYhUaPUAaqMmG1XCwqZ9qE N+al3YF27BxX2XVfsZN9GlwsgCqdU7OaX7usH5Ty85gdw2cNcboLtxPLYaql3JYs9FL3 nArg== X-Gm-Message-State: AOAM532U7LmeNoB5Qlt8gCbH0L0p2ghKHUYc2BJARc0niXWC5nfwJ/x3 USm8Voe8JwYDaPrtai2HGnxGhQ== X-Received: by 2002:a17:902:d896:b029:d2:288e:bafc with SMTP id b22-20020a170902d896b02900d2288ebafcmr3097921plz.43.1603277440281; Wed, 21 Oct 2020 03:50:40 -0700 (PDT) Received: from localhost ([122.181.54.133]) by smtp.gmail.com with ESMTPSA id e21sm2018906pfl.22.2020.10.21.03.50.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Oct 2020 03:50:39 -0700 (PDT) Date: Wed, 21 Oct 2020 16:20:37 +0530 From: Viresh Kumar To: Manivannan Sadhasivam Cc: Hector Yuan , rjw@rjwysocki.net, robh+dt@kernel.org, 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: <20201021105037.vrqgmvbxxhccch33@vireshk-i7> References: <20201020153944.18047-1-manivannan.sadhasivam@linaro.org> <1603247803.20224.5.camel@mtkswgap22> <20201021095916.GA3334@Mani-XPS-13-9360> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201021095916.GA3334@Mani-XPS-13-9360> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > > > > > + $ref: '/schemas/types.yaml#/definitions/phandle-array' > > > + description: | > > > + CPUs supporting freq-domain must set their "qcom,freq-domain" property > > > + with phandle to a cpufreq_hw node followed by the Domain ID(0/1). > > > + > > > rockchip,pmu: > > > $ref: '/schemas/types.yaml#/definitions/phandle' > > > description: | > > -- viresh