Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp819429ybl; Thu, 22 Aug 2019 05:29:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6eVtM+istqpKz7tCoFKUxFHksxAn6xdvl4qtwRHpVrY1AdDCGz/72GS9HIu+8dv4IeJNu X-Received: by 2002:a63:d315:: with SMTP id b21mr34312536pgg.326.1566476978508; Thu, 22 Aug 2019 05:29:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566476978; cv=none; d=google.com; s=arc-20160816; b=rW5CeHiUrsrZatyFGYyefPnhsxWYCmbVeV3daN2kbxJ9nGcBF11f/nfOP14SgM/lVI c4SW5FLy1HFgEmfMpEOZ9w2ckFlRveKmro/RV2jdo8vMnaVKbbmrKw1I+Js6hZSkwmJX b8XPHbPDM9+DDCfNJgAiSAGobAx9GhAxbpSRBEZ2etYe6W7zhkMEMUnCBmJgDnT6c9QP ZA8HOFiFOxS7ID+2ooQ1E6545n0MAkNym81kKHijuy/1YeUOREXgHPlawtKn4mR7rRxA uEYAVLQLhuopzYsInLB6N3wB6xOQ9JTKMxvzgggcY1UtyaQv9SCajZohIyeObawIO8Dz kBjw== 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=wPBDtmTZhqkyTNz0MqWgEkHLzILpQif3A3GQnsT/mi8=; b=JdMvrHUUAzPg4dPPl5uEYbdsD5rQIYnUEVnKb84IhNZhZDfOhH0M2DrN9alX7zO0Qj +pM+mOm5a8/hfHylaXGuaAFOsZmSmq5vdQTF5c1623Hg3+HVXsQEBfMDb6gZWu3sqUKS xgw9eQQeQLRu2CWHDRZbavC6kh6zApHB2qEuHONXx/OqWlpSBs20ji7t65NKyZ/xIUOu 5NgiHoY47WjL5hX/peVPJVQzW7UBXaMKXR8+dYLh2iidNJslcNxIuibO07q5rYeGMeRT 11Yf6qFRxNKSlJA8LCVLSlj7oAzkjjLSoDujwo9H9Ael6Lk6AebI8H7/2ao22efTmDLn 1QXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YH8DY7eZ; 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 n12si17378144plk.260.2019.08.22.05.29.22; Thu, 22 Aug 2019 05:29: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=YH8DY7eZ; 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 S2387522AbfHVKUH (ORCPT + 99 others); Thu, 22 Aug 2019 06:20:07 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:46363 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726065AbfHVKUH (ORCPT ); Thu, 22 Aug 2019 06:20:07 -0400 Received: by mail-lf1-f65.google.com with SMTP id n19so4088792lfe.13 for ; Thu, 22 Aug 2019 03:20:06 -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=wPBDtmTZhqkyTNz0MqWgEkHLzILpQif3A3GQnsT/mi8=; b=YH8DY7eZIuy+N5wDuMxNcN/eV2PnncZNHKtZnk/Ev1sfTVb93MNfhwZaV0fFw0K1oy 5MX0uxb4PmY6nuTDa10FjmDjGjT3uN3XzwSpUuR+Bz7QcnSW7P2TwVHVyhV6P9XaoQLz QmmsJQkd8i5rMJhzNKloN8I5jU4CAd6fR5XIQ44MvktPPGMJsFyiP2GgX8XRFmIZ0Vx8 Gy1DEAD8AsgKAjBGXuU1rY84orP8m6xmRP+LMIWYo0sR/38ud+lwnarD79w/o67x6CAJ HO7mQU8/fs+LC/1uOI6N+X8QhWUsL11BYLNFs1h2pbi2o8B1H9z3fYGdqs733UEZhQ9A 52oA== 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=wPBDtmTZhqkyTNz0MqWgEkHLzILpQif3A3GQnsT/mi8=; b=FZHbKcmPs1p+r0qzTW2TYUVDMZTLZL6371LbEmyKgXLN0TAOR7+wknFSxcGCbV2h5H CtJzC8pBDmi9rB9TUHUDn+8Y/0zFhNP1cgZAR9Ez3BUR8oczilR5dkWlExUQIUoomBCz EWKpY0Ls/U0K2yrXj4dQXX0+x6CL4LCtdOyHR1DpoakWwp0rFll/t47WkdmYVev7CE/2 EuZsQNX3DOdRk+DhZd6265hEvqDvRVIMzWdlcGKNJptBGwsA8DyKaczQFvV2MWaYG/s0 TjYpLqcqt6MQKRQ2zwFzqZtvLGg/4kBCPKni0xIUfmJY8iZXGd+ic9VpF456pnWhwZU1 fH7w== X-Gm-Message-State: APjAAAWzwQH++SAYsfk+oz5PRxD2QefBmE2rEtdszJC8FJr8KN+h/MTJ hT7E78Htt/x27g5w+ycgHm+Qmg== X-Received: by 2002:a19:e04f:: with SMTP id g15mr21819606lfj.46.1566469205557; Thu, 22 Aug 2019 03:20:05 -0700 (PDT) Received: from centauri (ua-84-219-138-247.bbcust.telenor.se. [84.219.138.247]) by smtp.gmail.com with ESMTPSA id k8sm3758979lja.24.2019.08.22.03.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2019 03:20:04 -0700 (PDT) Date: Thu, 22 Aug 2019 12:20:02 +0200 From: Niklas Cassel To: Stephen Boyd Cc: Jorge Ramirez-Ortiz , linux-arm-msm@vger.kernel.org, vireshk@kernel.org, bjorn.andersson@linaro.org, ulf.hansson@linaro.org, Rob Herring , Rob Herring , Mark Rutland , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 10/14] dt-bindings: power: avs: Add support for CPR (Core Power Reduction) Message-ID: <20190822102002.GA8494@centauri> References: <20190725104144.22924-1-niklas.cassel@linaro.org> <20190725104144.22924-11-niklas.cassel@linaro.org> <5d579b36.1c69fb81.85eba.ff51@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5d579b36.1c69fb81.85eba.ff51@mx.google.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 16, 2019 at 11:14:13PM -0700, Stephen Boyd wrote: > Quoting Niklas Cassel (2019-07-25 03:41:38) > > + cpr@b018000 { > > + compatible = "qcom,qcs404-cpr", "qcom,cpr"; > > + reg = <0x0b018000 0x1000>; > > + interrupts = <0 15 IRQ_TYPE_EDGE_RISING>; > > + clocks = <&xo_board>; > > + clock-names = "ref"; > > + vdd-apc-supply = <&pms405_s3>; > > + #power-domain-cells = <0>; > > + operating-points-v2 = <&cpr_opp_table>; > > + acc-syscon = <&tcsr>; > > + > > + nvmem-cells = <&cpr_efuse_quot_offset1>, > > + <&cpr_efuse_quot_offset2>, > > + <&cpr_efuse_quot_offset3>, > > + <&cpr_efuse_init_voltage1>, > > + <&cpr_efuse_init_voltage2>, > > + <&cpr_efuse_init_voltage3>, > > + <&cpr_efuse_quot1>, > > + <&cpr_efuse_quot2>, > > + <&cpr_efuse_quot3>, > > + <&cpr_efuse_ring1>, > > + <&cpr_efuse_ring2>, > > + <&cpr_efuse_ring3>, > > + <&cpr_efuse_revision>; > > + nvmem-cell-names = "cpr_quotient_offset1", > > + "cpr_quotient_offset2", > > + "cpr_quotient_offset3", > > + "cpr_init_voltage1", > > + "cpr_init_voltage2", > > + "cpr_init_voltage3", > > + "cpr_quotient1", > > + "cpr_quotient2", > > + "cpr_quotient3", > > + "cpr_ring_osc1", > > + "cpr_ring_osc2", > > + "cpr_ring_osc3", > > + "cpr_fuse_revision"; > > + > > + qcom,cpr-timer-delay-us = <5000>; > > + qcom,cpr-timer-cons-up = <0>; > > + qcom,cpr-timer-cons-down = <2>; > > + qcom,cpr-up-threshold = <1>; > > + qcom,cpr-down-threshold = <3>; > > + qcom,cpr-idle-clocks = <15>; > > + qcom,cpr-gcnt-us = <1>; > > + qcom,vdd-apc-step-up-limit = <1>; > > + qcom,vdd-apc-step-down-limit = <1>; > > Are any of these qcom,* properties going to change for a particular SoC? > They look like SoC config data that should just go into the driver and > change based on the SoC compatible string. > Hello Stephen, thanks a lot for your reviews. I agree with you, will drop these properties from the dt-binding and the driver once I respin the series. I'm hoping to get the cpufreq part of the patch series merged this merge window, so that the patch pile will decrease. Kind regards, Niklas