Re: [PATCH v1 1/2] dt-bindings: net: motorcomm: Add pad driver strength cfg From: Andrew Lunn <andrew@xxxxxxx> to: Samin Guo <samin.guo@xxxxxxxxxxxxxxxx> data: 2023/4/26 > On Wed, Apr 26, 2023 at 02:35:40PM +0800, Samin Guo wrote: >> The motorcomm phy (YT8531) supports the ability to adjust the drive >> strength of the rx_clk/rx_data, the value range of pad driver >> strength is 0 to 7. >> >> Signed-off-by: Samin Guo <samin.guo@xxxxxxxxxxxxxxxx> >> --- >> .../devicetree/bindings/net/motorcomm,yt8xxx.yaml | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml b/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml >> index 157e3bbcaf6f..e648e486b6d8 100644 >> --- a/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml >> +++ b/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml >> @@ -18,6 +18,16 @@ properties: >> - ethernet-phy-id4f51.e91a >> - ethernet-phy-id4f51.e91b >> >> + rx-clk-driver-strength: >> + description: drive strength of rx_clk pad. >> + enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ] >> + default: 3 > > What do the numbers mean? What are the units? mA? > > Andrew Hi Andrew, They represent the gradient of the current, which should be the higher the value, the greater the current. However, there is no exact current value to determine from YT8531 datasheet. Probably Motorcomm @Frank.sea knows what it means. Description: Drive strenght of rx_clk pad. 3'b111: strongest; 3'b000: weakest. Default: 0x3 Best regards, Samin