Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp242470rdh; Thu, 23 Nov 2023 02:49:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFL/yUMl5Enh5RQ/cPirW/dnZaE+s5mtT+OuF0cYlOk/YXXVJBKGtBsT84AhwnBfUsNr5z7 X-Received: by 2002:a05:6808:2788:b0:3ae:a6e:6ccc with SMTP id es8-20020a056808278800b003ae0a6e6cccmr4813810oib.49.1700736558935; Thu, 23 Nov 2023 02:49:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700736558; cv=none; d=google.com; s=arc-20160816; b=qg3EHNfWAZed7yZarnW18VzD/HIuserGclHiA+NWhjIOPxBtFuBX0HJMX5s2H1ir+u xkjdPm/lVtMpfwkSRD4tFNeZ4/IYhUfY6JHIrl34AxCrqTGNWLkX4rnFD3i9Tlg+M53t X5/ImKWNsX2PNP4fDQ+fVMuDdn+7644U8r/8hbXV5lfxr0Q1jGi4YTScyDiVIPYt19t5 TmAmsNcbNiJT+fuyJ0Mrm9kQ64eqT+pL4QBYiaqN1memQFGOgjKBdrYZUp2uE4Y05Ie5 SqDzUudiqKKWLoI5MnEm7bJehg/7AwxmosUR4A4my6zbw40g+8vV59DKzTtZ0skXpL7s TfBw== 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=6OJtBj/8iNcW1NpUc0NR6tOTNXQsT2D4WRAbcVkcgRM=; fh=SsINUIFTiqU1P6cDuz2cRyffhmyC2RfB9E71zg1enes=; b=wLCyK4/giWoMyh2AuSciEIDpp9EuLuF6heajYV/MW1wIfRgG49RQnn3Lwknyp25nos 48im6LE+UgLdOXtCYkG4VBv0U/2uFjn2KJjMtWValHaRbg+1ITW7uzs8tppVCskST37a QjXIZ1V58P/XDUfFZMBm3ooIBMvUiaYnJb1Wn5pXfDGIH7p3PyTgKXc1ZXi6PMF/oAPP h/QuvO4kJgiSThyleseS3dXFcFiDc8oa7JnajS/WNQ2gVIDnolm2zRxWdFjia5fNEBMh set5EjxwwgdGDRrgIfz+E7dMautSscuis5BlExDow4CPOPsVS15LnMFnFICNAya4kYme 61KA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id o126-20020a634184000000b005c1ccaca5c4si1027986pga.873.2023.11.23.02.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 02:49:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 66A6E8083A93; Thu, 23 Nov 2023 02:49:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344773AbjKWKtC (ORCPT + 99 others); Thu, 23 Nov 2023 05:49:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235338AbjKWKsr (ORCPT ); Thu, 23 Nov 2023 05:48:47 -0500 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 115ECD69; Thu, 23 Nov 2023 02:48:51 -0800 (PST) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 7518E1F8DC; Thu, 23 Nov 2023 11:48:49 +0100 (CET) From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Stefan Eichenberger , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v1] arm64: dts: imx8-apalis: set wifi regulator to always-on Date: Thu, 23 Nov 2023 11:48:12 +0100 Message-Id: <20231123104812.13906-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 23 Nov 2023 02:49:16 -0800 (PST) From: Stefan Eichenberger Make sure that the wifi regulator is always on. The wifi driver itself puts the wifi module into suspend mode. If we cut the power the driver will crash when resuming from suspend. Signed-off-by: Stefan Eichenberger Signed-off-by: Francesco Dolcini --- arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi index 5ce5fbf2b38e..f69b0c17560a 100644 --- a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi @@ -82,12 +82,9 @@ reg_module_wifi: regulator-module-wifi { pinctrl-0 = <&pinctrl_wifi_pdn>; gpio = <&lsio_gpio1 28 GPIO_ACTIVE_HIGH>; enable-active-high; + regulator-always-on; regulator-name = "wifi_pwrdn_fake_regulator"; regulator-settling-time-us = <100>; - - regulator-state-mem { - regulator-off-in-suspend; - }; }; reg_pcie_switch: regulator-pcie-switch { -- 2.25.1