From: Yixun Lan <dlan@kernel.org>
To: Jennifer Berringer <jberring@redhat.com>
Cc: Alim Akhtar <alim.akhtar@samsung.com>,
Avri Altman <avri.altman@sandisk.com>,
Bart Van Assche <bvanassche@acm.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
linux-scsi@vger.kernel.org, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, spacemit@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] riscv: dts: spacemit: k3: Add UFS support
Date: Wed, 8 Jul 2026 02:17:52 +0000 [thread overview]
Message-ID: <20260708021752-GKI35811@kernel.org> (raw)
In-Reply-To: <akkSL1nQ5UieqHNs@rhdev>
Hi Jennifer,
On 10:01 Sat 04 Jul , Jennifer Berringer wrote:
> On Thu, Jul 02, 2026 at 02:31:37AM +0000, Yixun Lan wrote:
> > Add UFS Host Controller support for SpacemiT K3 SoC, and enable
> > it both on both Pico-ITX and CoM260-IFX boards.
> >
> > Signed-off-by: Yixun Lan <dlan@kernel.org>
> > ---
> > arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts | 4 ++++
> > arch/riscv/boot/dts/spacemit/k3-pico-itx.dts | 4 ++++
> > arch/riscv/boot/dts/spacemit/k3.dtsi | 13 +++++++++++++
> > 3 files changed, 21 insertions(+)
> >
> > diff --git a/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts b/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
> > index 238bb03d0e9e..b37e1c7b03e3 100644
> > --- a/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
> > +++ b/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
> > @@ -19,3 +19,7 @@ chosen {
> > stdout-path = "serial0:115200n8";
> > };
> > };
> > +
> > +&ufshc {
> > + status = "okay";
> > +};
>
> I believe k3-com260.dtsi would be a more fitting file for this change.
> UFS is soldered on the underside of the compute module and not part of
> the carrier board.
>
Right, I agree
> Because it is next to the microSD card slot, a picture showing both can
> be seen in section 5.12 (TF-Card Interface) of the PDF version of the K3
> CoM260 User Guide. That picture is notably not visible in the HTML
> version.
>
> https://www.spacemit.com/community/document/info?lang=en&nodepath=hardware/eco/k3_com260/com260_user_guide.md
>
> > diff --git a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
> > index b89c1521e664..f1560a5a9031 100644
> > --- a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
> > +++ b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
> > @@ -221,3 +221,7 @@ hub@1 {
> > &usb2_phy {
> > status = "okay";
> > };
> > +
> > +&ufshc {
> > + status = "okay";
> > +};
>
> Nit: if sorted by label, ufshc would be before usb2_host.
>
Right, will sort in next version
--
Yixun Lan (dlan)
WARNING: multiple messages have this Message-ID (diff)
From: Yixun Lan <dlan@kernel.org>
To: Jennifer Berringer <jberring@redhat.com>
Cc: Alim Akhtar <alim.akhtar@samsung.com>,
Avri Altman <avri.altman@sandisk.com>,
Bart Van Assche <bvanassche@acm.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
linux-scsi@vger.kernel.org, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, spacemit@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] riscv: dts: spacemit: k3: Add UFS support
Date: Wed, 8 Jul 2026 02:17:52 +0000 [thread overview]
Message-ID: <20260708021752-GKI35811@kernel.org> (raw)
In-Reply-To: <akkSL1nQ5UieqHNs@rhdev>
Hi Jennifer,
On 10:01 Sat 04 Jul , Jennifer Berringer wrote:
> On Thu, Jul 02, 2026 at 02:31:37AM +0000, Yixun Lan wrote:
> > Add UFS Host Controller support for SpacemiT K3 SoC, and enable
> > it both on both Pico-ITX and CoM260-IFX boards.
> >
> > Signed-off-by: Yixun Lan <dlan@kernel.org>
> > ---
> > arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts | 4 ++++
> > arch/riscv/boot/dts/spacemit/k3-pico-itx.dts | 4 ++++
> > arch/riscv/boot/dts/spacemit/k3.dtsi | 13 +++++++++++++
> > 3 files changed, 21 insertions(+)
> >
> > diff --git a/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts b/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
> > index 238bb03d0e9e..b37e1c7b03e3 100644
> > --- a/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
> > +++ b/arch/riscv/boot/dts/spacemit/k3-com260-ifx.dts
> > @@ -19,3 +19,7 @@ chosen {
> > stdout-path = "serial0:115200n8";
> > };
> > };
> > +
> > +&ufshc {
> > + status = "okay";
> > +};
>
> I believe k3-com260.dtsi would be a more fitting file for this change.
> UFS is soldered on the underside of the compute module and not part of
> the carrier board.
>
Right, I agree
> Because it is next to the microSD card slot, a picture showing both can
> be seen in section 5.12 (TF-Card Interface) of the PDF version of the K3
> CoM260 User Guide. That picture is notably not visible in the HTML
> version.
>
> https://www.spacemit.com/community/document/info?lang=en&nodepath=hardware/eco/k3_com260/com260_user_guide.md
>
> > diff --git a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
> > index b89c1521e664..f1560a5a9031 100644
> > --- a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
> > +++ b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
> > @@ -221,3 +221,7 @@ hub@1 {
> > &usb2_phy {
> > status = "okay";
> > };
> > +
> > +&ufshc {
> > + status = "okay";
> > +};
>
> Nit: if sorted by label, ufshc would be before usb2_host.
>
Right, will sort in next version
--
Yixun Lan (dlan)
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2026-07-08 2:17 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-02 2:31 [PATCH 0/3] Add UFS Host driver support for SpacemiT K3 SoC Yixun Lan
2026-07-02 2:31 ` Yixun Lan
2026-07-02 2:31 ` [PATCH 1/3] scsi: ufs: spacemit: dt-bindings: Add UFS controller for " Yixun Lan
2026-07-02 2:31 ` Yixun Lan
2026-07-02 2:38 ` sashiko-bot
2026-07-02 6:43 ` Yixun Lan
2026-07-02 2:31 ` [PATCH 2/3] scsi: ufs: spacemit: k3: Add UFS Host Controller driver Yixun Lan
2026-07-02 2:31 ` Yixun Lan
2026-07-02 2:46 ` sashiko-bot
2026-07-02 7:53 ` Philipp Zabel
2026-07-02 7:53 ` Philipp Zabel
2026-07-03 0:16 ` Yixun Lan
2026-07-03 0:16 ` Yixun Lan
2026-07-02 17:21 ` Yao Zi
2026-07-02 17:21 ` Yao Zi
2026-07-03 1:28 ` Yixun Lan
2026-07-03 1:28 ` Yixun Lan
2026-07-06 14:01 ` Bart Van Assche
2026-07-06 14:01 ` Bart Van Assche
2026-07-08 7:10 ` Yixun Lan
2026-07-08 7:10 ` Yixun Lan
2026-07-12 20:16 ` Anirudh Srinivasan
2026-07-12 20:16 ` Anirudh Srinivasan
2026-07-02 2:31 ` [PATCH 3/3] riscv: dts: spacemit: k3: Add UFS support Yixun Lan
2026-07-02 2:31 ` Yixun Lan
2026-07-02 2:44 ` sashiko-bot
2026-07-04 14:01 ` Jennifer Berringer
2026-07-04 14:01 ` Jennifer Berringer
2026-07-08 2:17 ` Yixun Lan [this message]
2026-07-08 2:17 ` Yixun Lan
2026-07-13 3:40 ` [PATCH 0/3] Add UFS Host driver support for SpacemiT K3 SoC Anirudh Srinivasan
2026-07-13 3:40 ` Anirudh Srinivasan
2026-07-13 12:37 ` Yixun Lan
2026-07-13 12:37 ` Yixun Lan
2026-07-13 14:56 ` Anirudh Srinivasan
2026-07-13 14:56 ` Anirudh Srinivasan
2026-07-13 23:57 ` Yixun Lan
2026-07-13 23:57 ` 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=20260708021752-GKI35811@kernel.org \
--to=dlan@kernel.org \
--cc=James.Bottomley@hansenpartnership.com \
--cc=alex@ghiti.fr \
--cc=alim.akhtar@samsung.com \
--cc=aou@eecs.berkeley.edu \
--cc=avri.altman@sandisk.com \
--cc=bvanassche@acm.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jberring@redhat.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=p.zabel@pengutronix.de \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=spacemit@lists.linux.dev \
/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.