From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B499C48BD8 for ; Tue, 25 Jun 2019 22:48:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0E70920645 for ; Tue, 25 Jun 2019 22:48:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561502921; bh=xEOhnZFYPU0kl7vlwY6b72T7LtUSnI7LyCrwDMJeNQc=; h=In-Reply-To:References:To:From:Subject:Cc:Date:List-ID:From; b=zDE74iSlv84duP64IrF8NcTESBiQUrFEBcAkQzqQhJ+pRh4x848BdBp5qHfaZPuAs pnKhTtaaofi93GOx9fJ18HI4l88uqYC6YSh8FwDRv0/m1CwzxZI9lUS8Hwe4FdDl4y tyszjaKzXPs5ElLGC/q0armTpSJQpaDeZuXu2npU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726362AbfFYWsk (ORCPT ); Tue, 25 Jun 2019 18:48:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:44944 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbfFYWsi (ORCPT ); Tue, 25 Jun 2019 18:48:38 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 58B2C208CA; Tue, 25 Jun 2019 22:48:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561502917; bh=xEOhnZFYPU0kl7vlwY6b72T7LtUSnI7LyCrwDMJeNQc=; h=In-Reply-To:References:To:From:Subject:Cc:Date:From; b=FAG/FBASb4pUoMWvnBeMVJZ0REWyiW3tGGOSCkbCnRUnarXch2LSrsVmXloLOpinJ fS3ZQRp87jP/VRVGWCaNuQVecJpKRt1HAn1h8eJiEwsgHafPZJbEU9j5b0nXTVR3II 3I8MKcBLA3DogQTMnLF/uRJLsR4dwoMZ8tHFxCCA= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190611180757.32299-3-paul@crapouillou.net> References: <20190611180757.32299-1-paul@crapouillou.net> <20190611180757.32299-3-paul@crapouillou.net> To: James Hogan , Michael Turquette , Paul Burton , Paul Cercueil , Ralf Baechle From: Stephen Boyd Subject: Re: [PATCH v2 3/5] MIPS: jz4740: PM: Let CGU driver suspend clocks and set sleep mode Cc: od@zcrc.me, linux-mips@vger.kernel.org, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil User-Agent: alot/0.8.1 Date: Tue, 25 Jun 2019 15:48:36 -0700 Message-Id: <20190625224837.58B2C208CA@mail.kernel.org> Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Quoting Paul Cercueil (2019-06-11 11:07:55) > Instead of forcing the jz4740 clocks to suspend here, we let the CGU > driver handle it. > We also let the CGU driver set the "sleep mode" bit. >=20 > This has the added benefit that now it is possible to build a kernel on > SoCs newer than the JZ4740 with CONFIG_PM. >=20 > Signed-off-by: Paul Cercueil > --- Applied to clk-next