Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6406595rwn; Tue, 13 Sep 2022 03:58:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR7qG9+nEVwtOgbuJ1jTXVwqrxNCHP+fc4O7Gc6vyK7PtTss66g37bLA1kQsrZYH3ahBM7sy X-Received: by 2002:a17:90b:2250:b0:202:adf7:dd6d with SMTP id hk16-20020a17090b225000b00202adf7dd6dmr3282813pjb.208.1663066722316; Tue, 13 Sep 2022 03:58:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663066722; cv=none; d=google.com; s=arc-20160816; b=DczRN7inmxPuxGJikmNC6+3ohJ7OVqMYPVpyUlapNpgFLjNDXJ0iB8Pi7869EVUPWS ksidLIP/4ynjBpkDx25DPWzhJgu7WyrnMbZdNA7wn/ZI9erjncOxPBr3tZd3dtA6DQNs j8Qu9scne6R/Dbym3aqHr+6Y/oh6Lf2HSYw0w68+xgTJpiYnjfPNRHG4n6ayIgOta4lk E2lTRZlQlY/zV9nUdldvwoCKF5B111PFHpaRwlVTDbZY9cJhlj4nGfpHG7ZDH7EecSz6 UcHKVAgTvdeDTFdWZV7bTNjLwpikHmwiXBIIzWMckoN+S6HROkHJf6MEl3kVb0neKmPE 65sg== 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 :message-id:date:subject:cc:to:from; bh=Y5IuDQkx9JeTK5JNyZaH11lpycTpWOmrFEHfvsLkEsg=; b=Se4Wuumb3/o2nF5xdGiIsl8cwRR05bnTyoutrVL+f93880giCgwqvC8irieYeMtnlM Mb8gugOSeKCAi+qko1NUtT9N9bt51BKZHPMMTrJazvgt/DgSRZ2tUFIfVBTazJ68Ke/e +E9j56gTCUUmGYys/YreDbAMHqnRwQOg9iFdvbJr6/z2JZAN4fXW4/ADTpIT6VyePZHa 7ltq4YEw1/toECNf2Kk8DqCKAI1qx2PtlShbgA4t1/cfJELPc4N9Kcn/dzbrsZFM9m/t FsLkHfsOHzMoQEJJ/kvqY27xTdEbgANVfas3gZECnGDfnK2S4HjdB4UI+FHfhcF083zm LCqA== 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 x7-20020a17090a970700b002007f331feesi11867129pjo.18.2022.09.13.03.58.30; Tue, 13 Sep 2022 03:58:42 -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 S230233AbiIMKWH (ORCPT + 99 others); Tue, 13 Sep 2022 06:22:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231143AbiIMKV6 (ORCPT ); Tue, 13 Sep 2022 06:21:58 -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 3775156BB5 for ; Tue, 13 Sep 2022 03:21:56 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oY332-0002tb-SQ; Tue, 13 Sep 2022 12:21:44 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oY333-000TmE-EV; Tue, 13 Sep 2022 12:21:44 +0200 Received: from mfe by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oY331-004pJx-DS; Tue, 13 Sep 2022 12:21:43 +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: linux-kernel@vger.kernel.org, Peng Fan , linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [RFC PATCH 0/2] Propose critical clocks Date: Tue, 13 Sep 2022 12:21:39 +0200 Message-Id: <20220913102141.971148-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 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=ham 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 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