Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: motorcomm: Add pad driver strength cfg

The motorcomm phy (YT8531) supports the ability to adjust the drive
strength of the rx_clk/rx_data.

The YT8531 RGMII LDO voltage supports 1.8V/3.3V, and the
LDO voltage can be configured with hardware pull-up resistors to match
the SOC voltage (usually 1.8V). The software can read the registers
0xA001 obtain the current LDO voltage value.

Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Samin Guo and committed by
David S. Miller
79e71d95 f5f80e32

+34
+34
Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml
··· 52 52 for a timer. 53 53 type: boolean 54 54 55 + motorcomm,rx-clk-drv-microamp: 56 + description: | 57 + drive strength of rx_clk rgmii pad. 58 + The YT8531 RGMII LDO voltage supports 1.8V/3.3V, and the LDO voltage can 59 + be configured with hardware pull-up resistors to match the SOC voltage 60 + (usually 1.8V). 61 + The software can read the registers to obtain the LDO voltage and configure 62 + the legal drive strength(curren). 63 + ===================================================== 64 + | voltage | current Available (uA) | 65 + | 1.8v | 1200 2100 2700 2910 3110 3600 3970 4350 | 66 + | 3.3v | 3070 4080 4370 4680 5020 5450 5740 6140 | 67 + ===================================================== 68 + enum: [ 1200, 2100, 2700, 2910, 3070, 3110, 3600, 3970, 69 + 4080, 4350, 4370, 4680, 5020, 5450, 5740, 6140 ] 70 + default: 2910 71 + 72 + motorcomm,rx-data-drv-microamp: 73 + description: | 74 + drive strength of rx_data/rx_ctl rgmii pad. 75 + The YT8531 RGMII LDO voltage supports 1.8V/3.3V, and the LDO voltage can 76 + be configured with hardware pull-up resistors to match the SOC voltage 77 + (usually 1.8V). 78 + The software can read the registers to obtain the LDO voltage and configure 79 + the legal drive strength(curren). 80 + ===================================================== 81 + | voltage | current Available (uA) | 82 + | 1.8v | 1200 2100 2700 2910 3110 3600 3970 4350 | 83 + | 3.3v | 3070 4080 4370 4680 5020 5450 5740 6140 | 84 + ===================================================== 85 + enum: [ 1200, 2100, 2700, 2910, 3070, 3110, 3600, 3970, 86 + 4080, 4350, 4370, 4680, 5020, 5450, 5740, 6140 ] 87 + default: 2910 88 + 55 89 motorcomm,tx-clk-adj-enabled: 56 90 description: | 57 91 This configuration is mainly to adapt to VF2 with JH7110 SoC.