Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4535539pxb; Tue, 5 Oct 2021 05:19:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxd3OS8bgJ2xHVkxpzE8WWEHtORl1HxdecoClX+OQwNNs4cNCj53MY9tLfnO/wcvGQat66H X-Received: by 2002:a62:6446:0:b0:44c:6316:8740 with SMTP id y67-20020a626446000000b0044c63168740mr10175093pfb.37.1633436344223; Tue, 05 Oct 2021 05:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633436344; cv=none; d=google.com; s=arc-20160816; b=Pfnn6IbggHX7t3WVP1mBsEA6w92LX34nxfiL+f5M3KNxpLpwcNHkwT+TCtIAJEJDsS MR4EKFvOxrX0fY/1H3Ux1ZbmOtjnDPeFnVwKQ44FGur9yphQjwoZYbUhxAFhjsyoD7lz qWYOTnDMoe8F7rTJTkCCPmtLdmi3Hg3saUhY9sztoge5dehFZ3reAh3Id1IOZYGlthwQ H8JBoCFq8CiBaTX3v9sydMCPKxtx7kfAL48WhCW7LSBcuuMefFQeh437knayvvRftdYZ xSzwvkxJKLfTSemmB4n+YcwYyFRI3MJye8w+DFvdqINaO2TsNhUKXuuzumLIYKRM9eAN LJMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vyGQNBl9Z6KJ37VQAbE/yTFYJhyplH4W74GDlCnxM6Y=; b=UvuoVT+hyZi5Q2rhsudb/gnzWI6PfXgKbNM9Ek3uY1t4SJHVctxN9LqCTZiQP7PsJD M7j/s+eegNKetJWylDL5XCim/44sQKnSVTEN/07MvuBHDA69mYPXEEzLCfqKY/NpkrFc 0hPn5Mspz9rRa72raZroPzvRCRcwf3JrUIPi22W8uCzCFp1u/ATo7oB9dO2ItY9pzb5k OegQoftatolLMOcyslkTMg9UbsC3ICg2TpTI1TISjlJmR8vE1L3weede/rNtsxQHtPlA 8K419GRpXWxDJbZAfa82fx0HQzJGvXPuv661uwq118SCvVI6jPZ5kEPRZxArAVZpX9eD Pjfg== 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 x190si20088938pgd.572.2021.10.05.05.18.51; Tue, 05 Oct 2021 05:19:04 -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 S234526AbhJEMTz (ORCPT + 99 others); Tue, 5 Oct 2021 08:19:55 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:38296 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233784AbhJEMTy (ORCPT ); Tue, 5 Oct 2021 08:19:54 -0400 X-Greylist: delayed 336 seconds by postgrey-1.27 at vger.kernel.org; Tue, 05 Oct 2021 08:19:53 EDT Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id DC7CEFB03; Tue, 5 Oct 2021 14:12:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9MfrIIi09mzw; Tue, 5 Oct 2021 14:12:23 +0200 (CEST) Date: Tue, 5 Oct 2021 14:12:22 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Shawn Guo Cc: Martin Kepplinger , 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 Subject: Re: [PATCH v1 3/6] arm64: dts: imx8mq-librem5: wire up the wifi regulator Message-ID: References: <20210913135706.309685-1-martin.kepplinger@puri.sm> <20210913135706.309685-4-martin.kepplinger@puri.sm> <20211004120054.GG15650@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211004120054.GG15650@dragon> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shawn, On Mon, Oct 04, 2021 at 08:00:57PM +0800, Shawn Guo wrote: > 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? I think we can drop the `regulator-always-on` nowadays - it's wired up correctly as `vmmc-supply` so turned on accordingly. Will drop for the next revision. Cheers, -- Guido > > 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 > > >