Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp150263pxb; Mon, 13 Sep 2021 15:34:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZ5a7qbI5T67NEQqLjrYtahJDnd4dAu0Sbllmysmhh/uHRH4A9r4WR9N7BPSvK26A3OhiP X-Received: by 2002:a5e:a913:: with SMTP id c19mr10709470iod.31.1631572489979; Mon, 13 Sep 2021 15:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631572489; cv=none; d=google.com; s=arc-20160816; b=koHrhRxiN9pdg57Y3KlBqJz74Qkum5C7tHfCRRiegNuMHTqJjvHfP3Qo6dhs/tZWa+ FuBDv08U8zuqMtIYeoFxVk0c1+V4QZkyjqbXLLFctnnnX4xcYk0yFVIeiNIz92oPvEq7 yzO1l0rqVj/ycw1JA6wyhd2rybE/yjAcvWah1yRxhHgJcIrzZXNJSsWdTOdWKGaWh1nQ DheEEGgRt5fJAxw01cMZHtNTFcHdDzX+leLgPYaHhoydlWlrWCzY7o4viGnYRpk5A3BY SinTQgOOb7d2biOs+dXodbeHd9jc3CEWhCx1+MmLLIpm6ExTvnl57/vfdb6r3ZM8fD+l XIKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from; bh=+38KajOb84I/BF6TzFHGeOOBD+Uvbf3ds3Pq7xNvUd8=; b=tzzGTZQsRjh/GrrfExOr6Ltba+G8tXknAJLJsSzDQllTIYkxE/5ivMC8rmOTw+2fFB mHC4LlyPwA3yYdhoIbRjFJYLUtBldyyhyRW9pVCnCUr+lXSg6mJHRwMxefA3AFpUhlle 4ogAokpajU1gaINxX1wMMDEDVotyVfl/Tx0uIjZF0qaue6o6vLG17C6gnNGwdj3ViJxK HHfeQY1juQvir3I8Z3MMAAVtJxaEKRRPnZ5E2qlMPX+j7mUZKfG8CyQnkDk0PzqqhcD4 an1wiiFaEmZ+S4oqPhMglm00SBv+PfxDcLLDtYRb32LcRs74MurLCLWK4vBZcqAgu8RF V6bw== 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 w5si7875212ilc.127.2021.09.13.15.34.37; Mon, 13 Sep 2021 15:34:49 -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 S243518AbhIMOCY (ORCPT + 99 others); Mon, 13 Sep 2021 10:02:24 -0400 Received: from comms.puri.sm ([159.203.221.185]:39756 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245421AbhIMN7T (ORCPT ); Mon, 13 Sep 2021 09:59:19 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 1CCC0E125E; Mon, 13 Sep 2021 06:57:34 -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 fjPrl8H4lvkd; Mon, 13 Sep 2021 06:57:33 -0700 (PDT) From: Martin Kepplinger To: robh@kernel.org, shawnguo@kernel.org, kernel@pengutronix.de, festevam@gmail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, kernel@puri.sm, =?UTF-8?q?Guido=20G=C3=BCnther?= , Martin Kepplinger Subject: [PATCH v1 3/6] arm64: dts: imx8mq-librem5: wire up the wifi regulator Date: Mon, 13 Sep 2021 15:57:03 +0200 Message-Id: <20210913135706.309685-4-martin.kepplinger@puri.sm> In-Reply-To: <20210913135706.309685-1-martin.kepplinger@puri.sm> References: <20210913135706.309685-1-martin.kepplinger@puri.sm> 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index ba26c6ee98a0..b5562c8f9a3c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -138,9 +138,15 @@ 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>; + regulator-always-on; }; sound { @@ -638,6 +644,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