Received: by 10.223.176.5 with SMTP id f5csp751271wra; Fri, 2 Feb 2018 05:36:54 -0800 (PST) X-Google-Smtp-Source: AH8x227HU6Qrx0TfhsCjPTsbRw78Gr3W5uonpSxmwwSywrAd+VBw63Qm1QDOtB3S9gSXG1CJvjTH X-Received: by 10.99.6.201 with SMTP id 192mr4544344pgg.50.1517578614081; Fri, 02 Feb 2018 05:36:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517578614; cv=none; d=google.com; s=arc-20160816; b=RswiFGeIWgD1264dEA/9OO3+byXCMlPrRjkbwHxXUf6ubVIxW9awHeWFbAHhaaeB/i iVIst6ixWW/4MvCNrrrseWN46WK70V9l0l1QxJVJEVdHyW4D+JIKoqjNaNNd8w+3Nml4 s3PUH4dluKmE6gTKkYjvtqeM26moSkZgHG/02P5DxdKi8r4m0ivI2x07ZAS6vGbcuSVB wm7sBkPNYF4UAAUwivMdUjWdm2mcpOaW+/U6je1k0pAvVR+nMDJW3ngTOVKvztyvtlrF qZAf0OhJVSP4tO+a2odN2hVb/ntBRFMZLrnKs21j4X9t+TxpIEUQTev1y8Ze+/3/U6gp QheQ== 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=JFkeq7OTd3f7eV2bt0JT7sD3l/v4sV5nBHqSTc3fk4U=; b=ItrrSiyfKdqX4XYHT74P508SIOF1u1zD2csI7z9dwxxSPCbkAnhrqaB8fiY0/TtHlT cdLH3pWIQTs3APnd7A5/bU9YFcAbMpKpj9poBeuUXHZmUnfbenvreEfYKSvruzab0UaT 2mf0TWYZZa3qRCvvXgSR+YLhwuTRaYeOxaPSEnD0ddLbfCJZMV549vVHUd3oVVnjnjt5 60epEmFBKWemvGJRRNTTYYlnfzM31tK7Rpv4KJZ3H/CoVI24wTdBr7FtbIbWUbi3zoq0 5Axih7xV+7JAcUQvtIwcbO4mMEetTEjjkjVj7ZXcnUnelZz+AmOJCpSRwbNTMovOj6xJ b1TQ== 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 r84si1059019pfi.156.2018.02.02.05.36.38; Fri, 02 Feb 2018 05:36:54 -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 S1751960AbeBBNfe (ORCPT + 99 others); Fri, 2 Feb 2018 08:35:34 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:42686 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751646AbeBBNf2 (ORCPT ); Fri, 2 Feb 2018 08:35:28 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id B30AA21A31; Fri, 2 Feb 2018 14:35:26 +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 6DCC92198F; Fri, 2 Feb 2018 14:35:16 +0100 (CET) Date: Fri, 2 Feb 2018 14:35:16 +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: <20180202133516.uoy7ppuozd6cnldm@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> <20180202105304.gow2znzgxqmuxgol@flea.lan> <1b3d96ae-c6e6-4f58-b140-7b1738c12adc@micronovasrl.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="l4rzk2xpisn644pn" Content-Disposition: inline In-Reply-To: <1b3d96ae-c6e6-4f58-b140-7b1738c12adc@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 --l4rzk2xpisn644pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 02, 2018 at 11:57:20AM +0100, Giulio Benetti wrote: > Il 02/02/2018 11:53, Maxime Ripard ha scritto: > > Hi, > >=20 > > 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. > > >=20 > > > 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. > > >=20 > > > Now it works correctly, using right pll(dedicated PLL8), setting > > > right frequency. > >=20 > > 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. >=20 > Ah! I see the point now, very clever system for power saving. > I'm going to check if it's resolutive, > but it sounds good. >=20 > >=20 > > > 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)? > >=20 > > 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). >=20 > Sure. So I would also add the patch you've addressed me: > http://code.bulix.org/1kitrq-268936?raw > as a commit. Can I submit it in patchset to complete the whole job? I already sent that patch quite some time ago, I'll just apply it. You can send the DT patch :) Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com --l4rzk2xpisn644pn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlp0aRMACgkQ0rTAlCFN r3SAcBAAhhPt0DtFatN1dtDWCDvuHw3pA63c7pDGWLGG6gHckzoxZvGiVEjyXaJ7 mZgqeR70ZATpgHPWBP2apnnFOTfq2MQp/TksO6dePlt9BFJpwKPy2rMjfnJFK5qE a03oItlMFem1deR8/MxotfcdUE3GyMBQTpo2NqEv/9EoxRi7t3SnDvUaLTdLnSom cFHFGECOHqC4wBSD/B7EMqysgNQ68AHslIgy7qJ9dprFrIqvlnK+/KsxywTrTpdz H+I2KdGKLmdVTBjsA3Gme3DPyuDwrIspPAbH8oddmVarih9C3pFfck+TQJbjb8Bh 25HABSyRJVQFbOwNvhaPp8AEw1WGwM5hxGbC8XzQqpKgLf+4vtxNsV9CuK2cY7ZE LHzkb424tRB2PUnH0paigx+gCH97seZezYPQR9zIc1EovwTOwIdjqWsn5RNNM5Fa T6iKJYj/TxD6+mj0lSkerG+9/GwJsJO8g6/8Bm5irSdGDua1p5gK7uGRl++BYYaL pnSHG/I4jRH8Ocq1KpiWKJOQYA77rVONiLV5ob6t/Fm7yL7pp3k5Cp5s9VN4kXRN Yny8ycM0spWws35avmFqKCbT+lO42B1oxfG5xi6BmA74epewoWz749Iaq2lUFmyv 0nsExkCTXXN6xk6JpetYo+j+X/q8YLesaaLW5JFgCiaWKm39m7g= =X7sj -----END PGP SIGNATURE----- --l4rzk2xpisn644pn--