arm64: tegra: Add PCIe and DP 3.3V supplies
Subsystems (2)
PATCH 1/1 arm64: tegra: Add PCIe and DP 3.3V supplies
Add the 3.3V supplies for PCIe C1 controller and Display Port controller for the NVIDIA IGX Orin platform.
--- .../nvidia/tegra234-p3740-0002+p3701-0008.dts | 1 + .../boot/dts/nvidia/tegra234-p3740-0002.dtsi | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+)
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +1 -0
@@ -35,6 +35,7 @@ pcie@14100000 { status = "okay"; vddio-pex-ctl-supply = <&vdd_1v8_ao>; + vpcie3v3-supply = <&vdd_3v3_wifi>; phys = <&p2u_hsio_3>; phy-names = "p2u-0"; };
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi +28 -0
@@ -134,4 +134,32 @@ "usb3-0", "usb3-1", "usb3-2"; }; }; + + vdd_3v3_dp: regulator-vdd-3v3-dp { + compatible = "regulator-fixed"; + regulator-name = "vdd-3v3-dp"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vdd_3v3_sys>; + gpio = <&gpio TEGRA234_MAIN_GPIO(H, 6) 0>; + enable-active-high; + regulator-always-on; + }; + + vdd_3v3_sys: regulator-vdd-3v3-sys { + compatible = "regulator-fixed"; + regulator-name = "vdd-3v3-sys"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + vdd_3v3_wifi: regulator-vdd-3v3-wifi { + compatible = "regulator-fixed"; + regulator-name = "vdd-3v3-wifi"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio TEGRA234_MAIN_GPIO(G, 3) GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; };
Signature · 1 line
2.17.1
Quoted 48 lines · Shubhi Garg
Add the 3.3V supplies for PCIe C1 controller and Display Port controller for the NVIDIA IGX Orin platform.
Signed-off-by Shubhi Garg <[email protected]>--- .../nvidia/tegra234-p3740-0002+p3701-0008.dts | 1 + .../boot/dts/nvidia/tegra234-p3740-0002.dtsi | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+)arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +1
-0@@ -35,6 +35,7 @@ pcie@14100000 { status = "okay"; vddio-pex-ctl-supply = <&vdd_1v8_ao>; + vpcie3v3-supply = <&vdd_3v3_wifi>; phys = <&p2u_hsio_3>; phy-names = "p2u-0"; };arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi +19
-0@@ -134,4 +134,32 @@ "usb3-0", "usb3-1", "usb3-2"; }; }; + + vdd_3v3_dp: regulator-vdd-3v3-dp { + compatible = "regulator-fixed"; + regulator-name = "vdd-3v3-dp"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vdd_3v3_sys>; + gpio = <&gpio TEGRA234_MAIN_GPIO(H, 6) 0>; + enable-active-high; + regulator-always-on; + }; + + vdd_3v3_sys: regulator-vdd-3v3-sys { + compatible = "regulator-fixed"; + regulator-name = "vdd-3v3-sys"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi line 165
Quoted 10 lines
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi +9
-0+ vdd_3v3_wifi: regulator-vdd-3v3-wifi { + compatible = "regulator-fixed"; + regulator-name = "vdd-3v3-wifi"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio TEGRA234_MAIN_GPIO(G, 3) GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; };
Thierry, OK to pick this up?
Jon
Signature · 1 line
nvpublic
Thierry Reding
AppliedFrom: Thierry Reding <[email protected]>
Quoted 4 lines · Shubhi Garg
Add the 3.3V supplies for PCIe C1 controller and Display Port controller for the NVIDIA IGX Orin platform.
Applied, thanks!
[1/1] arm64: tegra: Add PCIe and DP 3.3V supplies
commit: 84ea422262387d050ed46e896371da79fc31e7f9
Best regards,
Signature · 1 line
Thierry Reding <[email protected]>
Quoted 9 lines · Thierry Reding
From: Thierry Reding <[email protected]>
Quoted 4 lines · Shubhi Garg
Add the 3.3V supplies for PCIe C1 controller and Display Port controller for the NVIDIA IGX Orin platform.
Quoted 4 lines
Applied, thanks!
[1/1] arm64: tegra: Add PCIe and DP 3.3V supplies
commit: 84ea422262387d050ed46e896371da79fc31e7f9
Note that I've renamed these for consistency with other regulators' regulator-name property. Let me know if for some reason that doesn't work.
Thierry