From: Martin Kepplinger <martin.kepplinger@puri.sm> 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, "Guido Günther" <agx@sigxcpu.org> Subject: [PATCH v2 3/7] arm64: dts: imx8mq-librem5: wire up the wifi regulator Date: Tue, 5 Oct 2021 15:48:58 +0200 [thread overview] Message-ID: <20211005134902.2138731-4-martin.kepplinger@puri.sm> (raw) In-Reply-To: <20211005134902.2138731-1-martin.kepplinger@puri.sm> From: Guido Günther <agx@sigxcpu.org> Connect the wifi power regulator to the corresponding GPIO. Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> --- 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
WARNING: multiple messages have this Message-ID (diff)
From: Martin Kepplinger <martin.kepplinger@puri.sm> 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, "Guido Günther" <agx@sigxcpu.org> Subject: [PATCH v2 3/7] arm64: dts: imx8mq-librem5: wire up the wifi regulator Date: Tue, 5 Oct 2021 15:48:58 +0200 [thread overview] Message-ID: <20211005134902.2138731-4-martin.kepplinger@puri.sm> (raw) In-Reply-To: <20211005134902.2138731-1-martin.kepplinger@puri.sm> From: Guido Günther <agx@sigxcpu.org> Connect the wifi power regulator to the corresponding GPIO. Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> --- 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-10-05 13:50 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-05 13:48 [PATCH v2 0/7] arm64: dts: imx8mq-librem5: wifi updates and minor fixes Martin Kepplinger 2021-10-05 13:48 ` Martin Kepplinger 2021-10-05 13:48 ` [PATCH v2 1/7] arm64: dts: imx8mq-librem5: add reset gpio to mantix panel description Martin Kepplinger 2021-10-05 13:48 ` Martin Kepplinger 2021-10-05 13:48 ` [PATCH v2 2/7] arm64: dts: imx8mq-librem5: Fix led_r and led_g pinctrl assignments Martin Kepplinger 2021-10-05 13:48 ` Martin Kepplinger 2021-10-05 13:48 ` Martin Kepplinger [this message] 2021-10-05 13:48 ` [PATCH v2 3/7] arm64: dts: imx8mq-librem5: wire up the wifi regulator Martin Kepplinger 2021-10-05 13:48 ` [PATCH v2 4/7] arm64: dts: imx8mq-librem5: delay the startup of the SDIO Martin Kepplinger 2021-10-05 13:48 ` Martin Kepplinger 2021-10-05 13:49 ` [PATCH v2 5/7] arm64: dts: imx8mq-librem5: add power sequencing for M.2 cards Martin Kepplinger 2021-10-05 13:49 ` Martin Kepplinger 2021-10-05 13:49 ` [PATCH v2 6/7] arm64: dts: imx8mq-librem5: Limit the max sdio frequency Martin Kepplinger 2021-10-05 13:49 ` Martin Kepplinger 2021-10-05 13:49 ` [PATCH v2 7/7] arm64: dts: imx8mq-librem5: set debounce interval of volume buttons to 50ms Martin Kepplinger 2021-10-05 13:49 ` Martin Kepplinger 2021-10-15 1:46 ` Shawn Guo 2021-10-15 1:46 ` Shawn Guo 2021-10-15 7:18 ` Martin Kepplinger 2021-10-15 7:18 ` Martin Kepplinger
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211005134902.2138731-4-martin.kepplinger@puri.sm \ --to=martin.kepplinger@puri.sm \ --cc=agx@sigxcpu.org \ --cc=devicetree@vger.kernel.org \ --cc=festevam@gmail.com \ --cc=kernel@pengutronix.de \ --cc=kernel@puri.sm \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=phone-devel@vger.kernel.org \ --cc=robh@kernel.org \ --cc=shawnguo@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.