Thread (13 messages) flat view 13 messages, 3 authors, 2021-07-29

Re: [PATCH V2 net-next 5/7] net: fec: add MAC internal delayed clock feature support

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-07-28 14:10:56
Also in: linux-devicetree, lkml

+	/* For rgmii internal delay, valid values are 0ps and 2000ps */
+	if (of_property_read_u32(np, "tx-internal-delay-ps", &rgmii_delay))
+		fep->rgmii_txc_dly = true;
+	if (of_property_read_u32(np, "rx-internal-delay-ps", &rgmii_delay))
+		fep->rgmii_rxc_dly = true;
I don't see any validation of the only supported values are 0ps and
2000ps.

	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help