Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6395002rwn; Tue, 13 Sep 2022 03:46:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR6ZSTLJdFGkAA4hKXekxMK4fV8KZiL/aFbVUK2thphbxF9vjm+6K1vafC75KVjF0vIrxrLL X-Received: by 2002:a17:902:b942:b0:178:4a7e:da04 with SMTP id h2-20020a170902b94200b001784a7eda04mr1708438pls.8.1663066006588; Tue, 13 Sep 2022 03:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663066006; cv=none; d=google.com; s=arc-20160816; b=THdvEihPKt+t3Cm6QSMbEKJObOAliOaEiMKZ151qVpDQKLaMz5py803eyzstLuR9sX yP6CYQg8hvGjm0aCQ2Kx464FwIuR5pNzbtIZ/R4VK12HyGn3CZWDODrwCIpZAra4NNOH ZLp8xI/HVNIRZJjKZIT6EZMLOYth7apU7c9YZ75et2IejrxYydHkIwunuRv2BRtsV0tK FR0v3b8agnN0U7eYo3Gxho5GNOB1TCMlmpO9XBaJf0KUWw5r4fKFJtkhAoDWmj4W5yds GE7ShLsInFFxHr0RJHmTt3kSJxj7MBshCpIvxG2QoyY/0BoCFN3wqZni9qkGFdBiDsSd hmrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=pgWBWIBw8gswLv92uS8JUxltlHnO9LWm1qv2F/5H7nM=; b=lY4Oo+irF3n1BRLeNjmzrlN6zr/mh2Pzyx7liXwJduK4hZLQ4afJLypoqwjS/RoyCD y/ZR/H0tfJQ+JaBV6D8n94RCArc6cte6hthLwQ9M+l4fcYueQ20OEnzyqFWVEbp4mu9Q 0meQfpoxQkI9rLsUlShGU9mvN7UxMdAyMyQVMLJDur7KzCdI8N7m20+yDWukrP2Btzgo lxBbAJfUBEetQ6zzEMdpt9sADR6oqXEvCP4k16t5OlAhnBfMGrCd1a5r7VoIbts9H/dH JvgThn/JXDjHVSz+qotcgDtYVQe7RXRaM0XT30FDWALOuZLsIRj5jwgQ1N+EnxDrgZaq ma2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a63ef11000000b0041bb87776ebsi11825959pgh.352.2022.09.13.03.46.32; Tue, 13 Sep 2022 03:46:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231596AbiIMKds (ORCPT + 99 others); Tue, 13 Sep 2022 06:33:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231574AbiIMKdp (ORCPT ); Tue, 13 Sep 2022 06:33:45 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4214B5D107 for ; Tue, 13 Sep 2022 03:33:44 -0700 (PDT) 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 1oY3ER-0004oR-Ha; Tue, 13 Sep 2022 12:33:31 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1oY3ER-00028x-0O; Tue, 13 Sep 2022 12:33:31 +0200 Date: Tue, 13 Sep 2022 12:33:30 +0200 From: Marco Felsch To: 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 Cc: Peng Fan , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, peng.fan@oss.nxp.com Subject: Re: [RFC PATCH 0/2] Propose critical clocks Message-ID: <20220913103330.owcemoinelvo5s45@pengutronix.de> References: <20220913102141.971148-1-m.felsch@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220913102141.971148-1-m.felsch@pengutronix.de> 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-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +Cc Peng (OSS) On 22-09-13, Marco Felsch wrote: > Hi, > > this proposal is to mark clocks as critical. It is somehow inspired by > the regulator-always-on property. Since sometimes we can end in circular > dependcies if we wanna solve the dependcies for a specific clock > provider. > > The property is generic so it can be used by every hw clock provider. So > it can be seen as generic implementation to [1]. > > [1] https://lore.kernel.org/linux-clk/20220913092136.1706263-1-peng.fan@oss.nxp.com/ > > Marco Felsch (2): > clk: add support for critical always-on clocks > arm64: dts: imx8mm-evk: mark 32k pmic clock as always-on > > arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 1 + > drivers/clk/clk.c | 18 ++++++++++++++++++ > 2 files changed, 19 insertions(+) > > -- > 2.30.2 > > >