All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fil Dunsky <filipp.dunsky@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: netdev-bot+sashiko@kernel.org, davem@davemloft.net,
	edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	hkallweit1@gmail.com, linux@armlinux.org.uk,
	andrew+netdev@lunn.ch, netdev@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 1/3] dt-bindings: net: Add Cortina CS7542 MDIO controller
Date: Tue, 24 Nov 2026 22:39:44 +0300	[thread overview]
Message-ID: <179554918420.4.6608826251937872544@gmail.com> (raw)
In-Reply-To: <22c76d61-d604-445a-9aba-f52e19f93ccb@lunn.ch>

Hi Andrew,

I agree about describing the input clock before the binding is merged.
The vendor U-Boot sets bit 5 of the MDC prescaler, and the kernel SDK
writes 0x20 to that field. Neither source identifies the clock feeding
it. I have not found a CS7542 clock diagram that ties it to the APB
clock, so I am checking that connection before adding the phandle to the
SoC .dtsi.

The U-Boot and SDK sites I checked are below.

https://github.com/futuretekinc/cortina/blob/aafa3821f0934eebe8137726d4e6d5994c1ac3fa/u-boot/drivers/net/g2_ni_mfe.c#L724-L727
https://github.com/drvlabo/linux_kernel_cs75xx/blob/8bb3f7dc796a59d992572a118448ba196f547ed6/drivers/net/ethernet/cs752x/src/ni/cs752x_eth.c#L3529-L3534

Thanks,
Fil


  reply	other threads:[~2026-11-24 19:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 18:41 [PATCH net-next 0/3] Add Cortina Systems CS7542 MDIO controller support Fil Dunsky
2026-11-23 18:41 ` Fil Dunsky via B4 Relay
2026-11-23 18:41 ` [PATCH net-next 1/3] dt-bindings: net: Add Cortina CS7542 MDIO controller Fil Dunsky
2026-11-23 18:41   ` Fil Dunsky via B4 Relay
2026-11-24 18:42   ` sashiko-bot
2026-11-24 19:07   ` netdev-bot+sashiko
2026-11-24 19:28     ` Andrew Lunn
2026-11-24 19:39       ` Fil Dunsky [this message]
2026-11-23 18:41 ` [PATCH net-next 2/3] net: mdio: Add Cortina CS7542 bus controller Fil Dunsky
2026-11-23 18:41   ` Fil Dunsky via B4 Relay
2026-11-23 19:40   ` Andrew Lunn
2026-11-23 20:41     ` Fil Dunsky
2026-11-24 18:42   ` sashiko-bot
2026-11-24 19:07   ` netdev-bot+sashiko
2026-11-24 19:31     ` Andrew Lunn
2026-11-23 18:41 ` [PATCH net-next 3/3] MAINTAINERS: Add Cortina CS7542 MDIO controller entry Fil Dunsky
2026-11-23 18:41   ` Fil Dunsky via B4 Relay
2026-11-23 19:41   ` Andrew Lunn

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=179554918420.4.6608826251937872544@gmail.com \
    --to=filipp.dunsky@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@kernel.org \
    --cc=hkallweit1@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=robh@kernel.org \
    /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.