Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3410228imm; Mon, 8 Oct 2018 03:39:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV61GT6DguBlr4jDRAsN/0ay2BDh8BzVielT8aqsDyqn/Z2LUq/t7JTy7eVRb1Xf5eXRY7wjk X-Received: by 2002:a62:2845:: with SMTP id o66-v6mr24391495pfo.17.1538995178812; Mon, 08 Oct 2018 03:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538995178; cv=none; d=google.com; s=arc-20160816; b=Z5tOrES1k/y5D9Rs5NyXOiDROzaltRefz5X3i5K363BWa5PezMoW3Pa42j52aEntrs o7iinEISRdhUgXPpssXnczJGCewFPE/ogcWMs+/N3fGGEiXqMgN2heSUfQ2o6xAvWZlf m4CIWG+CgYt4lh+WhFax8Ks5v1u0jLrhRR68V4dIVG4Ycw2iqrz07NdGjT6jPodZidft sZrRhCrMzkpNYuGMGQqEoBxrGvo0hYQvPJnSHu1xnN8jnSrcrS1db9q3qO2EQ2DY/Rma dORUc0Tc+CqRPzIpFa/lpw55ChLZB3qFOPJfpnn/lDrARpGP4bxmja2PIcVkGzdTbvAI 91rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZmiqbgmK8EoYLj3SeauyZcH1JT3W5g9WcpTVgRMc4Lc=; b=kO+6grlMGQOx5QF5Xj9Zzyme9E2aKoU5faGj4YT5q+/euiPHC66hIBoR/XZ/k7IuvV Adb9GUArKozZ/Q9RosSZi3q+5qHkD5kMWVahR+C114xe9u/DWQKtb67Cz44zhtmPVlsn WC3839n8jxVaosUyZ5UpqQe3SRmEUftSBT3PGwSC8awM9+S+0pupQdybmEm3GEi0j1eK +dpCuWnFNJS2WkVpseCngdC9CXqlIdzSpDaJwBYYGhqmlR4y4qaZVkjhK7JrSTefA54d XFdB1yR/UgtMwGvdnyn0D9z12jvro8ZeiX9vIAeMObvUCDCCsSI4+L0ExcDA5N7M9ZVm 2Cfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UXMVi+hx; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14-v6si17013045pgk.497.2018.10.08.03.39.23; Mon, 08 Oct 2018 03:39:38 -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=@linaro.org header.s=google header.b=UXMVi+hx; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727433AbeJHRuF (ORCPT + 99 others); Mon, 8 Oct 2018 13:50:05 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:32968 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727181AbeJHRuE (ORCPT ); Mon, 8 Oct 2018 13:50:04 -0400 Received: by mail-lj1-f195.google.com with SMTP id z21-v6so17391506ljz.0 for ; Mon, 08 Oct 2018 03:39:00 -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=ZmiqbgmK8EoYLj3SeauyZcH1JT3W5g9WcpTVgRMc4Lc=; b=UXMVi+hxGC4MTMChSHQx3Me4yJB8von6sN919P9vvWgl7UEjZrI6KVYrC0qJcgn29B zLW8Qe5aX1Fci6D85JJ0Kmhc+P/mr5l3IZQJdpZXCQZaelQCYAmbJqkIoWNzqi67X0No eunEmmzmfKsH809l730ap/fNsVqMi+1AKrvxU= 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=ZmiqbgmK8EoYLj3SeauyZcH1JT3W5g9WcpTVgRMc4Lc=; b=qM+3jsC3E1DM/SUkyQIal15PbOxkn33qR35iMQ90R3hoQf2OyAp//blKxb4cZhacCx 9o3iVtl2oEujCRaAggYIUojkDm6xd4Iwii/KCf854G0FIzCkrdKtkx3Yel42uEetfp1h lPlt5GSypLzPbVii38p+6DBl2sI+4+TRzcWGf9hgdcUxDmgefPdD5qdMFx/y650kLNeK TBNWkZNgJqeXluaGyy4zDK3qf4UZNL6aIPi4iRkunUj/Yg5y63WvI1rB/Sxp0eeiN51i 7c9/TMT6linEakjC4aLaw4706FpgvtObhnCHM4Xb2hlYR3D37sym4z762/6XsXFh0UEU WH+g== X-Gm-Message-State: ABuFfohwj+JfbTXYfo0dLEoyYmVPLD6KobPXH54NwgUz3CdDC36SS6Bv 6W9ygCD2PJwS19x51jtv7Goj/Q== X-Received: by 2002:a2e:1b15:: with SMTP id b21-v6mr12369042ljb.104.1538995139411; Mon, 08 Oct 2018 03:38:59 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id 4-v6sm3559907lfp.87.2018.10.08.03.38.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Oct 2018 03:38:58 -0700 (PDT) Date: Mon, 8 Oct 2018 12:38:56 +0200 From: Niklas Cassel To: Viresh Kumar Cc: Taniya Das , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Stephen Boyd , Rajendra Nayak , devicetree@vger.kernel.org, robh@kernel.org, skannan@codeaurora.org, linux-arm-msm@vger.kernel.org, amit.kucheria@linaro.org, evgreen@google.com Subject: Re: [PATCH v8 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver Message-ID: <20181008103856.GA10890@centauri.lan> References: <1537698793-15285-1-git-send-email-tdas@codeaurora.org> <1537698793-15285-3-git-send-email-tdas@codeaurora.org> <20181008084012.GA23693@centauri.lan> <20181008095952.gl7di2tnuv3jwew6@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181008095952.gl7di2tnuv3jwew6@vireshk-i7> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 08, 2018 at 03:29:52PM +0530, Viresh Kumar wrote: > On 08-10-18, 10:40, Niklas Cassel wrote: > > > + ret = of_parse_phandle_with_args(cpu_np, "qcom,freq-domain", > > > + "#freq-domain-cells", 0, &args); > > > > Hello Taniya, > > > > in your DT binding, you use > > > > #freq-domains-cells = <1> > > > > Yet here you parse for "#freq-domain-cells". > > And what is the problem with that ? Or are you suggesting her to call > of_parse_phandle_with_fixed_args() ? Hello Viresh, #freq-domain-cells != #freq-domains-cells The code should parse for the exact same property name as stated in the DT binding. Kind regards, Niklas