Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2878434pxv; Mon, 12 Jul 2021 04:14:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxf175geM2OdphbMK4lvKv1MuT+fEEaoWbMTVv9bPIBXUXUYiSgSNE+V9GdiNGAsMln8iyV X-Received: by 2002:aa7:c799:: with SMTP id n25mr62299463eds.16.1626088459470; Mon, 12 Jul 2021 04:14:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626088459; cv=none; d=google.com; s=arc-20160816; b=waF7DAE6pqjyrwYWH0skF7t9+5+gyySgBjJPDK5jcVx3GJCuuMUT8hYWUXsMDxajyL z+hba+5IkY0JEcEXG28hMHwUMuMIKFlwlutN/g9DZQI/VcAWmn/PW5gLg3GVT7qejqV0 tTBKGkfxwf7vVOdwW3RqIMJfH9QowlV9bNqdgfBFFjVdSwv4OtbL4xFQMim2QcbtsC9O 5pWqyjwl9vPI6NHTtF01WS27w742LMp2diBNmWnx2wnkpUElxyAUre8TrZktL2BviYdV GBEa2ANQWHZN16bXwMTgOMK+ey1vVgFvrLaaf+zwTIhlbp1LIahlYYUkkKLuQ/3/EvtH B9SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lr0sUsqCpEa50kpUVtq44Yoz0yspd1c3e4O7gVXJEL4=; b=oKSt1691NR54TfHoyFU9u4SMVM1/u59s2JCcwO3FBUqDRnWOttyDpeYRSvnKHrMHqJ lgm6He9oSG146z0tZtsTzOvc+7h+rOkYHnIM6RR5aunlf6lXBbIlTYQkkKn9eckFgZ2f CKX2Hcn8dX6kxi26JVpDFGEGYf8KrnSX0Z0Xfsjs5xEqmwaBywZHWMWPzxreOf5UasCj Rn2eWmoy1+Du0rGsErOoMkTFTUBhqpPIdQNJvOirclaIk8nvJh/+f5hfBUpJxKif6eDn 3oxosY4BrvRBzUc9bRL4BeewyDNycgJbb4kOoLigIh5Ik3c0gWjDnJRPVCmz/DxAySOG 8zyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IqcY7kab; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw27si16420228edb.298.2021.07.12.04.13.57; Mon, 12 Jul 2021 04:14:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IqcY7kab; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234299AbhGLKuE (ORCPT + 99 others); Mon, 12 Jul 2021 06:50:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:34908 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234167AbhGLKts (ORCPT ); Mon, 12 Jul 2021 06:49:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4C58C61106; Mon, 12 Jul 2021 10:47:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626086820; bh=ZYpcfcf7qgIM+Qx1cNCzTr/iRgF5v3a7dsuOCWZerQI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IqcY7kabzCOe/xumC/yEPj+39L0m9zh4Y1QLct1cLj3pAq2sT8QHX8GWDYGDCeSdr sxrFVI3WeeWaSwKMaPfubJg0bHl/C78i+luF5jkQo4rGWBazJ1d8kGFi/2p4/rpEU4 VnngVKoZuaGqdrZNau1NDR0gl1EIUWMvIftaZ4RZlyB3K4dYo425Z7ltrJhnno9u/O 6z80yyGci6U5/fvp7OgpcigzdRpEWaYKF6qJSY93oUNCnQEZBrFEeQi50d1hv5H1FZ FaRf3PPRCGo7hq3m9BR9IeHjZowaxtPgfHiOm05e6+sqwwrjHg0DCT9h1y3hHcgYtw G74jBB5+G306w== From: Mark Brown To: Matthias Brugger , Mason Zhang Cc: Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mason Zhang , linux-mediatek@lists.infradead.org, wsd_upstream@mediatek.com, linux-spi@vger.kernel.org, leilk.liu@mediatek.com Subject: Re: [PATCH 1/2] spi: mediatek: add no_need_unprepare support Date: Mon, 12 Jul 2021 11:45:43 +0100 Message-Id: <162608669456.4543.1877349027408478150.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210629100814.21402-1-mason.zhang@mediatek.com> References: <20210629100814.21402-1-mason.zhang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Jun 2021 18:08:15 +0800, Mason Zhang wrote: > This patch add no_need_unprepare support for spi, if spi src clk is > MAIN PLL, it can keep the clk_prepare and will not cause low power > issue. So we no need do clk_prepare/clk_unprepare in runtime pm, > and it will get better performance, because clk_prepare has called > mutex lock. > In the same way, > clk_get_rate also has called mutex lock, so we moved it to spi_probe. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/2] spi: mediatek: add no_need_unprepare support commit: 162a31effc4182dd5a0675d9fd0336d5096e0ad3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark