From patchwork Sun Jun 5 16:57:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Nazzareno Trimarchi X-Patchwork-Id: 12869831 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 8585CC43334 for ; Sun, 5 Jun 2022 16:58:46 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oKrwQF/IHXnSsYoVaSiu3QF7VL5Rj/+ZZ/JQRretx0Q=; b=za3gKIKBWDRReK r1oXWFzKh2Xsq3M4ZCOrtQdRuA2JydfvjXZGkwNQT2UUZNzRQabtG8hutdT9ZksA2tJl9+we45caT 3g+T2f51FfJVoRph2NRsJE2U2RQqFBArE/sTxFAOE2Bs6OHmCWucRbmGJNZQ2d6ZuhNFAs/sOK9Ly Q0hGcCU9HgcQ85ui4to+HciblrnLUomtFAlQha48ay1XcJiLmyFd+ziwHbCmnStQu9a9VmnJP0W8F 64c+9dPhTaYGhNtnGTrPLdlU0mFGXQCMP43XU1j54fqjOvPuG1Kad7CShFY2tYEeLjZ+7P+f1dECW QuerDJeXvn9tp9a9JbOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nxtZ9-00F0WW-O0; Sun, 05 Jun 2022 16:57:27 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nxtZ6-00F0VY-8n for linux-arm-kernel@lists.infradead.org; Sun, 05 Jun 2022 16:57:26 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 25so15688529edw.8 for ; Sun, 05 Jun 2022 09:57:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3v0LT+L5TRQJB/iw4+CcRfgsTzHHSl9FTGeCvvdSOwc=; b=qgHPz3TdaReH1cxeIq3iG4KrUVBqsYSjLu0v6ZXFUu4mSp/VWoQxiRWRgJw4h8ho16 uNlDNpsXC6iGVELbks/3P6Vz9uee3hvq6SFQBGRqMVhMqlBZmBw/uEP7uc5Ljg5DkzI8 9c873cCS/ZEOz7l2+jnDZEg3kN8rlsEpIZui0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3v0LT+L5TRQJB/iw4+CcRfgsTzHHSl9FTGeCvvdSOwc=; b=Ztoy9ehfml//Fx5jEFy42Q+TkXBvuPGZ9cohdLeLlemdelPa6QAr1eznL9Jw/fEOmN N3yhrJi6kI7/EenqZbfK0U/APZFHQc9PQ9/avemvbvleM3n2tmRoiuJD1Eau+B26BJ2b dnksXl7hNMhkBoxJhtvigND6fAeIbBV2Rngy9/5L/vfsHc7esj5VqLAeyKnlOyYqj+7h 5RZG2aBz/huT+kQbGhqpLzT3+m7EpyIur9DniXAhS5LAXequv4piZjq9fL4VHL8ej00n g8IvISqTeIOWYUnZoeIFDm+9FQDL2mravBUu+natLGO55I0tjbzyzbBIOUiieGRD01A1 NR2g== X-Gm-Message-State: AOAM531PDtz5+Yo12jrejmQokfarZwBbqmewtOuedu0797uK7eYK2wdt W6k8sB2/voP6BTCN8JmskIBicQ== X-Google-Smtp-Source: ABdhPJyIqsYGrJlIqouyy8UvdJUsQ3odJXmCfIH6JmhZ2556z5SJp5hqcbos3Vx+7ajkmq2Yr/8d3Q== X-Received: by 2002:a05:6402:4410:b0:427:ab6f:a39a with SMTP id y16-20020a056402441000b00427ab6fa39amr22262247eda.120.1654448240628; Sun, 05 Jun 2022 09:57:20 -0700 (PDT) Received: from localhost.localdomain (mob-83-225-9-201.net.vodafone.it. [83.225.9.201]) by smtp.gmail.com with ESMTPSA id b12-20020a170906660c00b0070e3f58ed5csm3260761ejp.48.2022.06.05.09.57.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 09:57:19 -0700 (PDT) From: Michael Trimarchi To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "Ariel D'Alessandro" , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: Dario Binacchi , linux-amarula@amarulasolutions.com, devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [RFC PATCH 3/3] arm64: dts: imx8mn-bsh-smm-s2/pro: Add pmic clock connection Date: Sun, 5 Jun 2022 18:57:03 +0200 Message-Id: <20220605165703.1565234-4-michael@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220605165703.1565234-1-michael@amarulasolutions.com> References: <20220605165703.1565234-1-michael@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220605_095724_346280_DD2DD606 X-CRM114-Status: GOOD ( 11.29 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org pmic clock is connected to svns_rtc using RTC_XTALI pin so we need to mark this clock as critical. The clock source even the wifi/bluetooth chipset Signed-off-by: Michael Trimarchi --- arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi index c11895d9d582..072d2c480f20 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi @@ -28,6 +28,8 @@ usdhc2_pwrseq: usdhc2-pwrseq { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc2_pwrseq>; reset-gpios = <&gpio4 27 GPIO_ACTIVE_LOW>; + clocks = <&bd71847 0>; + clock-names = "ext_clock"; }; }; @@ -92,6 +94,7 @@ bd71847: pmic@4b { rohm,reset-snvs-powered; #clock-cells = <0>; + clock-critical = <1>; clocks = <&osc_32k 0>; clock-output-names = "clk-32k-out"; @@ -235,6 +238,8 @@ bluetooth { shutdown-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; device-wakeup-gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>; host-wakeup-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; + clocks = <&bd71847 0>; + clock-names = "lpo"; max-speed = <3000000>; }; };