Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3968015yba; Wed, 17 Apr 2019 01:33:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlt0oKWU8D+CvXGVomS+RfAxeuhZ9ehCVMEdZdSNA+msrTYYf5/FSTjRMcMuTjUY8NNepe X-Received: by 2002:a65:44c6:: with SMTP id g6mr30283193pgs.157.1555490019152; Wed, 17 Apr 2019 01:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555490019; cv=none; d=google.com; s=arc-20160816; b=HVVI113uSuabmbIZlOP5mZT/FikHl5105K6bqYyDjh2j6cozlETt79UKMfSthzCAgV r0SXH9E915TOAuKHB4U6eBzAuwC+Zb981qmYaFYLw+VKKHXFZdpDDhLTx/7YgcBx9GJY aRmR215th7VCELecQlmQzMEisK6ti1m7IgaagXW1zNMVDyADla3CPICGeAwTekXzrOgC 23q7sPMSe/DNzTxP16G2eBjkVXj65fPL7Pe19zZjgIWmMCj/qCv5/PRlv/SRLC3nGE4K 89C1fcflFDz4KWmCRpvQCjvzwaWxwglRozXUyQmQ6YpEgtE9L4fgJNxPKVSHaSZ6ZFq4 jVjQ== 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; bh=bGRkhnFVUH2nDkP7fmrLEEPJhT9wo6Tx6Nmaux8Xvak=; b=KjpNOG/S1bE/4wkNlRI6/iVrpB9MhRBq7AI8HuUa2TbUdUfyGDYzeHRGaFYAL5ypTC YGb0nF4cJRRzzCTbJNaKZFJrn+uxueS4iep27G9b/MDU5rrf+EiPprE3XWq68v731Nhm tPtSp/9sO/mwlubppnq/ttE2WADMVh/9780GutrgeGCGIRcBSkJAbnoh2+sM28jLnr9D ZnbVOmuh0Om+y3h03Sd3sye3mbf7H4au4LXA7kOLrDCj6v/TL7gG6JXcoVwBk7GD+MsN gGRTJcYDZ7eVzUqR/XpxoFNNhXpAGXSGcLRy65BiR/esafYxx/fLfaJlgDbuZ8hkXqn5 tSrg== ARC-Authentication-Results: i=1; mx.google.com; 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 e11si50677147pfd.88.2019.04.17.01.33.24; Wed, 17 Apr 2019 01:33:39 -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; 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 S1731322AbfDQIbW (ORCPT + 99 others); Wed, 17 Apr 2019 04:31:22 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:41585 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbfDQIbW (ORCPT ); Wed, 17 Apr 2019 04:31:22 -0400 X-Originating-IP: 90.88.160.238 Received: from localhost (aaubervilliers-681-1-42-238.w90-88.abo.wanadoo.fr [90.88.160.238]) (Authenticated sender: maxime.ripard@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 0BA84C0004; Wed, 17 Apr 2019 08:31:16 +0000 (UTC) Date: Wed, 17 Apr 2019 10:31:16 +0200 From: Maxime Ripard To: Viresh Kumar Cc: Yangtao Li , vireshk@kernel.org, nm@ti.com, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, rjw@rjwysocki.net, davem@davemloft.net, mchehab+samsung@kernel.org, gregkh@linuxfoundation.org, nicolas.ferre@microchip.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/2] cpufreq: Add sunxi nvmem based CPU scaling driver Message-ID: <20190417083116.xgwglxogy2zqdghh@flea> References: <20190416155209.24216-1-tiny.windzz@gmail.com> <20190417020830.f5empr3rr3ifbstl@vireshk-mac-ubuntu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ctpou35gd6hfomxj" Content-Disposition: inline In-Reply-To: <20190417020830.f5empr3rr3ifbstl@vireshk-mac-ubuntu> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ctpou35gd6hfomxj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Apr 17, 2019 at 07:38:30AM +0530, Viresh Kumar wrote: > On 16-04-19, 11:52, Yangtao Li wrote: > > Add sunxi nvmem based CPU scaling driver, refers to qcom-cpufreq-kryo. > > > > Yangtao Li (2): > > cpufreq: Add sunxi nvmem based CPU scaling driver > > dt-bindings: cpufreq: Document allwinner,sun50i-h6-operating-points > > > > .../bindings/opp/sun50i-nvmem-cpufreq.txt | 167 +++++++++++++ > > MAINTAINERS | 7 + > > drivers/cpufreq/Kconfig.arm | 12 + > > drivers/cpufreq/Makefile | 1 + > > drivers/cpufreq/cpufreq-dt-platdev.c | 2 + > > drivers/cpufreq/sun50i-cpufreq-nvmem.c | 226 ++++++++++++++++++ > > 6 files changed, 415 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/opp/sun50i-nvmem-cpufreq.txt > > create mode 100644 drivers/cpufreq/sun50i-cpufreq-nvmem.c > > > > --- > > v4: > > -I removed this sunxi_cpufreq_soc_data structure for now. > > Why this change ? It's used on a single SoC for now, so it's impossible to know at this point what to put in that structure in the first place. Of course, that would need to be brought back if we ever have two SoCs to support and that we know which differences there is. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ctpou35gd6hfomxj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXLbkVAAKCRDj7w1vZxhR xQuXAP9pgWjpdSjA5KIXPG6IT9T+tbepvXBNmEhSWg7XEt34TAD9EkkRr/+OKOJe gGXx9J8+DZeXBERfyeRaRvOAbZdrKw0= =91iH -----END PGP SIGNATURE----- --ctpou35gd6hfomxj--