Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp118556iof; Sun, 5 Jun 2022 22:56:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCzR7cSsNuJNusSLOasnFDhKGXVhYTDkvhpy8S6j6l+xenI4ccUBgllhi4P5onz7Egoj4n X-Received: by 2002:a63:5706:0:b0:3fc:a31b:9083 with SMTP id l6-20020a635706000000b003fca31b9083mr19332999pgb.333.1654494968147; Sun, 05 Jun 2022 22:56:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654494968; cv=none; d=google.com; s=arc-20160816; b=0CSKl4J0OEnklfQrLdoJ4F3heDdaQzbaQR7qqbq/xRpdzyHWuoxX3Y08CiPbk5nEjF WtuDbVbDr6x8W1+g/yUof+Y/SPOEjXDhN+pmRLqRrvl+KrXMbF0nFYB5K7YftdQjgcl6 q9imbbvP9PHFCcsEeYtvoZkypfEtVCM9Va72bhovc7quxuTMCi1NFOcP5BdXrZRmCqqP 33Nn/gn+07fwkzvYplXF/slR5i4DCvTI/Jpn88w+/YVOcQmCX4YxlUa/QlbT0GIto6PU qc3sn+K9Gbq33MT2ZZP1qeQL9QLwxrxGzlIk1XTQDkGMb/nZa501FSkmCLPT2jzJni6P phtA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3v0LT+L5TRQJB/iw4+CcRfgsTzHHSl9FTGeCvvdSOwc=; b=nKSvtY5/C0HlqeT/KXGqHsJqW+Pob75qZYEzmU21eWorwTUYw3i4czCKAFrl8CHi6U y3e1c9Aq3BMT19e+fCdpjTXI/sY2yqqVBMmzSgf8b2PUS71BCg/yI83SA7B54zk8PYUH dMR7LOjCosU29FjnVzMjxV0lcCoFWZiyk1a4ShiPhE0PfskDwZaBfWgyutIHjDF1Pv2l 3IAzCdVJFRaGPAQ5ageVIAftZCXZ+dPtGOLw/XxZmMsRSst58F53/TV5lCX5MgnnXYiY M/HUQjDO451Jd+cPhQEL+NiKTymdCyH+fJxJ0AU8gYs+EjxH8herh4LLVW3Tx8aheAKp Y2LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qgHPz3Td; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e8-20020a636908000000b003fd876c8527si6493311pgc.439.2022.06.05.22.56.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:56:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qgHPz3Td; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 525002D471F; Sun, 5 Jun 2022 21:44:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351349AbiFEQ53 (ORCPT + 99 others); Sun, 5 Jun 2022 12:57:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351351AbiFEQ5X (ORCPT ); Sun, 5 Jun 2022 12:57:23 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A1552DF0 for ; Sun, 5 Jun 2022 09:57:22 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id 25so15688530edw.8 for ; Sun, 05 Jun 2022 09:57:22 -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=hGbKLvmPQgTPp+7RZiMq7uc7KxaspoZnJNevq6b0SFCei0mVJYWrqQQ917MfA0tnD/ fW4WytQYwZSuwkQzf/CrYXim+BaI5oE/cYfflKz1GSCaAqtlUu/1fL1KUBODI0pouwee ZA4E0d6fuvgIZq4F2DA7rxzjQC7zHphVBgEbT7+XxVSHSV2O7S3hR9Xr/y7/W8SdnH1H XpaAV3cNz9vaE4BpV54i9MOZBMaao9GBdfbp+81nl3kUdXOk48snGTJVOYRB2y3QdsKh 2QNd6Rj1hJzfzEAv32BEA2gytMnPcjpu3NlxAfgHX9/0M1QV/zFHRQrb0Az2eq5Hq72z 6ChQ== X-Gm-Message-State: AOAM531deS6YWSIvt5INaPAvxQJaGTcnRGXoupAnCqyhMN5efhrKsZYe 4OW3qYmmkGj8gFQraP6TsM7blQ== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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>; }; }; -- 2.25.1