All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node
@ 2022-10-11 19:47 Shenwei Wang
  2022-10-11 19:47 ` [PATCH 2/2] arm64: dts: freescale: imx8dxl-evk: enable mii_select node Shenwei Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shenwei Wang @ 2022-10-11 19:47 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Shawn Guo, Sascha Hauer
  Cc: Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Shenwei Wang, Viorel Suman, Abel Vesa, Ming Qian, Peng Fan,
	devicetree, imx

add scu_gpio node in system-controller.

Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8dxl.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8dxl.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl.dtsi
index 5ddbda0b4def..9f79504f9d6a 100644
--- a/arch/arm64/boot/dts/freescale/imx8dxl.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8dxl.dtsi
@@ -133,6 +133,12 @@ clk: clock-controller {
 			clock-names = "xtal_32KHz", "xtal_24Mhz";
 		};
 
+		scu_gpio: gpio {
+			compatible = "fsl,imx8qxp-sc-gpio";
+			gpio-controller;
+			#gpio-cells = <2>;
+		};
+
 		iomuxc: pinctrl {
 			compatible = "fsl,imx8dxl-iomuxc";
 		};
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm64: dts: freescale: imx8dxl-evk: enable mii_select node
  2022-10-11 19:47 [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node Shenwei Wang
@ 2022-10-11 19:47 ` Shenwei Wang
  2022-10-27  2:06 ` [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node Shenwei Wang
  2022-10-29  2:50 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shenwei Wang @ 2022-10-11 19:47 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Shawn Guo, Sascha Hauer
  Cc: Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Shenwei Wang, Viorel Suman, Abel Vesa, Ming Qian, Peng Fan,
	devicetree, imx

The mii_select node is used to determine the fec1's interface
type. Using "enable-active-high" property to configure the
interface type as "RMII". Deleting the property as "RGMII".

Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
index ca2a43e0cbf6..35a8af2927ef 100644
--- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
@@ -90,6 +90,16 @@ reg_usdhc2_vmmc: regulator-3 {
 		enable-active-high;
 		off-on-delay-us = <3480>;
 	};
+
+	mii_select: regulator-4 {
+		compatible = "regulator-fixed";
+		regulator-name = "mii-select";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&scu_gpio 6 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+		regulator-always-on;
+	};
 };
 
 &eqos {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node
  2022-10-11 19:47 [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node Shenwei Wang
  2022-10-11 19:47 ` [PATCH 2/2] arm64: dts: freescale: imx8dxl-evk: enable mii_select node Shenwei Wang
@ 2022-10-27  2:06 ` Shenwei Wang
  2022-10-29  2:50 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shenwei Wang @ 2022-10-27  2:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Shawn Guo, Sascha Hauer
  Cc: Pengutronix Kernel Team, Fabio Estevam, dl-linux-imx,
	Viorel Suman, Abel Vesa, Ming Qian, Peng Fan, devicetree, imx

A soft ping to Shawn.

Thanks,
Shenwei

> -----Original Message-----
> From: Shenwei Wang <shenwei.wang@nxp.com>
> Sent: Tuesday, October 11, 2022 2:47 PM
> To: Rob Herring <robh+dt@kernel.org>; Krzysztof Kozlowski
> <krzysztof.kozlowski+dt@linaro.org>; Shawn Guo <shawnguo@kernel.org>;
> Sascha Hauer <s.hauer@pengutronix.de>
> Cc: Pengutronix Kernel Team <kernel@pengutronix.de>; Fabio Estevam
> <festevam@gmail.com>; dl-linux-imx <linux-imx@nxp.com>; Shenwei Wang
> <shenwei.wang@nxp.com>; Viorel Suman <viorel.suman@nxp.com>; Abel Vesa
> <abelvesa@kernel.org>; Ming Qian <ming.qian@nxp.com>; Peng Fan
> <peng.fan@nxp.com>; devicetree@vger.kernel.org; imx@lists.linux.dev
> Subject: [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node
> 
> add scu_gpio node in system-controller.
> 
> Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx8dxl.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8dxl.dtsi
> b/arch/arm64/boot/dts/freescale/imx8dxl.dtsi
> index 5ddbda0b4def..9f79504f9d6a 100644
> --- a/arch/arm64/boot/dts/freescale/imx8dxl.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8dxl.dtsi
> @@ -133,6 +133,12 @@ clk: clock-controller {
>  			clock-names = "xtal_32KHz", "xtal_24Mhz";
>  		};
> 
> +		scu_gpio: gpio {
> +			compatible = "fsl,imx8qxp-sc-gpio";
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +		};
> +
>  		iomuxc: pinctrl {
>  			compatible = "fsl,imx8dxl-iomuxc";
>  		};
> --
> 2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node
  2022-10-11 19:47 [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node Shenwei Wang
  2022-10-11 19:47 ` [PATCH 2/2] arm64: dts: freescale: imx8dxl-evk: enable mii_select node Shenwei Wang
  2022-10-27  2:06 ` [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node Shenwei Wang
@ 2022-10-29  2:50 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2022-10-29  2:50 UTC (permalink / raw)
  To: Shenwei Wang
  Cc: Rob Herring, Krzysztof Kozlowski, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Viorel Suman, Abel Vesa, Ming Qian, Peng Fan, devicetree, imx

On Tue, Oct 11, 2022 at 02:47:14PM -0500, Shenwei Wang wrote:
> add scu_gpio node in system-controller.
> 
> Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>

Applied both, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-29  2:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11 19:47 [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node Shenwei Wang
2022-10-11 19:47 ` [PATCH 2/2] arm64: dts: freescale: imx8dxl-evk: enable mii_select node Shenwei Wang
2022-10-27  2:06 ` [PATCH 1/2] arm64: dts: freescale: imx8dxl: add scu_gpio node Shenwei Wang
2022-10-29  2:50 ` Shawn Guo

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.