]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: net: cdns,macb: replace cdns,refclk-ext with cdns,refclk-source
authorConor Dooley <conor.dooley@microchip.com>
Wed, 25 Mar 2026 16:28:08 +0000 (16:28 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sun, 29 Mar 2026 21:34:27 +0000 (14:34 -0700)
commitdfa36d7e860c2f008d92d91903f2d41ed0c88f3d
tree52a3f3af8797b058b6b6fb7159353516b578b62e
parent039f185a00602fe4e760216ffb50dda6d1ed863a
dt-bindings: net: cdns,macb: replace cdns,refclk-ext with cdns,refclk-source

Ryan added cdns,refclk-ext with the intent of decoupling the source of
the reference clock on sama7g5 (and related platforms) from the
compatible. Unfortunately, the default for sama7g5-emac is an external
reference clock, so this property had no effect there, so that
compatibility with older devicetrees is preserved.
Replace cdns,refclk-ext with one that supports both default states and
therefore is usable for sama7g5-emac.

For now, limit it to only the platforms that have USRIO controlled
reference clock selection, but this could be generalised in the future.

The existing property only works on devices that are compatible with
sama7g5-gem, so mark it deprecated, and limit its use to that specific
scenario.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260325-savior-untainted-03057ee0a917@spud
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/cdns,macb.yaml