Re: [PATCH v2 2/2] net: phy: motorcomm: Add pad drive strength cfg support

From: Andrew Lunn
Date: Fri May 05 2023 - 09:19:00 EST


> #define YTPHY_DTS_OUTPUT_CLK_DIS 0
> @@ -1495,6 +1504,7 @@ static int yt8531_config_init(struct phy_device *phydev)
> {
> struct device_node *node = phydev->mdio.dev.of_node;
> int ret;
> + u32 ds, val;

Reverse Christmas tree. Sort these longest first, shortest last.

Otherwise this looks O.K.

The only open question is if real unit should be used, uA, not some
magic numbers. Lets see what the DT Maintainers say.

Andrew