[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 5 May 2023 15:18:40 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Samin Guo <samin.guo@...rfivetech.com>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
netdev@...r.kernel.org, Peter Geis <pgwipeout@...il.com>,
Frank <Frank.Sae@...or-comm.com>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
Yanhong Wang <yanhong.wang@...rfivetech.com>
Subject: Re: [PATCH v2 2/2] net: phy: motorcomm: Add pad drive strength cfg
support
> #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
Powered by blists - more mailing lists