Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3053103imm; Thu, 17 May 2018 02:31:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZon9RSMmg0Wurjb1OWRXgDTO+YIGu3n751shHJvLpzSkHygUo3sHBTjfqxxwBJ/olcFxveq X-Received: by 2002:a17:902:8303:: with SMTP id bd3-v6mr4446041plb.290.1526549516430; Thu, 17 May 2018 02:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526549516; cv=none; d=google.com; s=arc-20160816; b=VClgiCB3CZ9QpQTk3lQ4H/NUcoJHoddMa9jY5KjHXt+0RbN1FxRHdjJU3Dq3rjmo4m WytD1Z25AjrZmSCEGhOcgVjA5c/7wL/yvuUCtH+FKMA2ROUmFix7vGu4oZScnSVQ9jgN 2l2G7f52sGCJUZZEJYdzCgokgPbqs8yNM85c2EJRXRqZyw2D0QJCJrcgbT/XlJUY5alN 1MPJaCyTP2UPW7R2PibGFcfWqqOITQ9gOfrVmPQR3OBYAIAqBILu8VcUo+vroDX7hA2y S9veSgnhMhQk6ZxK4TVvYghGYeWdmZ9908xsu5vkN7wCGguP8ApZn760vXW2Cc++r7nn YU1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=29go9Pdkp7qnfdLMWiNPfMN8RWzROCTm16xrf6RtzO4=; b=VqllO6xWYpKdW0P65xjskktlkulWTvarYV0ljJvF1NYFj9DlA++mtY7kYORF98TC9F mHwVfdT25nKq0jre0y8zOGaseFoFIui9imjZO6layYPPixY3wXinuKfrkSUBl9olL3/0 2cgKbaDyzWMXDb6TPa5Z3zusMXOd2KW+8rIfFv0lDx+9KGD49WeM/5I5ei7mnbKnQAPk kg4GL1/+2hJf0aePOH5CS1giEbqtIEz5/KrEpBD/N+fR5viWSNFRQnihISDBZPUq8cOV M24IVCx72N9vr+za1f4xtuAOBg2QPOB7bGqlDsNJNvxPv+4rNUnzSuwUJv7WVrxx8Xmm HeoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=R1EI55XB; dkim=pass header.i=@codeaurora.org header.s=default header.b=R1EI55XB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q66-v6si4795781pfi.235.2018.05.17.02.31.42; Thu, 17 May 2018 02:31:56 -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=@codeaurora.org header.s=default header.b=R1EI55XB; dkim=pass header.i=@codeaurora.org header.s=default header.b=R1EI55XB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752420AbeEQJaY (ORCPT + 99 others); Thu, 17 May 2018 05:30:24 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54456 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752112AbeEQJaU (ORCPT ); Thu, 17 May 2018 05:30:20 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B934A605A8; Thu, 17 May 2018 09:30:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526549419; bh=j4RwO4rlml8WPaZF6n2wBDMQ2qXRos7U/SMdWBSnhx4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R1EI55XBucxoDbQFbQ6gbdkDog3LtdGlr6Wz/REf4BNOnkEFpdia64H6HHYwf/05U Pg6V9g7BftWRCODC2YZIvITI77hGAJyZN4KP5J5LeCpF4IqhtWyMIWUovB4kqexMl5 Nur+6uW4UlJgRhGmv2A71wtAfqhwgr0dAORNBV4s= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from tdas-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tdas@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0F00260558; Thu, 17 May 2018 09:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526549419; bh=j4RwO4rlml8WPaZF6n2wBDMQ2qXRos7U/SMdWBSnhx4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R1EI55XBucxoDbQFbQ6gbdkDog3LtdGlr6Wz/REf4BNOnkEFpdia64H6HHYwf/05U Pg6V9g7BftWRCODC2YZIvITI77hGAJyZN4KP5J5LeCpF4IqhtWyMIWUovB4kqexMl5 Nur+6uW4UlJgRhGmv2A71wtAfqhwgr0dAORNBV4s= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0F00260558 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=tdas@codeaurora.org From: Taniya Das To: "Rafael J. Wysocki" , Viresh Kumar , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Stephen Boyd Cc: Rajendra Nayak , Amit Nischal , devicetree@vger.kernel.org, amit.kucheria@linaro.org, Taniya Das Subject: [v0 1/2] dt-bindings: clock: Introduce QCOM CPUFREQ FW bindings Date: Thu, 17 May 2018 15:00:00 +0530 Message-Id: <1526549401-25666-2-git-send-email-tdas@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1526549401-25666-1-git-send-email-tdas@codeaurora.org> References: <1526549401-25666-1-git-send-email-tdas@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add QCOM cpufreq firmware device bindings for Qualcomm Technology Inc's SoCs. This is required for managing the cpu frequency transitions which are controlled by firmware. Signed-off-by: Taniya Das --- .../bindings/cpufreq/cpufreq-qcom-fw.txt | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-fw.txt diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-fw.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-fw.txt new file mode 100644 index 0000000..bc912f4 --- /dev/null +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-fw.txt @@ -0,0 +1,68 @@ +Qualcomm Technologies, Inc. CPUFREQ Bindings + +CPUFREQ FW is a hardware engine used by some Qualcomm Technologies, Inc. (QTI) +SoCs to manage frequency in hardware. It is capable of controlling frequency +for multiple clusters. + +Properties: +- compatible + Usage: required + Value type: + Definition: must be "qcom,cpufreq-fw". + +Note that #address-cells, #size-cells, and ranges shall be present to ensure +the cpufreq can address a freq-domain registers. + +A freq-domain sub-node would be defined for the cpus with the following +properties: + +- compatible: + Usage: required + Value type: + Definition: must be "cpufreq". + +- reg + Usage: required + Value type: + Definition: Addresses and sizes for the memory of the perf_base + , lut_base and en_base. +- reg-names + Usage: required + Value type: + Definition: Address names. Must be "perf_base", "lut_base", + "en_base". + Must be specified in the same order as the + corresponding addresses are specified in the reg + property. + +- qcom,cpulist + Usage: required + Value type: + Definition: List of related cpu handles which are under a cluster. + +Example: + qcom,cpufreq-fw { + compatible = "qcom,cpufreq-fw"; + + #address-cells = <1>; + #size-cells = <1>; + ranges; + + freq-domain-0 { + compatible = "cpufreq"; + reg = <0x17d43920 0x4>, + <0x17d43110 0x500>, + <0x17d41000 0x4>; + reg-names = "perf_base", "lut_base", "en_base"; + qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>; + }; + + freq-domain-1 { + compatible = "cpufreq"; + reg = <0x17d46120 0x4>, + <0x17d45910 0x500>, + <0x17d45800 0x4>; + reg-names = "perf_base", "lut_base", "en_base"; + qcom,cpulist = <&CPU4 &CPU5 &CPU6 &CPU7>; + }; + }; -- Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member of the Code Aurora Forum, hosted by the Linux Foundation.