Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8060207rwp; Wed, 19 Jul 2023 04:50:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlEFJHVxrosCABuZ2XskX0jZJbpEV4tD84l+rQjaXp2fghFjrGcZdMKQne4J4u7+Zitjd/Mp X-Received: by 2002:a17:90a:644f:b0:263:1f1c:ef49 with SMTP id y15-20020a17090a644f00b002631f1cef49mr2629599pjm.13.1689767445619; Wed, 19 Jul 2023 04:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689767445; cv=none; d=google.com; s=arc-20160816; b=Ugq7yEBVTK9IlfLVumpD2jllMMIUU5R1y3fBdiD4p7z2RwBwMxso6D3p/MHCrtEln7 vu1B3vR2JDhEUD1zVxj5wJVzn8kA+njXlWZZhuz6u72cFGgudkyQVnS6eJMR0/B+rB6d pRozCBuZ4spg4rLNoK6E172noED2JNabSOJwAowZxngHjn7/oV43n/YB9CgR+GtEnsmX raKSe5tkEKB6AHRsfZjBjMkxWZvduVlZG6GG5fGl6OITChbQW8LLecEP1NnlHPnvtgDd m3f0Mr+jnAzCl7jmNwHvsaxtOlBfu78gcg1oxuJ0/FmWs3pZOwSuAdHvjtha/roMurUs Se/w== 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=MSdPB9oiEpbaOVi+tO3RL5bqf6DBFI0pi7P36ku9dg4=; fh=CzCMK3rTO2cZV+kQzNvY9MGpIP1fLob9Xn+tMMV1Zng=; b=hqFcJogBPoK7L0h2JqjPMzgZzIYHdLT8knRDtpH8lJn+oE9hIB/iq2NcVOqwbGN9hw HQKDEgiHJEXJnyx5qpJaWfy9LVt7hYk1cLudezcOeDbvWruHDx/lG5H19tlEuDdxmUTS 1Jw53j7cqLqBv/wVVEn4EgHjDuJlac3wpAfSgVrXUoxXQB1kfPghSJPSXsa7KnB87Mkv ikNDqfBfNv6h9TlbpStPPFOwuc1H57coBzfX0Ro42mrY5SFZCVRdM4qD8znZtEkACoLK 9+z7PdbxD2TauBbEtGfaeUYpnsHm7e7nALOVS1PM1nSxMxLgrb4ga2l7rqt5jTXh2YNC o4jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=WNX3eKxT; 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 md7-20020a17090b23c700b0025be125bda9si1261682pjb.38.2023.07.19.04.50.33; Wed, 19 Jul 2023 04:50:45 -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; dkim=fail header.i=@norik.com header.s=default header.b=WNX3eKxT; 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 S230344AbjGSLoR (ORCPT + 99 others); Wed, 19 Jul 2023 07:44:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230120AbjGSLoK (ORCPT ); Wed, 19 Jul 2023 07:44:10 -0400 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 218AEC7; Wed, 19 Jul 2023 04:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=MSdPB9oiEpbaOVi+tO3RL5bqf6DBFI0pi7P36ku9dg4=; b=WNX3eKxTXMeqw3xHrBFpCXoTLe C4KhmHF9gM4h6SB+Z5XPfSxi6Sj/wFjvEbIe2Gv1U+InxysNlX02c0HcIfl25ECgcMP7GGr7YRwsn 20H0stYVgajGpgVaCwtpbtEJr8kPxhvNzmkxktBBzacarpY47wjDKMM3N8vEjRWXDJWYyHxK81hXo 9+Di+m0fGkVxWBbikM6Sfakmo7+1ib7vJ8q9cSdNurI1NC2/Twqlc9dBpL2xk2VFbDGUyg4yobsoz o/s83WPxvGM4JOB4gxUsHTjhgZf4C0xJ3yfyDsm19mVvVqW/ovqo0ZoGmPaobDg1nWL+2v1BdwxJz FMDgqXaw==; Received: from 89-212-21-243.static.t-2.net ([89.212.21.243]:56038 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1qM5b1-00DcDD-1o; Wed, 19 Jul 2023 13:43:55 +0200 From: Andrej Picej To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, S.Riedmueller@phytec.de, S.Mueller-Klieser@phytec.de, upstream@phytec.de Subject: [PATCH v2 2/3] ARM: dts: imx6: pfla02: Rely on PMIC reboot/reset handler Date: Wed, 19 Jul 2023 13:43:27 +0200 Message-Id: <20230719114328.2239818-2-andrej.picej@norik.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230719114328.2239818-1-andrej.picej@norik.com> References: <20230719114328.2239818-1-andrej.picej@norik.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Due to the missing signal connection between i.MX6 WDOG_B pin and the PMICs external reset, the internal i.MX6 watchdog is not able to reset the phyFLEX SoM properly. Thus disable the internal i.MX6 watchdog to prevent unexpected PMIC settings after reset. NOTE: This patch should not be backported as it might break existing uses and fixes in bootloaders. Signed-off-by: Andrej Picej --- Changes in v2: - this is a substitute patch with a proper fix. --- arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-pfla02.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-pfla02.dtsi index 80adb2a02cc9..65fd7b4a6f27 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-pfla02.dtsi @@ -464,3 +464,11 @@ &usdhc3 { vmmc-supply = <&vdd_sd0_reg>; status = "disabled"; }; + +&wdog1 { + /* + * Rely on PMIC reboot handler. Internal i.MX6 watchdog, that is also + * used for reboot, does not reset all external PMIC voltages on reset. + */ + status = "disabled"; +}; -- 2.25.1