Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3557905pxb; Mon, 4 Oct 2021 05:03:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8eBuNr8UPVogQfAsnkuleGR73P7mGdh/yIWMRKbIAv2CNb+ii5JupBmKxBrSu9sV/m7B1 X-Received: by 2002:a2e:a22c:: with SMTP id i12mr15374648ljm.214.1633349031816; Mon, 04 Oct 2021 05:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633349031; cv=none; d=google.com; s=arc-20160816; b=WMirzrJYrAiHotQ/bgNyEszF3Z7NVbcQei7AtBknQT2HmExP5CyA9qAzFMZPyjIGIC bKns/IcCcjgrs+yt9/NQGNyi5psrED9eJORIWrjZbFPTwtGhA4pbtL2kM0AOragoUpn5 znHW+BAy5eDukLrWlnW989iwUvO4aQx4AN0auSKDuO7QIPKCZU9mCBJUyCjsEhbabAYP sjf9JGTlSSlpSTdkii+7N2P3LqDH9b3etYXQKkpuio+RdGMQ1oupXr19dzHxD48lVWp9 8szpLIs/WEMybCRUrivePaBl7hXJZGLSFWpH1Sao1+Sk2qU1jLac4+QDHs3qPACc+HVE hGUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EogUV2KLn9Xh66RrvjGUumdoZMQgZXgQhpB8xk/NBSw=; b=r01ib7z587qNrRknEiSDlbsYcpUMOHIhrzEoh6q2+pGcppATrpw4EhxW8Ahgu+YcTH jQml+WCu9eIhiQWQ7aPXXYpPq4YfaUK7jeMM8DUpxXBSGptrU2hJ9wpsCayl3dUNnS70 HVeZo4gC3ko9B9I9KEMILIpVQUKOJQiXtKwwaSHzzroq5o1lHZPx/Qok9KtywO7LYcgQ FaeaKi4P+H7ZGpm8fGfKkUsNGvNcrRhx/mICsjzMd64De9mUBFdw4pmZgAK89BbAnwf/ eP1GTHFWYtnaXoW3gQ7B/qobLrmYgZPwdSuZ21pmsKtMh6DunTsRSA5Z+2oWjyDWfI6n Kx8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Kdd6xS/C"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e10si22994831edj.222.2021.10.04.05.03.21; Mon, 04 Oct 2021 05:03:51 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Kdd6xS/C"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233093AbhJDMCw (ORCPT + 99 others); Mon, 4 Oct 2021 08:02:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:43350 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbhJDMCv (ORCPT ); Mon, 4 Oct 2021 08:02:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EF37D6136F; Mon, 4 Oct 2021 12:01:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633348862; bh=KedfUiHTHFdKBqDMUFp//yfqESdnS5zwFhj4rJZj11Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kdd6xS/Cywh2ing8rz4BfiOjwLsEo+AmAJOIq/FPXIdMV6IumDmk8f7xmwmTxcBj8 QaAOj5pjFSt3mg26mdx/IUC6Guv0q/OqtF4blaPloqCvBGhAAqydEfzMCHQmNSWgbg G/AUK33RHDsVnwdAD6ZwIf3SSHWFBfUot1qFkl2Q70tOLd3KShBLMjL2v8mR1xtpRH dQsfbfieyg4mAfj0rU0NcTWogW23cGJcRmrFZ0TskO/ytefcW2FltRgXVOmn4wCRJa y0hB+M1rcnbI9m61Ifka6j0w15QpWVLNfXsHunHBxof530p3d75Z8yBDGJhcUQku3P ReDEcvO7waO2A== Date: Mon, 4 Oct 2021 20:00:57 +0800 From: Shawn Guo To: Martin Kepplinger Cc: robh@kernel.org, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, kernel@puri.sm, Guido =?iso-8859-1?Q?G=FCnther?= Subject: Re: [PATCH v1 3/6] arm64: dts: imx8mq-librem5: wire up the wifi regulator Message-ID: <20211004120054.GG15650@dragon> References: <20210913135706.309685-1-martin.kepplinger@puri.sm> <20210913135706.309685-4-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210913135706.309685-4-martin.kepplinger@puri.sm> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 13, 2021 at 03:57:03PM +0200, Martin Kepplinger wrote: > 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; Any reason you need to have this always-on? Shawn > }; > > 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 >