diff mbox series

arm64: dts: clearfog-gt-8k: describe mini-PCIe CON2 USB

Message ID 634478cc2f11ea3ee3b89393ae6d82f39d3c8531.1544095149.git.baruch@tkos.co.il (mailing list archive)
State New, archived
Headers show
Series arm64: dts: clearfog-gt-8k: describe mini-PCIe CON2 USB | expand

Commit Message

Baruch Siach Dec. 6, 2018, 11:19 a.m. UTC
Enable the USB3 peripheral that is wired to CON2 on the Clearfog GT-8K
board.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Gregory CLEMENT Dec. 6, 2018, 3:55 p.m. UTC | #1
Hi Baruch,
 
 On jeu., déc. 06 2018, Baruch Siach <baruch@tkos.co.il> wrote:

> Enable the USB3 peripheral that is wired to CON2 on the Clearfog GT-8K
> board.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
> index dfb26661a88e..5b4a9609e31f 100644
> --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
> @@ -282,6 +282,10 @@
>  	vqmmc-supply = <&v_3_3>;
>  };
>  
> +&cp0_usb3_1 {

Don't you have any phy for this USB3 port?

Gregory

> +	status = "okay";
> +};
> +
>  &cp1_pinctrl {
>  	/*
>  	 * MPP Bus:
> -- 
> 2.19.2
>
Baruch Siach Dec. 6, 2018, 5:02 p.m. UTC | #2
Hi Gregory,

Gregory CLEMENT writes:
>  On jeu., déc. 06 2018, Baruch Siach <baruch@tkos.co.il> wrote:
>
>> Enable the USB3 peripheral that is wired to CON2 on the Clearfog GT-8K
>> board.
>>
>> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
>> ---
>>  arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
>> index dfb26661a88e..5b4a9609e31f 100644
>> --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
>> +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
>> @@ -282,6 +282,10 @@
>>  	vqmmc-supply = <&v_3_3>;
>>  };
>>
>> +&cp0_usb3_1 {
>
> Don't you have any phy for this USB3 port?

Not as far as I can see. Why would I need one? The serdes signals are
connected directly to the mini-PCIe, just like the USB Type-A connector
on the same board. I haven't tested the USB3 signals on the mini-PCIe,
though, as I have no USB3 mini-PCIe device.

baruch

>> +	status = "okay";
>> +};
>> +
>>  &cp1_pinctrl {
>>  	/*
>>  	 * MPP Bus:
>> --
>> 2.19.2
>>


--
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
Gregory CLEMENT Dec. 7, 2018, 4:28 p.m. UTC | #3
Hi Baruch,
 
 On jeu., déc. 06 2018, Baruch Siach <baruch@tkos.co.il> wrote:

> Hi Gregory,
>
> Gregory CLEMENT writes:
>>  On jeu., déc. 06 2018, Baruch Siach <baruch@tkos.co.il> wrote:
>>
>>> Enable the USB3 peripheral that is wired to CON2 on the Clearfog GT-8K
>>> board.
>>>
>>> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
>>> ---
>>>  arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts | 4 ++++
>>>  1 file changed, 4 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
>>> index dfb26661a88e..5b4a9609e31f 100644
>>> --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
>>> +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
>>> @@ -282,6 +282,10 @@
>>>  	vqmmc-supply = <&v_3_3>;
>>>  };
>>>
>>> +&cp0_usb3_1 {
>>
>> Don't you have any phy for this USB3 port?
>
> Not as far as I can see. Why would I need one? The serdes signals are
> connected directly to the mini-PCIe, just like the USB Type-A connector
> on the same board. I haven't tested the USB3 signals on the mini-PCIe,
> though, as I have no USB3 mini-PCIe device.

Right! I focused on the commit itself and missed the fact that it was
part of a PCI connector as stated in the title. I asked this because
usually we have a phy connected to a vcc signal.

Applied on mvebu/dt64

Thanks,

Gregory



>
> baruch
>
>>> +	status = "okay";
>>> +};
>>> +
>>>  &cp1_pinctrl {
>>>  	/*
>>>  	 * MPP Bus:
>>> --
>>> 2.19.2
>>>
>
>
> --
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
index dfb26661a88e..5b4a9609e31f 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
@@ -282,6 +282,10 @@ 
 	vqmmc-supply = <&v_3_3>;
 };
 
+&cp0_usb3_1 {
+	status = "okay";
+};
+
 &cp1_pinctrl {
 	/*
 	 * MPP Bus: