All of lore.kernel.org
 help / color / mirror / Atom feed
From: sbabic@denx.de
To: Hugo Villeneuve <hugo@hugovil.com>,u-boot@lists.denx.de
Subject: [PATCH v2 5/5] imx8mn-var-som: adjust PHY reset gpios according to hardware configuration
Date: Wed, 12 Jul 2023 15:40:21 +0200 (CEST)	[thread overview]
Message-ID: <20230712134023.08AE2869FD@phobos.denx.de> (raw)
In-Reply-To: <20230525210228.4164480-6-hugo@hugovil.com>

> From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> For SOM with the EC configuration, the ethernet PHY is located on the
> SOM itself, and connected to the CPU ethernet controller. It has a
> reset line controlled via GPIO1_IO9. In this configuration, the PHY
> located on the carrier board is not connected to anything and is
> therefore not used.
> For SOM without EC configuration, the ethernet PHY on the carrier
> board is connected to the CPU ethernet controller. It has a reset line
> controlled via the GPIO expander PCA9534_IO5.
> The hardware configuration (EC) is determined at runtime by
> reading from the SOM EEPROM.
> To support both hardware configurations (EC and non-EC), adjust/fix
> the PHY reset gpios according to the hardware configuration
> read at runtime from the SOM EEPROM. This adjustement is done in
> U-Boot (OF_BOARD_FIXUP) and kernel (OF_BOARD_SETUP) device trees.
> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================

      parent reply	other threads:[~2023-07-12 13:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 21:02 [PATCH v2 0/5] imx8mn-var-som: fix ethernet for Variscite symphony board and imx8m nano SOM Hugo Villeneuve
2023-05-25 21:02 ` [PATCH v2 1/5] imx8mn-var-som: read and print SoM infos from eeprom on startup Hugo Villeneuve
2023-07-11 19:47   ` sbabic
2023-05-25 21:02 ` [PATCH v2 2/5] imx8mn-var-som: fix non-applied PHY reset-gpios properties Hugo Villeneuve
2023-07-11 19:46   ` sbabic
2023-05-25 21:02 ` [PATCH v2 3/5] arm: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay Hugo Villeneuve
2023-07-11 19:42   ` sbabic
2023-05-25 21:02 ` [PATCH v2 4/5] imx8mn-var-som: read eth MAC address from EEPROM Hugo Villeneuve
2023-07-11 19:46   ` sbabic
2023-05-25 21:02 ` [PATCH v2 5/5] imx8mn-var-som: adjust PHY reset gpios according to hardware configuration Hugo Villeneuve
2023-07-12 10:28   ` sbabic
2023-07-12 13:40   ` sbabic [this message]

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=20230712134023.08AE2869FD@phobos.denx.de \
    --to=sbabic@denx.de \
    --cc=hugo@hugovil.com \
    --cc=u-boot@lists.denx.de \
    /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: link
Be 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.