arm64: dts: r8a7795: salvator-x: Set drive-strength for ravb pins
Subsystems (2)
PATCH v2 1/1 arm64: dts: r8a7795: salvator-x: Set drive-strength for ravb pins
The EthernetAVB should not depend on the bootloader to setup correct drive-strength values. Values for drive-strength where found by examining the registers after the bootloader has configured the registers and successfully used the EthernetAVB.
---
Changes since v1:
- Only set drive-strength for output pins, thanks Geert.
- Add all used pin groups to the mux section.
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +16 -2
@@ -225,8 +225,22 @@ }; avb_pins: avb { - groups = "avb_mdc"; - function = "avb"; + mux { + groups = "avb_link", "avb_phy_int", "avb_mdc", + "avb_mii"; + function = "avb"; + }; + + pins_mdc { + groups = "avb_mdc"; + drive-strength = <24>; + }; + + pins_mii_tx { + pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0", + "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3"; + drive-strength = <12>; + }; }; du_pins: du {
Signature · 1 line
2.10.2
Quoted 6 lines · Niklas Söderlund
The EthernetAVB should not depend on the bootloader to setup correct drive-strength values. Values for drive-strength where found by examining the registers after the bootloader has configured the registers and successfully used the EthernetAVB.
Signed-off-by Niklas Söderlund <[email protected]>
I believe this patch has run-time dependencies on PFC patches and will result in a regression without them. Please resubmit or otherwise ping me once chose changes are present in an (rc) release or immutable branch.
Thanks!
Hi Simon,
Quoted 11 lines · Simon Horman
Quoted 6 lines · Niklas S�derlund
The EthernetAVB should not depend on the bootloader to setup correct drive-strength values. Values for drive-strength where found by examining the registers after the bootloader has configured the registers and successfully used the EthernetAVB.
Signed-off-by Niklas S�derlund <[email protected]>I believe this patch has run-time dependencies on PFC patches and will result in a regression without them. Please resubmit or otherwise ping me once chose changes are present in an (rc) release or immutable branch.
The dependency for this DT change is now present in v4.11-rc1, see 1. If it's convenient for you feel free to pick up this patch.
1. b25719eb938eb39a ("pinctrl: sh-pfc: r8a7795: Add group for AVB MDIO and MII pins")
Quoted 2 lines
Thanks!
Signature · 2 lines
Regards, Niklas S�derlund
Quoted 15 lines · Niklas Söderlund
Hi Simon,
Quoted 11 lines · Simon Horman
Quoted 6 lines · Niklas Söderlund
The EthernetAVB should not depend on the bootloader to setup correct drive-strength values. Values for drive-strength where found by examining the registers after the bootloader has configured the registers and successfully used the EthernetAVB.
Signed-off-by Niklas Söderlund <[email protected]>I believe this patch has run-time dependencies on PFC patches and will result in a regression without them. Please resubmit or otherwise ping me once chose changes are present in an (rc) release or immutable branch.
Quoted 5 lines
The dependency for this DT change is now present in v4.11-rc1, see 1. If it's convenient for you feel free to pick up this patch.
1.
b25719eb938eb39a("pinctrl: sh-pfc: r8a7795: Add group for AVB MDIO and MII pins")
Thanks Niklas,
I am in the process of rebasing my branches on top of v4.11-rc1 and I have queued up this patch. It should appear in the next push of renesas-next and renesas-revel.
Quoted 6 lines · Niklas Söderlund
The EthernetAVB should not depend on the bootloader to setup correct drive-strength values. Values for drive-strength where found by examining the registers after the bootloader has configured the registers and successfully used the EthernetAVB.
Signed-off-by Niklas Söderlund <[email protected]>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds