All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yixun Lan <dlan@kernel.org>
To: Sandie Cao <sandie.cao@deepcomputing.io>
Cc: Troy Mitchell <troy.mitchell@linux.spacemit.com>,
	Conor Dooley <conor+dt@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Paul Walmsley <pjw@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	Alexandre Ghiti <alex@ghiti.fr>,
	devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
	spacemit@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 2/3] riscv: dts: spacemit: k3-deepcomputing-fml13v05: add USB controller and USB phy support
Date: Sat, 14 Nov 2026 07:30:25 +0000	[thread overview]
Message-ID: <20261114073025-GKA100523@kernel.org> (raw)
In-Reply-To: <20261109033310.361435-1-sandie.cao@deepcomputing.io>

Hi Sandie,

On 11:33 Mon 09 Nov     , Sandie Cao wrote:
> Add USB device node (b, c, d) to DeepComputing FML13V05 board.
..
> USB A works on otg mode, it isn't configured currently.
Drop it, not really useful to mention there, irrelevant to this patch.

Currently, No USB A port support is merged in mainline code.
FYI, Chunyan submitted a patch for adding peripheral support of USB A.
https://lore.kernel.org/all/20261105103125.2727341-1-chunyan.zhang@linux.spacemit.com/


> - 4 USB-C Ports
      ~~~~~ USB Type-C? less confusing
>      - Port 1: PD 3.0 (65W Max), USB 3.2 Gen 1
>      - Port 2: PD 3.0 (65W Max), USB 3.2 Gen 1, DP 1.4 (4K@60Hz)
>      - Port 3 & 4: USB 3.2 Gen 1

For "Port X" here, is it a naming from FML13V05's schematic?
would be great to mention which specific USB 3.0 controller (Port B, C, D)
 of the SoC it connect to..

> 
> Signed-off-by: Sandie Cao <sandie.cao@deepcomputing.io>
> ---
>  .../spacemit/k3-deepcomputing-fml13v05.dts    | 50 +++++++++++++++++++
>  1 file changed, 50 insertions(+)
> 
> diff --git a/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts b/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts
> index e061233c15a3..bcd533484a73 100644
> --- a/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts
> +++ b/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts
> @@ -172,8 +172,58 @@ dldo7: dldo7 {
>  	};
>  };
>  
> +&combophy {
> +	spacemit,apmu = <&syscon_apmu 0x17>;
> +	status = "okay";
> +};
> +
>  &uart0 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&uart0_0_cfg>;
>  	status = "okay";
>  };
> +
> +&usb2_host {
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +	status = "okay";
> +
> +	hub@1 {
> +		compatible = "usb5e3,608";
> +		reg = <1>;
> +	};
> +};
> +
> +&usb2_phy {
> +	status = "okay";
> +};
> +
> +&usb3b_u2phy {
> +	status = "okay";
> +};
> +
> +&usb3b {
> +	phys = <&usb3b_u2phy>, <&combophy 2 PHY_TYPE_USB3>;
> +	phy-names = "usb2-phy", "usb3-phy";
> +	status = "okay";
> +};
> +
> +&usb3c_u2phy {
> +	status = "okay";
> +};
> +
> +&usb3c {
> +	phys = <&usb3c_u2phy>, <&combophy 3 PHY_TYPE_USB3>;
> +	phy-names = "usb2-phy", "usb3-phy";
> +	status = "okay";
> +};
> +
> +&usb3d_u2phy {
> +	status = "okay";
> +};
> +
> +&usb3d {
> +	phys = <&usb3d_u2phy>, <&combophy 4 PHY_TYPE_USB3>;
> +	phy-names = "usb2-phy", "usb3-phy";
> +	status = "okay";
> +};
> -- 
> 2.43.0

-- 
Yixun Lan (dlan)

WARNING: multiple messages have this Message-ID (diff)
From: Yixun Lan <dlan@kernel.org>
To: Sandie Cao <sandie.cao@deepcomputing.io>
Cc: Troy Mitchell <troy.mitchell@linux.spacemit.com>,
	Conor Dooley <conor+dt@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Paul Walmsley <pjw@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	Alexandre Ghiti <alex@ghiti.fr>,
	devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
	spacemit@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 2/3] riscv: dts: spacemit: k3-deepcomputing-fml13v05: add USB controller and USB phy support
Date: Sat, 14 Nov 2026 07:30:25 +0000	[thread overview]
Message-ID: <20261114073025-GKA100523@kernel.org> (raw)
In-Reply-To: <20261109033310.361435-1-sandie.cao@deepcomputing.io>

Hi Sandie,

On 11:33 Mon 09 Nov     , Sandie Cao wrote:
> Add USB device node (b, c, d) to DeepComputing FML13V05 board.
..
> USB A works on otg mode, it isn't configured currently.
Drop it, not really useful to mention there, irrelevant to this patch.

