Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3431547imm; Fri, 25 May 2018 05:43:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpBKDpT3U0LOFyHO9EhL6ETZTsNUwQhNTqcb0amZ2j70zjTr+LFavGoG5hT3pTJFZ+SdVgS X-Received: by 2002:a17:902:d20c:: with SMTP id t12-v6mr2457344ply.364.1527252227006; Fri, 25 May 2018 05:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527252226; cv=none; d=google.com; s=arc-20160816; b=pUo0k39ariJzkWO/H+RYwIQv2qHiDo/mvMx+/E/PiTBJpmc6Nftmo9LMEYH4fT34fz +wSHyOQtsG81rAskZzqn4MWQIvIKJ7PvhEJOtaQ8rUK00Ia/MZGvMOptqgfRS9tdCwtH OQKu9e/Acho5c2CbXVs8aA/5hEwUC6KRe+BykA5le7dSjG1YQPPTuJXU2lTpslpMdqe/ mA/bb2UScQRmkJDcYxh7VT80Kk7Ffo8QwzYZXg7HSmH3XHo2/B6OGLo+mbYs24fPdvUV Uk1ROwuRUBWsMOcVPmSGtL5P3A0rschiqfNfozWLW6auew5hhXxAnH6a1L0ng6Ooa7ka F6Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=3HwHQXTcmqxoGq3JBZAA7lX0BALKKNVnJwDZ8y1ECsw=; b=A9PVFPyM1YLQWApW3QA97GwLi9ffQWGIdq01+aUzyAAgKtiseODHGHh5O5dxTH1SND QPI+X7pMiVWt5DhRq6k+zq+1lOxC6OIOQ7gTTfz+POc3cyp1gwVicdjPeWOUOWUo0mJk xRzRb6QxYlHG76phHlWFub6H373H0Dfmt76/tlE2zGRJFuATGLEWCKc9088rShMk9yKa yceShMZuYkLsy+abWbi5a6aMY4g6m7GlBG/PKisgCBb+2lYn4CUi7W9CmlkuQiN/7N01 Ob5iUQnRrhpGnUOoO0Tl7vwp+z2xUV0YAqlQh3XusXMfTTSzLkuRlK1VacSInWUrWmCc DhYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=YCHDImAX; dkim=pass header.i=@codeaurora.org header.s=default header.b=YCHDImAX; 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 x10-v6si18769410pgo.679.2018.05.25.05.43.32; Fri, 25 May 2018 05:43:46 -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=YCHDImAX; dkim=pass header.i=@codeaurora.org header.s=default header.b=YCHDImAX; 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 S1753754AbeEYMmA (ORCPT + 99 others); Fri, 25 May 2018 08:42:00 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:51248 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751949AbeEYMl6 (ORCPT ); Fri, 25 May 2018 08:41:58 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DBD7160881; Fri, 25 May 2018 12:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527252117; bh=KFyWgAODscyNPFQ697cm7pZfTOafYJQcCRuUyGgESGY=; h=From:To:Cc:Subject:Date:From; b=YCHDImAXV/1EqsgsxF8NhZwdd788vcWmfv28w+tvGgoKTN8x1TMrGlwNd0ix+FQfI J9Du1tNMjOXaeXfvvchciTzFuXfs/eRc2BWcuh6BmSaU/4+64jtaRpZsz+gnrYcdQm YQQ39FNXC3w1QGnTccnBBGPJ7urjxyrSRT5N0TXY= 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 lx-ilial.mea.qualcomm.com (unknown [185.23.60.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ilialin@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id CD27460290; Fri, 25 May 2018 12:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527252117; bh=KFyWgAODscyNPFQ697cm7pZfTOafYJQcCRuUyGgESGY=; h=From:To:Cc:Subject:Date:From; b=YCHDImAXV/1EqsgsxF8NhZwdd788vcWmfv28w+tvGgoKTN8x1TMrGlwNd0ix+FQfI J9Du1tNMjOXaeXfvvchciTzFuXfs/eRc2BWcuh6BmSaU/4+64jtaRpZsz+gnrYcdQm YQQ39FNXC3w1QGnTccnBBGPJ7urjxyrSRT5N0TXY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CD27460290 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=ilialin@codeaurora.org From: Ilia Lin To: ilia.lin@gmail.com, vireshk@kernel.org, nm@ti.com, sboyd@kernel.org, robh@kernel.org, mark.rutland@arm.com, rjw@rjwysocki.net Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ilialin@codeaurora.org Subject: [PATCH v14 0/2] Kryo CPU scaling driver Date: Fri, 25 May 2018 15:41:50 +0300 Message-Id: <1527252112-7015-1-git-send-email-ilialin@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [v14] * Addressed comment from Sudeep about DT compatible * Added MAINTAINERS entry [v13] * Addressed comment from Sudeep about DT compatible check on init [v12] * Addressed comments from Sudeep and Viresh about the single init [v11] * Addressed comment from Russel about device_node reference * Addressed comment from Sudeep about the late_initcall * Transformed init into probe to take care of deferals [v10] * Split the series into domains * Addressed comments from Viresh and Sudeep about logical CPU numbering. The qcom-cpufreq-kryo driver is aimed to support different SOC versions. The driver reads eFuse information and chooses the required OPP subset by passing the OPP supported-hw parameter. The series depends on the series from Viresh: https://patchwork.kernel.org/patch/10418139/ The previous spin was here: https://patchwork.kernel.org/patch/10424949/ Ilia Lin (2): cpufreq: Add Kryo CPU scaling driver dt-bindings: cpufreq: Document operating-points-v2-kryo-cpu .../devicetree/bindings/opp/kryo-cpufreq.txt | 680 +++++++++++++++++++++ MAINTAINERS | 7 + drivers/cpufreq/Kconfig.arm | 10 + drivers/cpufreq/Makefile | 1 + drivers/cpufreq/cpufreq-dt-platdev.c | 3 + drivers/cpufreq/qcom-cpufreq-kryo.c | 212 +++++++ 6 files changed, 913 insertions(+) create mode 100644 Documentation/devicetree/bindings/opp/kryo-cpufreq.txt create mode 100644 drivers/cpufreq/qcom-cpufreq-kryo.c -- 1.9.1