Received: by 10.223.176.5 with SMTP id f5csp587743wra; Fri, 2 Feb 2018 02:54:47 -0800 (PST) X-Google-Smtp-Source: AH8x2268VqJLyPympvka1uqIP4yDJipZpqzZ2jfA+/CmTU2Z8CbK1HRRScdAnjJyS8vss+0n/vI0 X-Received: by 2002:a17:902:6bc3:: with SMTP id m3-v6mr34470917plt.442.1517568886890; Fri, 02 Feb 2018 02:54:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517568886; cv=none; d=google.com; s=arc-20160816; b=FCH9fxFJnf639yY24CvdsPsa/hV7DB2wuyd0cWHQTHL3F7nt58oZIf3aHZ8lGT1/fT Y/9YLhPrE1Zk32N6s9WZaWk7t2Smh+bAA/LtPoZp7Fm6M9mSwde3XQPn/ry651hilZB4 mUJ+e4DaqHTTa85dl6qzf+VD3rhZQnIZQ5p8XWEc9M59b2KRfdGrRwM9O2pboKflR1gr nLMBnOxFXDqW4gHfdpgV2vwwdwowWYY91jSEbHHkAYfrf2thZYtoQWHA+RKtBvOne1A7 JzFI0924nNA4igiGIBGgAABLrqklCAHrChD5LBbE0Fs8G8789vtCjqOT/wR70c3+Yb0H DxHg== 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:arc-authentication-results; bh=urRw77hKzRuFLr8LaHBx2Ti8mINSrmT42ZaglWRx40k=; b=JwjPRxm5uKUYFHmWqIIPhQewPv6HOiQ6R4O1RU1kfBtUKKWKSfGSu1xSGm1el6Vb2r xsQJFxeh2QMxC9qcENbuyJbagkIZWgdL6fjVXmcOL9D1FDSTtyxpQfE9Q0C5omrpXHq1 BWSy82kTh5hL/ApFJhrXd0L5T8cEtZhM8P1eWrOxBEAFT6xmAc5BsoWB8V4l28V4diwj 8q0ThlEZGmeKMa9y2L+VS2vcdiswL48pRGvn05zFd88ihtSW3SzPuCzlCNGgC0wRWcKX cIakA9XNdpdtiIb4Th3Ve5TaRKz9wQxrpVdrHZnVMp+j7F8btRIRq2w08HjlPTREZKuA GWzw== 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 62-v6si1562702plb.383.2018.02.02.02.54.32; Fri, 02 Feb 2018 02:54:46 -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; 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 S1751923AbeBBKxO (ORCPT + 99 others); Fri, 2 Feb 2018 05:53:14 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:39280 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751129AbeBBKxG (ORCPT ); Fri, 2 Feb 2018 05:53:06 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id B128921985; Fri, 2 Feb 2018 11:53:04 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 796F120E1C; Fri, 2 Feb 2018 11:53:04 +0100 (CET) Date: Fri, 2 Feb 2018 11:53:04 +0100 From: Maxime Ripard To: Giulio Benetti Cc: Chen-Yu Tsai , Michael Turquette , Stephen Boyd , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: sunxi-ng: ccu-sun4i-a10: Fix mali changing dclk frequency Message-ID: <20180202105304.gow2znzgxqmuxgol@flea.lan> References: <1517354639-92978-1-git-send-email-giulio.benetti@micronovasrl.com> <20180131084349.du2ijvhh5rxa5vvt@flea.lan> <7be1e297-4fac-a7a2-a8cc-54061d4e2fde@micronovasrl.com> <20180201124551.kfyz6frx4lcx4wbz@flea.lan> <8c2fef37-8eb6-38c6-de3d-547edafac8b7@micronovasrl.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sfqjnlte6ae4g5v4" Content-Disposition: inline In-Reply-To: <8c2fef37-8eb6-38c6-de3d-547edafac8b7@micronovasrl.com> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --sfqjnlte6ae4g5v4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Feb 01, 2018 at 05:17:11PM +0100, Giulio Benetti wrote: > > > > What kernel version did you use? > > >=20 > > > Latest mainline. > >=20 > > I guess this patch could fix it: > > http://code.bulix.org/1kitrq-268936?raw >=20 > This should prevent from modifying parent clock. But my problem was > different. > > On A20, gpu_clk can have different PLL, not I've found out the way > to choose right one with assigned-parent-clocks. >=20 > I have patchset ready for adding A20 mali node, but I need some more > time to complete with OPP, then I will submit entire patchset. > > Now it works correctly, using right pll(dedicated PLL8), setting > right frequency. The point is that we really don't care about which PLL is actually being used, as long as the rate is correct and we don't break anything else. If the GPU rate is accessible through one of the other PLL, it makes even more sense to not use the GPU PLL and keep it disabled, since it will result in some power savings. > Btw, do I need to add a board using it, or can I add only Mali node > to sun7i-a20.dtsi(plus other little patches)? You can add it to the DTSI without a board using it (and actually, nothing should be in the board DTS, everything in the DT for the Mali applies to all boards). Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com --sfqjnlte6ae4g5v4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlp0Qw8ACgkQ0rTAlCFN r3R60w/+OryJIZIypTsduJLs4gmV6yQnKOshv/+GTHtldVdAaqcKfqvhEgnahNS8 ykMmMh0mD7nrI/pclNa9Eg4AEi3PBc/BuI1vlAFnSpwKey6+yO2b8SpHmsC2fYNs 5kALXb+sWF9T983dXhF0IfWgjulUefJq87B7+u67zlUmBTpq2ukaeI5ZaS3fW/Zv 9TA/2l2qYa3NFPkJv7IGIfvyRMbzDBHNJpBWuAFPU3PsayI5Ik+4157djnfcrYX0 k8ei0wfrgq8G6tB9cVadTmi3q2jbFz6waQOAUejJJKnmtJb69xUJoYEk7aR76Hxa gjv6oCvibhHhRFsIbMRJicf1G3veaYCzqeybpakuXIbWaOxe1Gq25fkOt+GQFp78 PlIUUR5msaYq0rGwSgHUkjcEFb3bBxh7MR73NxIv6WXaNePRETxHVnE3btMWdzds dHNpa+EDpJ51x0VNBosqKkbMrrQtKbGgCTYGjDb/nZVqlcKUkeZPOIbaJufBq/DI ruqBuFqBZ9E2OVss1T9ZZ3yszmkMrt6SfOfzJim+Y1v3r71S6+l6ZccOm1MJ6nvG et7s1RLS/fNpjP19od8pY6CFMXO+rKN3LOoqMcl4fh2tEAE5ZlG5YgwgHd9hHU/h FNatNSiPpDUwtNsJHZKICbAG2d619tveupbNF66T5Fqv4lGLhjM= =9Kj3 -----END PGP SIGNATURE----- --sfqjnlte6ae4g5v4--