* [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in
@ 2021-03-18 11:13 Fabio Estevam
2021-03-18 11:13 ` [PATCH 2/2] arm64: dts: imx8mp-evk: Improve the Ethernet PHY description Fabio Estevam
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Fabio Estevam @ 2021-03-18 11:13 UTC (permalink / raw)
To: shawnguo; +Cc: linux-arm-kernel, qiangqing.zhang, Fabio Estevam
On the i.MX8MP EVK board there is a RTL8211 EThernet PHY and
a typical use case is to boot via NFS. In this case the Ethernet
PHY driver needs to be built-in, so select the driver as built-in
by default.
Reported-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
arch/arm64/configs/defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 8080978c27ca..40c14c5fac51 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -359,7 +359,7 @@ CONFIG_MESON_GXL_PHY=m
CONFIG_MICREL_PHY=y
CONFIG_MICROSEMI_PHY=y
CONFIG_AT803X_PHY=y
-CONFIG_REALTEK_PHY=m
+CONFIG_REALTEK_PHY=y
CONFIG_ROCKCHIP_PHY=y
CONFIG_VITESSE_PHY=y
CONFIG_USB_PEGASUS=m
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] arm64: dts: imx8mp-evk: Improve the Ethernet PHY description
2021-03-18 11:13 [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in Fabio Estevam
@ 2021-03-18 11:13 ` Fabio Estevam
2021-03-18 12:14 ` [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in Joakim Zhang
2021-03-29 1:03 ` Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2021-03-18 11:13 UTC (permalink / raw)
To: shawnguo; +Cc: linux-arm-kernel, qiangqing.zhang, Fabio Estevam
According to the datasheet RTL8211, it must be asserted low for at least
10ms and at least 72ms "for internal circuits settling time" before
accessing the PHY registers.
Add properties to describe such requirements.
Reported-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
index 7db4273cc88b..2c28e589677e 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -98,6 +98,8 @@ ethphy1: ethernet-phy@1 {
reg = <1>;
eee-broken-1000t;
reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <80000>;
};
};
};
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread* RE: [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in
2021-03-18 11:13 [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in Fabio Estevam
2021-03-18 11:13 ` [PATCH 2/2] arm64: dts: imx8mp-evk: Improve the Ethernet PHY description Fabio Estevam
@ 2021-03-18 12:14 ` Joakim Zhang
2021-03-29 1:03 ` Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Joakim Zhang @ 2021-03-18 12:14 UTC (permalink / raw)
To: Fabio Estevam, shawnguo@kernel.org; +Cc: linux-arm-kernel@lists.infradead.org
For these two patches:
Tested-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Best Regards,
Joakim Zhang
> -----Original Message-----
> From: Fabio Estevam <festevam@gmail.com>
> Sent: 2021年3月18日 19:13
> To: shawnguo@kernel.org
> Cc: linux-arm-kernel@lists.infradead.org; Joakim Zhang
> <qiangqing.zhang@nxp.com>; Fabio Estevam <festevam@gmail.com>
> Subject: [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in
>
> On the i.MX8MP EVK board there is a RTL8211 EThernet PHY and a typical use
> case is to boot via NFS. In this case the Ethernet PHY driver needs to be built-in,
> so select the driver as built-in by default.
>
> Reported-by: Joakim Zhang <qiangqing.zhang@nxp.com>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> arch/arm64/configs/defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index
> 8080978c27ca..40c14c5fac51 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -359,7 +359,7 @@ CONFIG_MESON_GXL_PHY=m
> CONFIG_MICREL_PHY=y CONFIG_MICROSEMI_PHY=y
> CONFIG_AT803X_PHY=y -CONFIG_REALTEK_PHY=m
> +CONFIG_REALTEK_PHY=y
> CONFIG_ROCKCHIP_PHY=y
> CONFIG_VITESSE_PHY=y
> CONFIG_USB_PEGASUS=m
> --
> 2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in
2021-03-18 11:13 [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in Fabio Estevam
2021-03-18 11:13 ` [PATCH 2/2] arm64: dts: imx8mp-evk: Improve the Ethernet PHY description Fabio Estevam
2021-03-18 12:14 ` [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in Joakim Zhang
@ 2021-03-29 1:03 ` Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2021-03-29 1:03 UTC (permalink / raw)
To: Fabio Estevam; +Cc: linux-arm-kernel, qiangqing.zhang
On Thu, Mar 18, 2021 at 08:13:29AM -0300, Fabio Estevam wrote:
> On the i.MX8MP EVK board there is a RTL8211 EThernet PHY and
> a typical use case is to boot via NFS. In this case the Ethernet
> PHY driver needs to be built-in, so select the driver as built-in
> by default.
>
> Reported-by: Joakim Zhang <qiangqing.zhang@nxp.com>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Applied both, thanks.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-29 21:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-18 11:13 [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in Fabio Estevam
2021-03-18 11:13 ` [PATCH 2/2] arm64: dts: imx8mp-evk: Improve the Ethernet PHY description Fabio Estevam
2021-03-18 12:14 ` [PATCH 1/2] arm64: configs: Select REALTEK_PHY as built-in Joakim Zhang
2021-03-29 1:03 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).