Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp616620imm; Wed, 23 May 2018 02:42:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoikrv0+AhB1Pnuw3S3zNfc8/gXPbQxDwCnWrmfnhnfKPnkLxaF8obRMrB0mWpL8i4lLcME X-Received: by 2002:a63:ac55:: with SMTP id z21-v6mr1694437pgn.73.1527068543647; Wed, 23 May 2018 02:42:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527068543; cv=none; d=google.com; s=arc-20160816; b=W9ANafeCSQGi4UuSmZ0FcWfCe/QnUcnKIUwPWC5zwqP0n6IhlEcplaHfrlZIPbN3tJ dov43sIz2YHYC/eJtwpadGDVQRRo8B/Z1O5POsMGqUI5EGQ9qOiER3myrywc04uqsY6K KpJVwJqtcpfgD9sKA3F/a5eg4xl/MgSJVFJPPLSdOKUGTN4Gahja9c4aW85bo/QgmdV8 fUPZlxsmkxKgL6u6InaUlavFnYUI3IuohpPl9zqWlOnJNBkDD1WENPkaxKYbF5vt0TBh wYBA9zgfR3l2zPSAYLn0hd8pwRtqHVwK8yqhK2BP4hifLpp2n5Ifej7Ptqd77egAQ7id Ge1A== 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:to:from :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=q4hg+9SzhVPkO0V0+rez7aLDprssg6eVabugpUrpnP8=; b=qL9MA05qIaOLDiblCR26z9hwkoF2r1S3/j2tUhre64yd/PfSSH0QwzseHFQJR25kAH /TeVQy4qWBK6vuPAjynQQYqZA5gn3HcrCJ4liGGSvg6EqlmKv0o6GzkGSwffzvo1pqsK h9g6T44RHBijvvtrFXbPBiux9wUFSVxVDL2nwcMX1GLu7AM/fTS86pZR4O+xMezO7OBS Vlx8PyfKDyiY0bsHjnTQFts9PBASo7eECBlcfgddUVzuKp3lMoTE3xYxKlmSMUy6PaY5 czbcvCijrNZ30DMCz2Rd3UW7pNRXiM2JKXO0gWctjJQH8Ck6dCYjmuMi+dlFaRfRwFl/ qk9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=CUwBXMqE; dkim=pass header.i=@codeaurora.org header.s=default header.b=KqZR6sUq; 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 m37-v6si18593406pla.148.2018.05.23.02.42.08; Wed, 23 May 2018 02:42:23 -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=CUwBXMqE; dkim=pass header.i=@codeaurora.org header.s=default header.b=KqZR6sUq; 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 S932269AbeEWJlD (ORCPT + 99 others); Wed, 23 May 2018 05:41:03 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:33818 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932137AbeEWJlA (ORCPT ); Wed, 23 May 2018 05:41:00 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 62C1D60C55; Wed, 23 May 2018 09:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527068459; bh=KyumL0oHWYUS0jFRVGXO0Oh3kK/TcbBmtoPXJxCgqIg=; h=From:To:Subject:Date:From; b=CUwBXMqEtsL56SdtcSlshEIAhjE/ld7kUls33KML+L8BrfCEemOPMSuFxMTtBZrcq p7PLA9BbzwUAB6JmNzMAPKLvqEzwGNFI8FbEG5ZK+C36SWCiydbTbtGsK4GDgoMcRx 5H6AM1xsHsb5x9JO9sU7Pm14AsjqC3hC1H/cVe5s= 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 8CF8260618; Wed, 23 May 2018 09:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527068458; bh=KyumL0oHWYUS0jFRVGXO0Oh3kK/TcbBmtoPXJxCgqIg=; h=From:To:Subject:Date:From; b=KqZR6sUqDmP1xEgg/YFB8spZrsZ6Hrqk2Emf/HjpnPAY5RmBXDMZdql83mmAehwBK Tr28xwDqtpdU+ubtaaQsdDMp2n6TlW3iBHXVSE+dX77ZeYzkg7uBuSMogo/fFBzQXU WcTvCWLHntvd8S8PrmpfxannD1UCfAU9/FukcyAM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8CF8260618 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: vireshk@kernel.org, nm@ti.com, sboyd@kernel.org, robh@kernel.org, mark.rutland@arm.com, rjw@rjwysocki.net, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v10 0/2] Kryo CPU scaling driver Date: Wed, 23 May 2018 12:40:52 +0300 Message-Id: <1527068454-28921-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 [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/10420751/ https://patchwork.kernel.org/patch/10414761/ 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 +++++++++++++++++++++ drivers/cpufreq/Kconfig.arm | 10 + drivers/cpufreq/Makefile | 1 + drivers/cpufreq/cpufreq-dt-platdev.c | 3 + drivers/cpufreq/qcom-cpufreq-kryo.c | 163 +++++ 5 files changed, 857 insertions(+) create mode 100644 Documentation/devicetree/bindings/opp/kryo-cpufreq.txt create mode 100644 drivers/cpufreq/qcom-cpufreq-kryo.c -- 1.9.1