Currently, No USB A port support is merged in mainline code.
FYI, Chunyan submitted a patch for adding peripheral support of USB A.
https://lore.kernel.org/all/20261105103125.2727341-1-chunyan.zhang@linux.spacemit.com/


> - 4 USB-C Ports
      ~~~~~ USB Type-C? less confusing
>      - Port 1: PD 3.0 (65W Max), USB 3.2 Gen 1
>      - Port 2: PD 3.0 (65W Max), USB 3.2 Gen 1, DP 1.4 (4K@60Hz)
>      - Port 3 & 4: USB 3.2 Gen 1

For "Port X" here, is it a naming from FML13V05's schematic?
would be great to mention which specific USB 3.0 controller (Port B, C, D)
 of the SoC it connect to..

> 
> Signed-off-by: Sandie Cao <sandie.cao@deepcomputing.io>
> ---
>  .../spacemit/k3-deepcomputing-fml13v05.dts    | 50 +++++++++++++++++++
>  1 file changed, 50 insertions(+)
> 
> diff --git a/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts b/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts
> index e061233c15a3..bcd533484a73 100644
> --- a/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts
> +++ b/arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts
> @@ -172,8 +172,58 @@ dldo7: dldo7 {
>  	};
>  };
>  
> +&combophy {
> +	spacemit,apmu = <&syscon_apmu 0x17>;
> +	status = "okay";
> +};
> +
>  &uart0 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&uart0_0_cfg>;
>  	status = "okay";
>  };
> +
> +&usb2_host {
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +	status = "okay";
> +
> +	hub@1 {
> +		compatible = "usb5e3,608";
> +		reg = <1>;
> +	};
> +};
> +
> +&usb2_phy {
> +	status = "okay";
> +};
> +
> +&usb3b_u2phy {
> +	status = "okay";
> +};
> +
> +&usb3b {
> +	phys = <&usb3b_u2phy>, <&combophy 2 PHY_TYPE_USB3>;
> +	phy-names = "usb2-phy", "usb3-phy";
> +	status = "okay";
> +};
> +
> +&usb3c_u2phy {
> +	status = "okay";
> +};
> +
> +&usb3c {
> +	phys = <&usb3c_u2phy>, <&combophy 3 PHY_TYPE_USB3>;
> +	phy-names = "usb2-phy", "usb3-phy";
> +	status = "okay";
> +};
> +
> +&usb3d_u2phy {
> +	status = "okay";
> +};
> +
> +&usb3d {
> +	phys = <&usb3d_u2phy>, <&combophy 4 PHY_TYPE_USB3>;
> +	phy-names = "usb2-phy", "usb3-phy";
> +	status = "okay";
> +};
> -- 
> 2.43.0

-- 
Yixun Lan (dlan)

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  parent reply	other threads:[~2026-11-14  7:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09  3:31 [PATCH v4 0/3] Enable USB and SD for Deepcomputing FML13V05 board Sandie Cao
2026-11-09  3:31 ` Sandie Cao
2026-11-09  3:32 ` [PATCH v4 1/3] riscv: dts: spacemit: k3-deepcomputing-fml13v05: add P1 PMIC regulator tree Sandie Cao
2026-11-09  3:32   ` Sandie Cao
2026-11-09  6:38   ` Troy Mitchell
2026-11-09  6:38     ` Troy Mitchell
2026-11-09  3:33 ` [PATCH v4 2/3] riscv: dts: spacemit: k3-deepcomputing-fml13v05: add USB controller and USB phy support Sandie Cao
2026-11-09  3:33   ` Sandie Cao
2026-11-09  6:20   ` Troy Mitchell
2026-11-09  6:20     ` Troy Mitchell
2026-11-14  7:30   ` Yixun Lan [this message]
2026-11-14  7:30     ` Yixun Lan
2026-11-09  3:33 ` [PATCH v4 3/3] riscv: dts: spacemit: k3-deepcomputing-fml13v05: Enable SD card support Sandie Cao
2026-11-09  3:33   ` Sandie Cao
2026-11-09  6:20   ` Troy Mitchell
2026-11-09  6:20     ` Troy Mitchell
2026-11-14  7:55   ` Yixun Lan
2026-11-14  7:55     ` Yixun Lan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261114073025-GKA100523@kernel.org \
    --to=dlan@kernel.org \
    --cc=alex@ghiti.fr \
    --cc=aou@eecs.berkeley.edu \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=robh@kernel.org \
    --cc=sandie.cao@deepcomputing.io \
    --cc=spacemit@lists.linux.dev \
    --cc=troy.mitchell@linux.spacemit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.