diff mbox series

configs: am57xx_evm: fix ethernet phy configuration

Message ID 20171220150914.23083-1-nsekhar@ti.com
State Accepted
Commit b5914419ebd51596c0a0c7ab89e10a1b734954b2
Headers show
Series configs: am57xx_evm: fix ethernet phy configuration | expand

Commit Message

Sekhar Nori Dec. 20, 2017, 3:09 p.m. UTC
Configure AM57xx EVMs for the exact PHY part that is
present on the various boards. This makes U-Boot apply
configurations needed for this PHY like centering the
FLP timing.

For configurations to take effect, DM_ETH needs to be
enabled. Do that too.

Tested on BeagleBoard x15 and AM571x IDK.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 configs/am57xx_evm_defconfig    | 3 +++
 configs/am57xx_hs_evm_defconfig | 3 +++
 2 files changed, 6 insertions(+)

Comments

Lokesh Vutla Jan. 10, 2018, 10:54 a.m. UTC | #1
On Wednesday 20 December 2017 08:39 PM, Sekhar Nori wrote:
> Configure AM57xx EVMs for the exact PHY part that is
> present on the various boards. This makes U-Boot apply
> configurations needed for this PHY like centering the
> FLP timing.
> 
> For configurations to take effect, DM_ETH needs to be
> enabled. Do that too.
> 
> Tested on BeagleBoard x15 and AM571x IDK.
> 
> Signed-off-by: Sekhar Nori <nsekhar@ti.com>

Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

Thanks and regards,
Lokesh

> ---
>  configs/am57xx_evm_defconfig    | 3 +++
>  configs/am57xx_hs_evm_defconfig | 3 +++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
> index fc96401d3e55..04484e0ae213 100644
> --- a/configs/am57xx_evm_defconfig
> +++ b/configs/am57xx_evm_defconfig
> @@ -52,6 +52,9 @@ CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_BAR=y
>  CONFIG_SPI_FLASH_SPANSION=y
>  CONFIG_PHYLIB=y
> +CONFIG_PHY_MICREL=y
> +CONFIG_PHY_MICREL_KSZ90X1=y
> +CONFIG_DM_ETH=y
>  CONFIG_DM_PMIC=y
>  CONFIG_PMIC_PALMAS=y
>  CONFIG_DM_REGULATOR=y
> diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig
> index 681e2a54c8ff..6c33cc9030e0 100644
> --- a/configs/am57xx_hs_evm_defconfig
> +++ b/configs/am57xx_hs_evm_defconfig
> @@ -55,6 +55,9 @@ CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_BAR=y
>  CONFIG_SPI_FLASH_SPANSION=y
>  CONFIG_PHYLIB=y
> +CONFIG_PHY_MICREL=y
> +CONFIG_PHY_MICREL_KSZ90X1=y
> +CONFIG_DM_ETH=y
>  CONFIG_DM_PMIC=y
>  CONFIG_PMIC_PALMAS=y
>  CONFIG_DM_REGULATOR=y
>
Tom Rini Jan. 10, 2018, 4:44 p.m. UTC | #2
On Wed, Dec 20, 2017 at 08:39:14PM +0530, Sekhar Nori wrote:

> Configure AM57xx EVMs for the exact PHY part that is

> present on the various boards. This makes U-Boot apply

> configurations needed for this PHY like centering the

> FLP timing.

> 

> For configurations to take effect, DM_ETH needs to be

> enabled. Do that too.

> 

> Tested on BeagleBoard x15 and AM571x IDK.

> 

> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

> Signed-off-by: Sekhar Nori <nsekhar@ti.com>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index fc96401d3e55..04484e0ae213 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -52,6 +52,9 @@  CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_PHYLIB=y
+CONFIG_PHY_MICREL=y
+CONFIG_PHY_MICREL_KSZ90X1=y
+CONFIG_DM_ETH=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_PALMAS=y
 CONFIG_DM_REGULATOR=y
diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig
index 681e2a54c8ff..6c33cc9030e0 100644
--- a/configs/am57xx_hs_evm_defconfig
+++ b/configs/am57xx_hs_evm_defconfig
@@ -55,6 +55,9 @@  CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_PHYLIB=y
+CONFIG_PHY_MICREL=y
+CONFIG_PHY_MICREL_KSZ90X1=y
+CONFIG_DM_ETH=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_PALMAS=y
 CONFIG_DM_REGULATOR=y