devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/10] DTS updates for system1 BMC
@ 2025-01-07 16:23 Ninad Palsule
  2025-01-07 16:23 ` [PATCH v2 01/10] dt-bindings: net: faraday,ftgmac100: Add phys mode Ninad Palsule
                   ` (10 more replies)
  0 siblings, 11 replies; 24+ messages in thread
From: Ninad Palsule @ 2025-01-07 16:23 UTC (permalink / raw)
  To: minyard, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, ninad, ratbert, openipmi-developer, netdev, joel,
	andrew, devicetree, eajames, linux-arm-kernel, linux-aspeed,
	linux-kernel

Hello,

Please review the patch set.

V2:
---
  Fixed CHECK_DTBS errors by
    - Using generic node names
    - Documenting phy-mode rgmii-rxid in ftgmac100.yaml
    - Adding binding documentation for IPMB device interface

NINAD PALSULE (7):
  ARM: dts: aspeed: system1: Add IPMB device
  ARM: dts: aspeed: system1: Add GPIO line name
  ARM: dts: aspeed: system1: Add RGMII support
  ARM: dts: aspeed: system1: Reduce sgpio speed
  ARM: dts: aspeed: system1: Update LED gpio name
  ARM: dts: aspeed: system1: Remove VRs max8952
  ARM: dts: aspeed: system1: Mark GPIO line high/low

Ninad Palsule (3):
  dt-bindings: net: faraday,ftgmac100: Add phys mode
  bindings: ipmi: Add binding for IPMB device intf
  ARM: dts: aspeed: system1: Disable gpio pull down

 .../devicetree/bindings/ipmi/ipmb-dev.yaml    |  42 +++++
 .../bindings/net/faraday,ftgmac100.yaml       |   3 +
 .../dts/aspeed/aspeed-bmc-ibm-system1.dts     | 177 ++++++++++++------
 3 files changed, 163 insertions(+), 59 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/ipmi/ipmb-dev.yaml

-- 
2.43.0


^ permalink raw reply	[flat|nested] 24+ messages in thread
* [PATCH v2 05/10] ARM: dts: aspeed: system1: Add RGMII support
@ 2025-01-08  3:54 Jacky Chou
  2025-01-08 17:52 ` Andrew Lunn
  0 siblings, 1 reply; 24+ messages in thread
From: Jacky Chou @ 2025-01-08  3:54 UTC (permalink / raw)
  To: andrew@lunn.ch
  Cc: andrew+netdev@lunn.ch, andrew@codeconstruct.com.au,
	conor+dt@kernel.org, davem@davemloft.net,
	devicetree@vger.kernel.org, eajames@linux.ibm.com,
	edumazet@google.com, joel@jms.id.au, krzk+dt@kernel.org,
	kuba@kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	minyard@acm.org, netdev@vger.kernel.org, ninad@linux.ibm.com,
	openipmi-developer@lists.sourceforge.net, pabeni@redhat.com,
	ratbert@faraday-tech.com, robh@kernel.org

Hi Andrew,

I am ASPEED team.

>> system1 has 2 transceiver connected through the RGMII interfaces. Added
>> device tree entry to enable RGMII support.
>> 
>> ASPEED AST2600 documentation recommends using 'rgmii-rxid' as a
>> 'phy-mode' for mac0 and mac1 to enable the RX interface delay from the
>> PHY chip.
>
>Why?
>
>Does the mac0 TX clock have an extra long clock line on the PCB?
>
>Does the mac1 TX and RX clocks have extra long clock lines on the PCB?
>
>Anything but rgmii-id is in most cases wrong, so you need a really
>good explanation why you need to use something else. Something that
>shows you understand what is going on, and why what you have is
>correct.

Here I'll add some explanation.

In our design, we hope the TX and RX RGMII delay are configured by our MAC side.
We can control the TX/RX RGMII delay on MAC step by step, it is not a setting to delay to 2 ns.
We are not sure the all target PHYs are support for RX internal delay.

But ast2600 MAC1/2 delay cell cannot cover range to 2 ns, MAC 3/4 can do that.
Therefore, when using ast2600 MAC1/2, please enable the RX internal delay on the PHY side 
to make up for the part we cannot cover.

Summarize our design and we recommend.
AST2600 MAC1/2: rgmii-rxid
(RGMII with internal RX delay provided by the PHY, the MAC should not add an RX delay in this 
case)
AST2600 MAC3/4: rgmii
(RX and TX delays are added by the MAC when required)

rgmii and rgmii-rxid are referred from ethernet-controller.yaml file.

Thanks,
Jacky

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

end of thread, other threads:[~2025-01-09 14:48 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-07 16:23 [PATCH v2 00/10] DTS updates for system1 BMC Ninad Palsule
2025-01-07 16:23 ` [PATCH v2 01/10] dt-bindings: net: faraday,ftgmac100: Add phys mode Ninad Palsule
2025-01-07 16:23 ` [PATCH v2 02/10] bindings: ipmi: Add binding for IPMB device intf Ninad Palsule
2025-01-07 18:22   ` Rob Herring (Arm)
2025-01-07 23:13   ` Rob Herring
2025-01-08 16:40     ` Ninad Palsule
2025-01-07 16:23 ` [PATCH v2 03/10] ARM: dts: aspeed: system1: Add IPMB device Ninad Palsule
2025-01-07 16:23 ` [PATCH v2 04/10] ARM: dts: aspeed: system1: Add GPIO line name Ninad Palsule
2025-01-07 16:23 ` [PATCH v2 05/10] ARM: dts: aspeed: system1: Add RGMII support Ninad Palsule
2025-01-07 17:56   ` Andrew Lunn
2025-01-07 16:23 ` [PATCH v2 06/10] ARM: dts: aspeed: system1: Reduce sgpio speed Ninad Palsule
2025-01-07 16:23 ` [PATCH v2 07/10] ARM: dts: aspeed: system1: Update LED gpio name Ninad Palsule
2025-01-07 16:23 ` [PATCH v2 08/10] ARM: dts: aspeed: system1: Remove VRs max8952 Ninad Palsule
2025-01-07 16:23 ` [PATCH v2 09/10] ARM: dts: aspeed: system1: Mark GPIO line high/low Ninad Palsule
2025-01-07 16:23 ` [PATCH v2 10/10] ARM: dts: aspeed: system1: Disable gpio pull down Ninad Palsule
2025-01-07 22:54 ` [PATCH v2 00/10] DTS updates for system1 BMC Rob Herring (Arm)
  -- strict thread matches above, loose matches on Subject: below --
2025-01-08  3:54 [PATCH v2 05/10] ARM: dts: aspeed: system1: Add RGMII support Jacky Chou
2025-01-08 17:52 ` Andrew Lunn
2025-01-08 19:14   ` Ninad Palsule
2025-01-08 20:17     ` Andrew Lunn
2025-01-08 22:31   ` Ninad Palsule
2025-01-08 23:08     ` Andrew Lunn
2025-01-09 14:32   ` Ninad Palsule
2025-01-09 14:48     ` Andrew Lunn

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).