ARM: tegra: Combine VBUS enable pins into one node
Subsystems (2)
PATCH 1/1 ARM: tegra: Combine VBUS enable pins into one node
From: Thierry Reding <[email protected]>
Both USB_VBUS_EN0 and USB_VBUS_EN1 are configured the same way, so they can be combined into a single node. While at it, don't configure them as pull-up since they already have external pull-ups. Also U-Boot doesn't configure them as pull-up either.
--- arch/arm/boot/dts/tegra124-venice2.dts | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-)
arch/arm/boot/dts/tegra124-venice2.dts +3 -11
@@ -402,19 +402,11 @@ nvidia,enable-input = <TEGRA_PIN_ENABLE>; }; usb_vbus_en0_pn4 { - nvidia,pins = "usb_vbus_en0_pn4"; + nvidia,pins = "usb_vbus_en0_pn4", + "usb_vbus_en1_pn5"; nvidia,function = "usb"; nvidia,enable-input = <TEGRA_PIN_ENABLE>; - nvidia,pull = <TEGRA_PIN_PULL_UP>; - nvidia,tristate = <TEGRA_PIN_DISABLE>; - nvidia,lock = <TEGRA_PIN_DISABLE>; - nvidia,open-drain = <TEGRA_PIN_ENABLE>; - }; - usb_vbus_en1_pn5 { - nvidia,pins = "usb_vbus_en1_pn5"; - nvidia,function = "usb"; - nvidia,enable-input = <TEGRA_PIN_ENABLE>; - nvidia,pull = <TEGRA_PIN_PULL_UP>; + nvidia,pull = <TEGRA_PIN_PULL_NONE>; nvidia,tristate = <TEGRA_PIN_DISABLE>; nvidia,lock = <TEGRA_PIN_DISABLE>; nvidia,open-drain = <TEGRA_PIN_ENABLE>;
Signature · 1 line
1.8.4.2
A message that is not in the archive (sent off-list or not yet received): 1393343104-2647-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Stephen Warren
AppliedQuoted 6 lines · Thierry Reding
From: Thierry Reding <[email protected]>
Both
USB_VBUS_EN0andUSB_VBUS_EN1are configured the same way, so they can be combined into a single node. While at it, don't configure them as pull-up since they already have external pull-ups. Also U-Boot doesn't configure them as pull-up either.
I have applied this to Tegra's for-3.15/dt branch.