From patchwork Thu Sep 3 04:00:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 11752341 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8FD8813B6 for ; Thu, 3 Sep 2020 04:00:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 771482080C for ; Thu, 3 Sep 2020 04:00:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=sholland.org header.i=@sholland.org header.b="OYCMtJ33"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="J8vToR7O" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725967AbgICEAW (ORCPT ); Thu, 3 Sep 2020 00:00:22 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55131 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbgICEAT (ORCPT ); Thu, 3 Sep 2020 00:00:19 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 63ED45C01DE; Thu, 3 Sep 2020 00:00:18 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 03 Sep 2020 00:00:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=uqR1cgSeYmys9318Brf3VDOyr7 tVz0rUsRyqpo86SAQ=; b=OYCMtJ338DOKcpvTZEErWdjRjF3A/PTia/BXX/nkfh mzYu5kI21YKN3WeaNHdQrREuh7xhGKc8wXoXo/Vjhr08t2twlHL6yTFG1kjJiYkc 8mYrrP7UlOccMGfGXqbl65Tg7SSIt0+OoIwkk4uTrS4oQOt3jFJoCaXPQ+p086Gb kPoZlk4abAeP0g4PVM0LVtWcEaq7xcedoUGZuXXeCftYtBNDz9fLAxaPVSv2hkoQ YPJ8WwQFaQaZiOgiM/cy1TiPCArxMbQLaxNi2A/wfdNvSKknOK3SXgT+RMB/TQSX qdkmtjZXUdIlq3qVs2DAGSjbF42WqE2MQUdQf1WVvYgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=uqR1cgSeYmys9318B rf3VDOyr7tVz0rUsRyqpo86SAQ=; b=J8vToR7OP3IyXq5mJI9/j8+cwGk24lHom h6toLO1izrGCIh3NlkuWX4DAhqTVS/NWHuZSQa0V+YtnmlEbrgFJI7gYDSGIbIZF DuY7j1gaOhqyhReuAJ6nz7epvb5a5W61+QTY9XIAlnK/SK0ZKG/VrOmgqqYdZy7K EWi3nDqmsw5+pBTwRwFwjFuC+lU2qNVubDYdmC6rdhg9vGYbMZAl2rK4CiNFV9Ag Waqbd+aHS5g/ogEpvfbNOK/9SBRXUce0n79yXi1UnMGZBxOsEMhXtncHHr0KBH0P +A534O4WpctSzExK27UkJ5IonHR777SLQ7SSQXEOBuTOEilKn91Ug== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegtddgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpedvffeijeeivdfgjefgtedutdelkefhuedttdeugeeiteefvddvfeduheei udetleenucffohhmrghinhepshhpihhnihgtshdrnhgvthdpkhgvrhhnvghlrdhorhhgne cukfhppeejtddrudefhedrudegkedrudehudenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 8F38830600B4; Thu, 3 Sep 2020 00:00:16 -0400 (EDT) From: Samuel Holland To: Stephen Boyd , Michael Turquette , Andy Gross , Bjorn Andersson , Maxime Ripard Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Samuel Holland Subject: [PATCH RESEND 0/2] Common protected-clocks implementation Date: Wed, 2 Sep 2020 23:00:13 -0500 Message-Id: <20200903040015.5627-1-samuel@sholland.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Stephen, Maxime, You previously asked me to implement the protected-clocks property in a driver-independent way: https://www.spinics.net/lists/arm-kernel/msg753832.html I provided an implementation 6 months ago, which I am resending now: https://patchwork.kernel.org/patch/11398629/ Do you have any comments on it? Thanks, Samuel Samuel Holland (2): clk: Implement protected-clocks for all OF clock providers Revert "clk: qcom: Support 'protected-clocks' property" drivers/clk/clk-conf.c | 54 +++++++++++++++++++++++++++++++++++++++ drivers/clk/clk.c | 31 ++++++++++++++++++++++ drivers/clk/clk.h | 2 ++ drivers/clk/qcom/common.c | 18 ------------- 4 files changed, 87 insertions(+), 18 deletions(-)