All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] configs: am57xx_evm: fix ethernet phy configuration
@ 2017-12-20 15:09 Sekhar Nori
  2018-01-10 10:54 ` Lokesh Vutla
  2018-01-10 16:44 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Sekhar Nori @ 2017-12-20 15:09 UTC (permalink / raw)
  To: u-boot

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(+)

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
-- 
2.9.0

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

* [U-Boot] [PATCH] configs: am57xx_evm: fix ethernet phy configuration
  2017-12-20 15:09 [U-Boot] [PATCH] configs: am57xx_evm: fix ethernet phy configuration Sekhar Nori
@ 2018-01-10 10:54 ` Lokesh Vutla
  2018-01-10 16:44 ` [U-Boot] " Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Lokesh Vutla @ 2018-01-10 10:54 UTC (permalink / raw)
  To: u-boot



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
> 

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

* [U-Boot] configs: am57xx_evm: fix ethernet phy configuration
  2017-12-20 15:09 [U-Boot] [PATCH] configs: am57xx_evm: fix ethernet phy configuration Sekhar Nori
  2018-01-10 10:54 ` Lokesh Vutla
@ 2018-01-10 16:44 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2018-01-10 16:44 UTC (permalink / raw)
  To: u-boot

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180110/4f35e6ef/attachment.sig>

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

end of thread, other threads:[~2018-01-10 16:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-20 15:09 [U-Boot] [PATCH] configs: am57xx_evm: fix ethernet phy configuration Sekhar Nori
2018-01-10 10:54 ` Lokesh Vutla
2018-01-10 16:44 ` [U-Boot] " Tom Rini

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.