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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 84666C54EE9 for ; Tue, 13 Sep 2022 11:50:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AMRw653BhPMl4rmd6dpiG6Rxzcti08BmJRySBw21Q8o=; b=HCnSE0CJQdch9h c6Oo4ukcjBC6q9YKYUBC8e99qMG+clwYFa/DDNTTnILIeA5I2Mk2uUcUGmt1yl4STBcH1oCQfpOSB Zv5Mt2EznnvLTOirz4S8Xj/OmFZVbH2T0RPmb+xwEwDR0rJX238A8RQxTHFp5wQqm4yEDTceaX+Ng JRN0uI1xu2yXiDIovPCs165I22gnVsFUUtXE1uzp8TaExP3y2Fg6pCUH88ZmGfcO3W0FybbDTwprR r6MaPw9tqtjIWhL8jIpV6K3Ukhe3RfHGdvKBXayS9eFUUblsPTk95yZcDGdHYWzHy7dwFKQ+INENX DHFbGdZPIeiteWQ4Z/FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY4QH-009K3K-VQ; Tue, 13 Sep 2022 11:49:50 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY4Q9-009Jx5-A6 for linux-arm-kernel@lists.infradead.org; Tue, 13 Sep 2022 11:49:42 +0000 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oY4Pw-0006hk-LP; Tue, 13 Sep 2022 13:49:28 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1oY4Pv-00060G-Pj; Tue, 13 Sep 2022 13:49:27 +0200 Date: Tue, 13 Sep 2022 13:49:27 +0200 From: Marco Felsch To: Krzysztof Kozlowski Cc: "Peng Fan (OSS)" , krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, abelvesa@kernel.org, abel.vesa@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-kernel@vger.kernel.org, Peng Fan , linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: Re: [PATCH V3 0/2] clk: imx: introduce fsl,always-on-clocks Message-ID: <20220913114927.an5n5cv5tzd3lypc@pengutronix.de> References: <20220913092136.1706263-1-peng.fan@oss.nxp.com> <20220913102957.sir37bsdr5sayxal@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220913_044941_377905_46024E8B X-CRM114-Status: GOOD ( 23.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 22-09-13, Krzysztof Kozlowski wrote: > On 13/09/2022 12:29, Marco Felsch wrote: > > Hi Peng, > > > > On 22-09-13, Peng Fan (OSS) wrote: > >> From: Peng Fan > >> > >> V3: > >> Rename to fsl,always-on-clocks > >> > >> V2: > >> Use protected-clocks > >> https://lore.kernel.org/all/20220816130327.2987710-1-peng.fan@oss.nxp.com/ > >> > >> V1: > >> Use fsl,protected-clocks > >> https://lore.kernel.org/all/20220815033632.1687854-1-peng.fan@oss.nxp.com/ > >> > >> There are two cases that I wanna this property could serve: > >> Virtualization: root cell linux run in parallel with inmate cell > >> AMP: M7/4 runs in parallel with A53 > >> > >> The major case is: > >> Jailhouse hypervisor only support partition, so devices are partitioned. > >> But there is only CCM module that provides clock, the CCM is handled by > >> root cell linux, need make sure the root cell linux not shutdown the > >> clocks using by inmate cell. > >> > >> I was thinking whether need to provide a rate entry to ask root cell > >> configure the clk rate for inmate cell. But NXP downstream not have it, > >> see https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/clk/imx/clk-imx8mp.c?h=lf-5.15.y#n690 > >> So just leave the property as uint32-array. > > > > Can you please check my recent proposal? I recently stumbled over such > > an issue on the mx8mm-evk as well but with the 32k clock provided by the > > pmic. Unfortunately I forgot to add you to the to list, I will change > > that. If that proposal will fix your problem, I would like to go the > > generic way. > > > > https://patchwork.kernel.org/project/linux-clk/list/?series=676522 > > Your proposal does not change bindings. You cannot introduce new > properties without documenting them in the bindings. As said, it is a proposal. Bindings will be added if it would be accepted. Regards, Marco _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel