linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [5/8] arm64: tegra: Enable xudc on Jetson TX1
@ 2019-01-03 10:04 Nagarjuna Kristam
  0 siblings, 0 replies; 3+ messages in thread
From: Nagarjuna Kristam @ 2019-01-03 10:04 UTC (permalink / raw)
  To: balbi, gregkh, thierry.reding, jonathanh
  Cc: linux-tegra, linux-usb, Nagarjuna Kristam

Enable XUSB device mode driver for USB0 slot on Jetson TX1.

Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
index 985777c..293b95f 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
@@ -1325,6 +1325,21 @@
 		status = "okay";
 	};
 
+	extcon_usb: extcon_vbus {
+		compatible = "linux,extcon-usb-gpio";
+		vbus-gpio = <&gpio TEGRA_GPIO(Z, 0) 1>;
+	};
+
+	xudc@700d0000 {
+		phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>;
+		phy-names = "usb2";
+		avddio_usb-supply = <&vdd_pex_1v05>;
+		hvdd_usb-supply = <&vdd_3v3_sys>;
+		avdd_pll_utmip-supply = <&vdd_1v8>;
+		extcon = <&extcon_usb>;
+		status = "okay";
+	};
+
 	sata@70020000 {
 		status = "okay";
 		phys = <&{/padctl@7009f000/pads/sata/lanes/sata-0}>;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [5/8] arm64: tegra: Enable xudc on Jetson TX1
@ 2019-01-28  8:36 jckuo
  0 siblings, 0 replies; 3+ messages in thread
From: jckuo @ 2019-01-28  8:36 UTC (permalink / raw)
  To: Nagarjuna Kristam, balbi, gregkh, thierry.reding, jonathanh
  Cc: linux-tegra, linux-usb

Hi Nagarjuna,

avddio_usb-supply should be <&vdd_3v3_sys> .

hvdd_usb-supply should be <&vdd__1v8> .


Thanks,

JC

On 1/3/19 6:04 PM, Nagarjuna Kristam wrote:
> Enable XUSB device mode driver for USB0 slot on Jetson TX1.
>
> Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
> ---
>   arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 15 +++++++++++++++
>   1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
> index 985777c..293b95f 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
> @@ -1325,6 +1325,21 @@
>   		status = "okay";
>   	};
>   
> +	extcon_usb: extcon_vbus {
> +		compatible = "linux,extcon-usb-gpio";
> +		vbus-gpio = <&gpio TEGRA_GPIO(Z, 0) 1>;
> +	};
> +
> +	xudc@700d0000 {
> +		phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>;
> +		phy-names = "usb2";
> +		avddio_usb-supply = <&vdd_pex_1v05>;
> +		hvdd_usb-supply = <&vdd_3v3_sys>;
> +		avdd_pll_utmip-supply = <&vdd_1v8>;
> +		extcon = <&extcon_usb>;
> +		status = "okay";
> +	};
> +
>   	sata@70020000 {
>   		status = "okay";
>   		phys = <&{/padctl@7009f000/pads/sata/lanes/sata-0}>;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [5/8] arm64: tegra: Enable xudc on Jetson TX1
@ 2019-02-04 12:40 Thierry Reding
  0 siblings, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2019-02-04 12:40 UTC (permalink / raw)
  To: Nagarjuna Kristam; +Cc: balbi, gregkh, jonathanh, linux-tegra, linux-usb

On Thu, Jan 03, 2019 at 03:34:56PM +0530, Nagarjuna Kristam wrote:
> Enable XUSB device mode driver for USB0 slot on Jetson TX1.
> 
> Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
> index 985777c..293b95f 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
> @@ -1325,6 +1325,21 @@
>  		status = "okay";
>  	};
>  
> +	extcon_usb: extcon_vbus {
> +		compatible = "linux,extcon-usb-gpio";
> +		vbus-gpio = <&gpio TEGRA_GPIO(Z, 0) 1>;
> +	};

This needs to go to the end of the file. The ordering should be:

	* all nodes with unit-address, sorted by unit-address
	* all nodes without unit-address, sorted alphabetically

Thierry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-04 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-04 12:40 [5/8] arm64: tegra: Enable xudc on Jetson TX1 Thierry Reding
  -- strict thread matches above, loose matches on Subject: below --
2019-01-28  8:36 jckuo
2019-01-03 10:04 Nagarjuna Kristam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).