Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4613115pxb; Tue, 5 Oct 2021 06:51:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjERcSvQMLW26ZSlJ4vXu4qoDbw996VkiYUlrWxOJsbq65dooAVPwKUsZyXUSLai6J7Q0q X-Received: by 2002:a17:90a:5889:: with SMTP id j9mr3927290pji.91.1633441893157; Tue, 05 Oct 2021 06:51:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633441893; cv=none; d=google.com; s=arc-20160816; b=t8J0b9/+BJaK49Fcgh38nswy9+gkheARL2M3cWiK4c//dzQVRZgAsRbIEk28tVi7QI D95m2bhDFWbsMucwfdNSji0f7n+qbr2IvUrzMzGbVzphWTI+TBplpj88nuqzH6YH1oM9 Uyo2PsVSwJd1ImzTbzFKAFo2/FMinkjpKmS0kqu902pb32r+RwUe5IyUh5WFn5tHOcz7 xEuiq5spFfKcsg0Z1voa4BXJ1m/II38btd8ZLPNLjPJarKD4mB/2MsO9Ou4IY1fv0j6D cwX9kPWI7AB/AXF5NX/Yq1heNONn+C2Z5LPVcH49FsR0X2Pq+ArTn8+vuSWA/Qzr+YRN ariQ== 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; bh=rfaBV9/2he12wnw8PDOrSTl/2hBNKGLHifNMGzcdbNo=; b=vvmr3CzsDy0Gn0/B8XKHtfo5M9SDPdE3w9zFxN4ALLTnbOnSEi1vbzt/wuy9hMcx9J tC+sm74CTFnfnBXFE/VSM0F3eKvB6fcJTezZbzWDlMtb3BlyjImFsHBKX0KFqUvuOoqf bEaWxRztv/z1ss88c3/nHfrp0gLVkQOKFzmUejPtuFY40Vesn0YEXQBQ0v9BxsEJeGLI yBFQclKlBLYKB0YiVQnOgk8m9U+Tu0hXdfsEUavVuSH1wpzXTfEEs33+BCd3isUkMDrb 2IdqWVQeZyvWw+QXzCKPENbgez31HBsa73SzfL4T3ZKdBURL/Xcl27EObCT9zVT4SaLX 2gCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si23495289pgp.537.2021.10.05.06.51.18; Tue, 05 Oct 2021 06:51:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235221AbhJENvx (ORCPT + 99 others); Tue, 5 Oct 2021 09:51:53 -0400 Received: from comms.puri.sm ([159.203.221.185]:43984 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235085AbhJENvw (ORCPT ); Tue, 5 Oct 2021 09:51:52 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id A2E80E1294; Tue, 5 Oct 2021 06:49:31 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uO1RGhr-fI6N; Tue, 5 Oct 2021 06:49:31 -0700 (PDT) From: Martin Kepplinger To: martin.kepplinger@puri.sm Cc: devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, kernel@puri.sm, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, robh@kernel.org, shawnguo@kernel.org, =?UTF-8?q?Guido=20G=C3=BCnther?= Subject: [PATCH v2 3/7] arm64: dts: imx8mq-librem5: wire up the wifi regulator Date: Tue, 5 Oct 2021 15:48:58 +0200 Message-Id: <20211005134902.2138731-4-martin.kepplinger@puri.sm> In-Reply-To: <20211005134902.2138731-1-martin.kepplinger@puri.sm> References: <20211005134902.2138731-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guido Günther Connect the wifi power regulator to the corresponding GPIO. Signed-off-by: Guido Günther Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 95bbaa108805..9a309b1d0a90 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -138,9 +138,14 @@ reg_vsys_3v4: regulator-vsys-3v4 { reg_wifi_3v3: regulator-wifi-3v3 { compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wifi_pwr>; regulator-name = "3V3_WIFI"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + gpio = <&gpio3 10 GPIO_ACTIVE_HIGH>; + enable-active-high; + vin-supply = <®_vdd_3v3>; }; sound { @@ -638,6 +643,13 @@ MX8MQ_IOMUXC_SD2_RESET_B_USDHC2_RESET_B 0xc1 >; }; + pinctrl_wifi_pwr: wifipwrgrp { + fsl,pins = < + /* WIFI3V3_EN */ + MX8MQ_IOMUXC_NAND_DATA04_GPIO3_IO10 0x83 + >; + }; + pinctrl_wdog: wdoggrp { fsl,pins = < /* nWDOG */ -- 2.30.2