Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1683475imu; Thu, 13 Dec 2018 21:34:08 -0800 (PST) X-Google-Smtp-Source: AFSGD/VTMpslxh2tFLc8WxJaiDDM1xEF+X6vucYvguaaBUsrWfXw0j3XuBLMWW0rzy9DVDfSu4N0 X-Received: by 2002:a62:8985:: with SMTP id n5mr1593732pfk.255.1544765648243; Thu, 13 Dec 2018 21:34:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544765648; cv=none; d=google.com; s=arc-20160816; b=mnTEBtmU8crTJfbC4p+MMwDX99+GzAaJ0anwl+zo1Rfb7G/iBmJd188iGvjTmUyzi7 ZlIa0XUr2eZkuikJdBZEUDfq/olkYxBZsiki6RB/zqlEY/wCFAXS3zarztUX6IP/hF02 RQ1FoOwMYQUzYBFgS9kyUVBLZLtmGlW9nCO//75xtV4k3wVh2cx1U/9VsgPTqqzWFyY1 LI4gpbbC7GceTdHBHuc6bZQojHvMl2GENsuIB6P40xNRPJC6V1cgoNYkEdKLkqQmDMm5 eXfxQ+XSD2Azi9eh3dP6y6CAqADpJMiJf0BsxMUJgMZzfH7KFIuyWg0T2N1nBHcopR42 6jJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:user-agent:from:message-id :references:to:subject:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=sH6satQMgixv5yZbBv0B+B+pe3E3V+5j91qTsLkde58=; b=SUXeAti2QmliZ5bpC1CSqEeWlQ4/EQUHdypHEj2nbC+WG4mALotpZFd4GlJ5/MHgUs W6L7S/xv0sblARpGPinH7yU0gIaiQeB6frER1wtOdfnTfT4g4vsBRn2iBgpHzSoYfm0X G5szdFbt0YQVBFoTDYvx8qPG+M+Uc0lm46Pe/8FB6xANreSqHrfmqEIeQ++TMkEGuFH7 pOQv6YSquZdR3Pgm8Ae7EZ/qImmal4B9NV6wycdsNd6HLjbKYei8GJxNaUyZWVhwU3UF sy8TjfFuA7xcUlh7AVNHndDl6eeRQX0JDlqXu0s4JRb4KpcKZYEZL+mPRATacjrFGxe6 HBlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=O9O3F2ZS; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si3293242pgj.442.2018.12.13.21.33.53; Thu, 13 Dec 2018 21:34:08 -0800 (PST) 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=@chromium.org header.s=google header.b=O9O3F2ZS; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727092AbeLNFdD (ORCPT + 99 others); Fri, 14 Dec 2018 00:33:03 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:36176 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbeLNFdC (ORCPT ); Fri, 14 Dec 2018 00:33:02 -0500 Received: by mail-pf1-f196.google.com with SMTP id b85so2270439pfc.3 for ; Thu, 13 Dec 2018 21:33:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:subject:to :references:message-id:from:user-agent:cc:date; bh=sH6satQMgixv5yZbBv0B+B+pe3E3V+5j91qTsLkde58=; b=O9O3F2ZSXbLR2FxV8Vy8O78AiiSaqfVkfFyvJdvTXnnS3Z6hkzpSQQZhc6BG63qqY1 XG/tfHSg1tyI/y+ZpyCoW9MWzyeGwnQyxf2e+7HBQ8zIF+dTze/gn2SHDn945CaLKXX/ TBDIwzupA+SE3SgeQuJnkQn/SQKd7l0akzP2c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:subject:to:references:message-id:from:user-agent:cc :date; bh=sH6satQMgixv5yZbBv0B+B+pe3E3V+5j91qTsLkde58=; b=EJfLxDlTdoDp7o8FAiHgawh8eEyJiHblWpSVoOiQhL4xJzFGi21QoXPdp1xRVqoK7K AbtMts0NbAgNTRUUfr0EUgY8NyJgLtuGWaiP5pfCNpBdHO6jnZ8otumJfbzVKummpX4R LJIe1HMfGagOVWA/stJd4mbteThpdf2hLssPqYOS5EGJBsjHmoC5DDJ4VHLlFECDv7g9 brVWudV8xjCJ6m2jKaQ4OG6p10RzCRbIIsH9z6y3WoZWlNW31tzyhw12H6kOdIOVu641 w2ORKIEfvr6PFgGRLCNXXElXn3C3eJFojZtimuF8A06wQJ/aLQvOD1TlfEmNERtvqTRn Gpvg== X-Gm-Message-State: AA+aEWYnBu5FHIDLWWLPq67kOZg6mo3hlUVnhFwvd4x/uQCn6XgFGhJx YL6clu/qYWpFVypgrmqgolfTNQ== X-Received: by 2002:a62:18ce:: with SMTP id 197mr1669004pfy.88.1544765581489; Thu, 13 Dec 2018 21:33:01 -0800 (PST) Received: from localhost ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id i73sm5304872pfi.66.2018.12.13.21.33.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 21:33:00 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1544760624-12874-2-git-send-email-tdas@codeaurora.org> Subject: Re: [PATCH v13 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ Firmware bindings To: "Rafael J. Wysocki" , Taniya Das , Viresh Kumar , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <1544760624-12874-1-git-send-email-tdas@codeaurora.org> <1544760624-12874-2-git-send-email-tdas@codeaurora.org> Message-ID: <154476557998.19322.11977618193120872801@swboyd.mtv.corp.google.com> From: Stephen Boyd User-Agent: alot/0.8 Cc: Rajendra Nayak , devicetree@vger.kernel.org, robh@kernel.org, skannan@codeaurora.org, linux-arm-msm@vger.kernel.org, evgreen@google.com, Matthias Kaehlcke , Taniya Das Date: Thu, 13 Dec 2018 21:32:59 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Taniya Das (2018-12-13 20:10:23) > Add QCOM cpufreq firmware device bindings for Qualcomm Technology Inc's > SoCs. This is required for managing the cpu frequency transitions which a= re > controlled by the hardware engine. >=20 > Signed-off-by: Taniya Das > --- Reviewed-by: Stephen Boyd except one question below for Rob. > diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.tx= t b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt > new file mode 100644 > index 0000000..33856947 > --- /dev/null > +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.txt > @@ -0,0 +1,172 @@ > +Qualcomm Technologies, Inc. CPUFREQ Bindings > + > +CPUFREQ HW is a hardware engine used by some Qualcomm Technologies, Inc.= (QTI) > +SoCs to manage frequency in hardware. It is capable of controlling frequ= ency > +for multiple clusters. > + > +Properties: > +- compatible > + Usage: required > + Value type: > + Definition: must be "qcom,cpufreq-hw". > + > +- clocks > + Usage: required > + Value type: From common clock binding. > + Definition: clock handle for XO clock and GPLL0 clock. > + > +- clock-names > + Usage: required > + Value type: From common clock binding. > + Definition: must be "xo", "alternate". > + > +- reg > + Usage: required > + Value type: > + Definition: Addresses and sizes for the memory of the HW base= s in > + each frequency domain. > +- reg-names > + Usage: Optional > + Value type: > + Definition: Frequency domain name i.e. > + "freq-domain0", "freq-domain1". > + > +- #freq-domain-cells: I still wonder if this should be #qcom,freq-domain-cells, but if Rob is OK I won't complain. > + Usage: required. Nitpick: Weird full-stop here ^ > + Definition: Number of cells in a freqency domain specifier. > + > +* Property qcom,freq-domain > +Devices supporting freq-domain must set their "qcom,freq-domain" propert= y with > +phandle to a cpufreq_hw followed by the Domain ID(0/1) in the CPU DT nod= e. > + > +